[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42173: Nix on Guix System: can't update channels
From: |
Ludovic Courtès |
Subject: |
bug#42173: Nix on Guix System: can't update channels |
Date: |
Wed, 22 Jul 2020 12:09:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> Oleg Pykhalov <go.wigust@gmail.com> writes:
>
> […]
>
>> Currently I don't see a way to mount
>> /gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32
>> dependencies (and other packages) inside the Nix sandbox.
>
> Found one way:
>
> (with-output-to-file "/etc/nix/nix.conf"
> (lambda _
> (display "sandbox = true")
> (newline)
> (format #t "build-sandbox-paths = ~{~a ~}~%"
> '#$(package-closure (map (match-lambda ((name package) package))
> (package-inputs nix))))))
That’s inaccurate: ‘package-closure’ does not capture non-package
inputs, and it’s the set of build-time dependencies, not references.
Using #:references-graphs solves that problem because it gives you
precisely the closure of each package, as returned by ‘guix gc -R’.
HTH!
Ludo’.
- bug#42173: Nix on Guix System: can't update channels, Alexandru-Sergiu Marton, 2020/07/03
- bug#42173: Nix on Guix System: can't update channels, Ludovic Courtès, 2020/07/13
- bug#42173: Nix on Guix System: can't update channels, Zhu Zihao via web, 2020/07/15
- bug#42173: Nix on Guix System: can't update channels, Ludovic Courtès, 2020/07/16
- bug#42173: Nix on Guix System: can't update channels, Ludovic Courtès, 2020/07/21
- bug#42173: [PATCH 1/2] services: base: Export references-file., Oleg Pykhalov, 2020/07/22
- bug#42173: [PATCH 2/2] services: nix: Fix sandbox., Oleg Pykhalov, 2020/07/22
- bug#42173: [PATCH 2/2] services: nix: Fix sandbox., Ludovic Courtès, 2020/07/22
- bug#42173: [PATCH 2/2] services: nix: Fix sandbox., Oleg Pykhalov, 2020/07/22
bug#42173: Nix on Guix System: can't update channels, Zhu Zihao via web, 2020/07/21