Hi Liliana. On Wed, 16 Mar 2022 at 09:02, Liliana Marie Prikler <liliana.prik...@ist.tugraz.at> wrote:
> --8<---------------cut here---------------start------------->8--- > $ ldd $GUIX_ENVIRONMENT/bin/.emacs-27.2-real | grep lzma > liblzma.so.5 => > /gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib/liblzma.so.5 > (0x00007f7919fee000) > --8<---------------cut here---------------end--------------->8--- > > where xz is one of those magic libraries you'd expect to exist in any > distro. However, > > --8<---------------cut here---------------start------------->8--- > $ guix show emacs | recsel -p dependencies > dependencies: acl@2.3.1 alsa-lib@1.2.4 cairo@1.16.0 coreutils@8.32 > + dbus@1.12.20 ghostscript@9.54.0 giflib@5.2.1 gmp@6.2.1 gnutls@3.7.2 > gpm@1.20.7 > + gtk+@3.24.30 gzip@1.10 harfbuzz@2.8.2 jansson@2.13.1 libice@1.0.10 > + libjpeg-turbo@2.0.5 libotf@0.9.16 libpng@1.6.37 librsvg@2.50.7 libsm@1.2.3 > + libtiff@4.3.0 libx11@1.7.3.1 libxft@2.3.3 libxml2@2.9.12 libxpm@3.5.13 > + m17n-lib@1.8.0 mailutils@3.14 ncurses@6.2.20210619 pango@1.48.10 > + pkg-config@0.29.2 poppler@21.07.0 texinfo@6.7 zlib@1.2.11 > --8<---------------cut here---------------end--------------->8--- > > If at all, xz is included as implicit input to unpack Emacs! We should > probably add it as explicit input instead. --8<---------------cut here---------------start------------->8--- $ guix graph --path emacs xz emacs@27.2 libxml2@2.9.12 xz@5.2.5 --8<---------------cut here---------------end--------------->8--- Note that --8<---------------cut here---------------start------------->8--- (source (origin (method url-fetch) (uri (string-append "mirror://gnu/emacs/emacs-" version ".tar.xz")) --8<---------------cut here---------------end--------------->8--- but I do not see ’xz’ in the implicit inputs; only emacs-minimal. Quick look, maybe I miss it. Well, indeed, something seems unexpected if the Emacs binary is linked to liblzma and this liblzma is not an explicit inputs but instead comes from a reference to another inputs. Cheers, simon