File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
doc/manual/source/package-management Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
fetch-depth : 0
16
16
- uses : cachix/install-nix-action@v31
17
+ with :
18
+ install_url : " https://releases.nixos.org/nix/nix-2.29.1/install"
17
19
- run : nix --experimental-features 'nix-command flakes' flake show --all-systems --json
18
20
19
21
tests :
36
38
fetch-depth : 0
37
39
- uses : cachix/install-nix-action@v31
38
40
with :
41
+ install_url : " https://releases.nixos.org/nix/nix-2.29.1/install"
39
42
# The sandbox would otherwise be disabled by default on Darwin
40
43
extra_nix_config : |
41
44
sandbox = true
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ $ ln -s /nix/store/d718ef...-foo /nix/var/nix/gcroots/bar
12
12
That is, after this command, the garbage collector will not remove
13
13
` /nix/store/d718ef...-foo ` or any of its dependencies.
14
14
15
- Subdirectories of ` prefix/nix/var/nix/gcroots ` are also searched for
16
- symlinks . Symlinks to non- store paths are followed and searched for
17
- roots, but symlinks to non-store paths * inside * the paths reached in
18
- that way are not followed to prevent infinite recursion .
15
+ Subdirectories of ` prefix/nix/var/nix/gcroots ` are searched
16
+ recursively . Symlinks to store paths count as roots. Symlinks to
17
+ non-store paths are ignored, unless the non-store path is itself a
18
+ symlink to a store path .
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ bool useBuildUsers()
197
197
#ifdef __linux__
198
198
static bool b = (settings.buildUsersGroup != " " || settings.autoAllocateUids ) && isRootUser ();
199
199
return b;
200
- #elif defined(__APPLE__) && defined(__FreeBSD__)
200
+ #elif defined(__APPLE__) || defined(__FreeBSD__)
201
201
static bool b = settings.buildUsersGroup != " " && isRootUser ();
202
202
return b;
203
203
#else
You can’t perform that action at this time.
0 commit comments