Subject: Same derivation listed twice in the output of "guix build --dry-run"

From: Mark H Weaver <[email-masked]>
Date: Mon, 21 Dec 2020 04:10:13 -0500

I've just observed that the output of "guix build -n <derivation>" may
contain duplicates, as witnessed by the following shell transcript in
which "/gnu/store/c4wgkfsc209g954c56jdzy4wmn42688f-git-2.29.2.drv"
occurs twice in the list of derivations that would be built.

(This is my crude method of seeing how much remains to be built, as my
local build of the 'ungrafting' branch is currently in progress).

       Mark

--8<---------------cut here---------------start------------->8---
mhw@jojen ~$ guix build -n $(readlink .guix-gcroots/UNGRAFTING-profile-in-progress.drv)
The following derivations would be built:
   /gnu/store/93g8fcbj94r7j1ppllb6hwb00735nnpr-profile.drv
   /gnu/store/0fwhngq74psica4xsw75bm02zr544crn-youtube-dl-2020.12.12.drv
   /gnu/store/1k038cx4f5czv0m3mx5svb2hibgqj5g6-xrandr-1.5.1.drv
   /gnu/store/2ssbhgcjlqcm44gricgbsq81728a3shv-emacs-magit-2.90.1-6.7f486d4.drv
   /gnu/store/c4wgkfsc209g954c56jdzy4wmn42688f-git-2.29.2.drv
   /gnu/store/zi7nvwndscq24x9b166d1g1v65l61yaa-subversion-1.14.0.drv
   /gnu/store/4l137g01xh3isn3ipm3hd0q4xdqxz4d6-mpv-0.33.0.drv
   /gnu/store/xk5b34867smr6yrlmyvdnw4ckvyw5b4n-vulkan-loader-1.2.148.drv
   /gnu/store/6gg2d0macbffqmmqbsxzqi1szq960b9w-gst-plugins-good-1.18.1.drv
   /gnu/store/6j5pmphv2wmb8hyib8hy5f4sg8xwr175-taglib-1.12-beta-1.drv
   /gnu/store/wc36xcakbgdbnd8qp52vwvjl7rlp3xb3-v4l-utils-1.16.6.drv
   /gnu/store/6k5agc0jgh26br10kwgnxgk4vhsnmk69-zathura-0.4.7.drv
   /gnu/store/8069zdj7i5ks6n6al8lawqmiqq25xqs8-wterm-0.7.drv
   /gnu/store/9hx39bgcb3b68i7kgkafh6camaxlpq6b-vorbis-tools-1.4.0.drv
   /gnu/store/c4wgkfsc209g954c56jdzy4wmn42688f-git-2.29.2.drv
   /gnu/store/dl1gyl03406k71w7r4789d6bfc4f7q48-wget-1.20.3.drv
   /gnu/store/fb0a8nkch1jl16vkplflcxklmwhms9sk-xsetroot-1.1.2.drv
   /gnu/store/kfnwnp04jl2pmnq09n4anqsyyd7xn38h-transmission-3.00.drv
   /gnu/store/mylly55ijs2jxmqzp6p0ys7vdvljs5kf-units-2.21.drv
   /gnu/store/nc5wjsyg18p7f89fjmf22k6l1z5f4kh3-zathura-ps-0.2.6.drv
   /gnu/store/p8aw5qzaknga762fbjkrpic45i2qnv1j-openssh-8.4p1.drv
   /gnu/store/ha891q25qbksm2rgc6m152bn43nxbcp1-xauth-1.1.drv
   /gnu/store/q7c92xp3n7px3wc5f8yh72nhg10f2mfp-notmuch-0.31.2.drv
   /gnu/store/2nq0a627cd0ygjpsjgiahvch081wasxw-talloc-2.3.1.drv
   /gnu/store/rmymfld6k1yagq80s3bjm0znmsc9kgzw-gajim-1.1.3.drv
   /gnu/store/lsgfqqkfj4z1zbg99ym53zp6p32p3f2h-enchant-2.2.13.drv
   /gnu/store/7lmwh5v3ld0nc3f37hcnmfnyh6h88xnm-unittest-cpp-2.0.0.drv
   /gnu/store/lzs3wmj2zis78c83v33qijidk4fahgnp-gtkspell3-3.0.10.drv
   /gnu/store/qsbv0r11mq47badlqj322b0a5xiwpr74-gnome-keyring-3.34.0.drv
   /gnu/store/sp8wiazpdbqnyjf9vdg8m4qpi7i1nga7-i3-wm-4.18.3.drv
   /gnu/store/79lc6kwvimpbyya8vgff3hcyychc0zn3-xcb-util-cursor-0.1.3.drv
   /gnu/store/k5p8ryjddplpk7xb6g6fckvizlkw410c-xcb-util-xrm-1.3.drv
   /gnu/store/vqni7fg9i4b7vsyld9scmg4p2v19j06i-xorg-server-xwayland-1.20.10.drv
   /gnu/store/yb5x2s2iamnzabxc383y15bysirrq2hn-sway-1.5.1.drv
   /gnu/store/43q81l7bmcdzqf42fradbp17bi9anrdq-xcb-util-errors-1.0-1.5d660eb.drv
   /gnu/store/5w45zfs3c6mwhraqcwd39z7cykh8jy7d-swaybg-1.0.drv
   /gnu/store/w0sa0lk2n7cpcl337mpw8sb5bz5jxhai-wlroots-0.12.0.drv
   /gnu/store/yb735cgrb617nqy4jfzgbza768i3f6sg-zathura-pdf-mupdf-0.3.6.drv
   /gnu/store/zrs5sz0ncrmkg8vz5rqdm3z2vi6a73bw-termite-15.drv
   /gnu/store/6m53dhbc7qgmhlsj510zi1f4zaswdxby-vte-ng-0.58.2.a.drv
The following profile hooks would be built:
   /gnu/store/49hbif4dmfyqrni1a5qn6fjkvpvwhx05-xdg-mime-database.drv
   /gnu/store/fp3m217x5y3s8gba84ckalzjwlzfiypy-ca-certificate-bundle.drv
   /gnu/store/havqnghqv9qvggxbc6gs1kapnpn7a3bq-info-dir.drv
   /gnu/store/jhd48khzr3sdnqs0pyass84izvz02hsv-gtk-im-modules.drv
   /gnu/store/kh0qfgpc24708nvc0aixjl2wyxf4yfnl-xdg-desktop-database.drv
   /gnu/store/l33bg9yk2cmq9dg1fb0zgm6h8i0mr6gy-gtk-icon-themes.drv
   /gnu/store/lrj7km148nxvwdka2mx0zx6940a1q01n-glib-schemas.drv
   /gnu/store/sc9w9vc6445zvzfv4prshl5wfpld23hw-manual-database.drv
   /gnu/store/zbdrg5g7q1kf569q682ky36s97jsikdv-fonts-dir.drv
mhw@jojen ~$ readlink .guix-gcroots/UNGRAFTING-profile-in-progress.drv
/gnu/store/93g8fcbj94r7j1ppllb6hwb00735nnpr-profile.drv
mhw@jojen ~$ cat $(readlink .guix-gcroots/UNGRAFTING-profile-in-progress.drv); echo
mhw@jojen ~$ 
--8<---------------cut here---------------end--------------->8---