Skip to content

Commit 30e191f

Browse files
authored
[nix] Add additional source path (#711)
## Summary This should not be needed, but nice to have until nix fixes bad nix link. ## How was it tested? Tested in devbox cloud, but it didn't completely work because `.nix-profile` sym link was broken.
1 parent 2b4482e commit 30e191f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/nix/source.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ func nixLinks() []string {
2020
filepath.Join(os.Getenv("HOME"), ".nix-profile/etc/profile.d/nix.sh"),
2121
// logic introduced in https://github.com/NixOS/nix/pull/5588/files
2222
xdg.StateSubpath("nix/profile/etc/profile.d/nix.sh"),
23+
xdg.StateSubpath("nix/profiles/profile/etc/profile.d/nix.sh"),
2324
}
2425
}
2526

0 commit comments

Comments
 (0)