1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/src
Théophane Hufschmitt ccb9779b96 Fix permission denied when building symlink derivation which points to a symlink out of the store
Bind-mounting symlinks is apparently not possible, which is why the
thing was failing.

Fortunately, symlinks are small, so we can fallback to copy them at no cost.

Fix https://github.com/NixOS/nix/issues/9579

Co-authored-by: Artturin <Artturin@artturin.com>
(cherry picked from commit 913db9f738)
2024-04-11 12:19:07 +00:00
..
build-remote Factor out Machine::systemSupported 2024-01-23 12:53:51 -05:00
libcmd fetchToStore(): Don't always respect settings.readOnlyMode 2024-02-20 11:08:06 +00:00
libexpr builtins.addDrvOutputDependencies: fix commentary 2024-03-29 10:56:46 +00:00
libfetchers GitHub fetcher: Ignore treeHash attribute for forward compatibility 2024-03-08 16:02:01 +01:00
libmain Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libstore Fix permission denied when building symlink derivation which points to a symlink out of the store 2024-04-11 12:19:07 +00:00
libutil Copy the output of fixed-output derivations before registering them 2024-03-07 09:38:51 +01:00
nix path-info: print correct path when using nix path-info --store file://... --all --json 2024-04-10 17:37:36 +00:00
nix-build DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env Handle the case where a parent of ~/.nix-defexpr is a symlink 2024-04-03 16:24:03 +00:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Factor our ServeProto::BasicServerConnection::handshake 2024-01-22 12:43:11 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00