Subject: bug#23855: --no-substitutes still triggers update to list of substitutes

From: Troy Sankey <[email-masked]>
Date: Tue, 28 Jun 2016 17:03:39 -0400

On 2016-06-28 08:33:39 -0400, ludo wrote:
> Commit 151afd84dc9bf8f13de79a689f7f163fba7254ec (May 31st) fixed
> something in this area.  However, the change is in ‘guix-daemon’, so you
> need to build and install ‘guix-daemon’ to take advantage of it (the
> current ‘guix’ package with version 0.10.0-0.e901 is older than this
> change.)
> 
> HTH,
> Ludo’.

I can confirm that a checkout of commit
151afd84dc9bf8f13de79a689f7f163fba7254ec (guix-0.10.0-0.151a on my system) does
not contain the bug.

  $ guix package --dry-run --no-substitutes -i hello
  Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz
  From http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz...
  [...]
  
  $ ps aux | grep guix-daemon | grep -v grep
  root     24479  0.0  0.2   6436  3688 ?        Ss   16:19   0:00 /gnu/store/bkwyj6ab66hi1rr1sgh81hi6wx98mnab-guix-0.10.0-0.151a/bin/guix-daemon --build-users-group=guixbuild
  
  $ ls -l `which guix`
  lrwxrwxrwx 2 root guixbuild 71 Dec 31  1969 /home/sankey/.guix-profile/bin/guix -> /gnu/store/bkwyj6ab66hi1rr1sgh81hi6wx98mnab-guix-0.10.0-0.151a/bin/guix

Thanks, there is no bug to fix here!

Troy