Subject: bug#30952: Grafting sometimes include all the outputs of a package

From: Ludovic Courtès <[email-masked]>
Date: Mon, 16 Jun 2025 15:19:44 +0200

Hi Simon,

Simon Tournier <[email-masked]> writes:

> What is the status of this old bug
>
>     https://issues.guix.gnu.org/issue/30952

I’m afraid the problem still exists, after all these years:

--8<---------------cut here---------------start------------->8---
$ guix gc -R $(readlink -f /run/current-system) |grep network-manager-1
/gnu/store/vp1nbd5lxf3gv76c4iswz8j1m1w1cz1n-network-manager-1.52.0
/gnu/store/a53c943yziixmd9xakrnmbhv2q3ysm7g-network-manager-1.52.0
$ guix system describe
Generation 350  juin 16 2025 08:44:09   (current)
  file name: /var/guix/profiles/system-350-link
  canonical file name: /gnu/store/yz698bi3lzngwnlf1qynw2n06zmyp9zr-system
  label: GNU with Linux-Libre 6.14.11
  bootloader: grub-efi
  root device: label: "root"
  kernel: /gnu/store/awmrxyh7i8phaqniwgmj7v4haxk8g9p2-linux-libre-6.14.11/bzImage
  channels:
    shepherd:
      repository URL: https://codeberg.org/shepherd/shepherd.git
      branch: main
      commit: a451bdfb30bbe5d9a0f0bb57bdc44301001a6deb
    guile:
      repository URL: https://git.savannah.gnu.org/git/guile.git
      branch: main
      commit: af0123c8b975d0efd7952f2f3ddb67213aabee31
    guix:
      repository URL: https://git.guix.gnu.org/guix.git
      branch: master
      commit: 035bacebc21c263541b160bcdc27dc5ed36af551
  configuration file: /gnu/store/gg27vbm73571s5ks12rrri9id11fkj5r-configuration.scm
$ guix gc -R $(readlink -f /run/current-system) |grep network-manager-1
/gnu/store/vp1nbd5lxf3gv76c4iswz8j1m1w1cz1n-network-manager-1.52.0
/gnu/store/a53c943yziixmd9xakrnmbhv2q3ysm7g-network-manager-1.52.0
$ guix gc --derivers /gnu/store/vp1nbd5lxf3gv76c4iswz8j1m1w1cz1n-network-manager-1.52.0
/gnu/store/i2nrmi2a21lza1vzapva2fbks7c86b1j-network-manager-1.52.0.drv
$ guix gc --derivers /gnu/store/a53c943yziixmd9xakrnmbhv2q3ysm7g-network-manager-1.52.0
/gnu/store/17x6jch6y433jy6la6fsadq4wwvhywzn-network-manager-1.52.0.drv
$ head -c70 /gnu/store/i2nrmi2a21lza1vzapva2fbks7c86b1j-network-manager-1.52.0.drv
Derive([("out","/gnu/store/vp1nbd5lxf3gv76c4iswz8j1m1w1cz1n-network-ma$ 
$ head -c70 /gnu/store/17x6jch6y433jy6la6fsadq4wwvhywzn-network-manager-1.52.0.drv
Derive([("doc","/gnu/store/g47v5izlnc514ljwl0254lbac7q4ynwp-network-ma$ 
--8<---------------cut here---------------end--------------->8---

Ludo’.