diff options
author | 2018-02-22 22:12:06 +0000 | |
---|---|---|
committer | 2018-02-22 22:53:10 +0000 | |
commit | a4eac509af375f8c67e219415b3281c3a457678f (patch) | |
tree | d58bd70d6914bf9ac6b50b232100ca6cb63f17fc /sys-apps/nix/files/nix-2.0-user-path.patch | |
parent | www-misc/zoneminder: Remove old (diff) | |
download | gentoo-a4eac509af375f8c67e219415b3281c3a457678f.tar.gz gentoo-a4eac509af375f8c67e219415b3281c3a457678f.tar.bz2 gentoo-a4eac509af375f8c67e219415b3281c3a457678f.zip |
sys-apps/nix: bump up to 2.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-apps/nix/files/nix-2.0-user-path.patch')
-rw-r--r-- | sys-apps/nix/files/nix-2.0-user-path.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/nix/files/nix-2.0-user-path.patch b/sys-apps/nix/files/nix-2.0-user-path.patch new file mode 100644 index 000000000000..486a05bb5959 --- /dev/null +++ b/sys-apps/nix/files/nix-2.0-user-path.patch @@ -0,0 +1,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 + |