Subject: Re: bug#42173: Nix on Guix System: can't update channels

From: Ludovic Courtès <[email-masked]>
Date: Thu, 16 Jul 2020 12:12:02 +0200

Hi,

(+Cc: Oleg, who worked on the Nix service.)

Zhu Zihao via web <[email-masked]> skribis:

> I found that if I put "sandbox = false" to /etc/nix/nix.conf. Nix can update channel. Maybe nix's sandbox forget to import some guix binary path?

Yes, probably.  There’s probably an option similar to the
‘--chroot-directory’ of ‘guix-daemon’ to specify additional directories
that must be in the “sandbox”.

If you find that option, then we can arrange and add all the
dependencies of /gnu/store/…/bin/bash there (similar to what
‘qemu-binfmt-service-type’ does).

However, it’d still be good to find where that /gnu/store/…/bin/bash
file name is captured.

Thanks,
Ludo’.