guix-mirrors/nix/libstore
Ludovic Courtès 550ca89744
daemon: Bind-mount all the inputs, not just directories.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Add all of
‘inputPaths’ to ‘dirsInChroot’ instead of hard-linking regular files.
Special-case symlinks.
(DerivationGoal)[regularInputPaths]: Remove.

Reported-by: Reepca Russelstein <reepca@russelstein.xyz>
Change-Id: I070987f92d73f187f7826a975bee9ee309d67f56
2025-03-26 17:57:43 +01:00
..
.gitignore
build.cc daemon: Bind-mount all the inputs, not just directories. 2025-03-26 17:57:43 +01:00
builtins.cc daemon: Add “git-download” built-in builder. 2023-09-26 17:36:58 +02:00
builtins.hh
derivations.cc
derivations.hh
gc.cc Revert "nix: Guard against removing temporary roots of living processes." 2022-10-17 09:37:27 +02:00
globals.cc daemon: Change default ‘timeout’ and ‘max-silent-time’ values. 2024-01-05 17:27:21 +01:00
globals.hh
local-store.cc
local-store.hh
misc.cc daemon: Remove unused function findOutput. 2022-09-11 16:43:30 +02:00
misc.hh daemon: Remove unused function findOutput. 2022-09-11 16:43:30 +02:00
optimise-store.cc
pathlocks.cc
pathlocks.hh
references.cc
references.hh
sqlite.cc
sqlite.hh daemon: Fix build with GCC 13. 2023-09-09 18:47:35 +02:00
store-api.cc daemon: Improve error message in ‘checkStoreName’. 2024-11-17 23:15:49 +01:00
store-api.hh
worker-protocol.hh daemon: Implement ‘substitute-urls’ RPC. 2023-12-11 23:18:53 +01:00