summaryrefslogtreecommitdiff
blob: 486a05bb59591e7e06869d65d1216ba2a504d8df (plain)
1
2
3
4
5
6
7
8
9
10
On gentoo 'id' is /usr/bin/id while @coreutils@ is /bin.
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
index a5f5227..1dc5379 100644
--- a/scripts/nix-profile.sh.in
+++ b/scripts/nix-profile.sh.in
@@ -2,3 +2,3 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
     __savedpath="$PATH"
-    export PATH=@coreutils@
+    export PATH=@coreutils@:@prefix@/bin:@prefix@/../bin