mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/nix: remove unused patch
This commit is contained in:
committed by
Sergei Trofimovich
parent
48f201e413
commit
bacb85aabf
@@ -1,11 +0,0 @@
|
||||
By default created symlink poins to a directory not accessible by user.
|
||||
Make a symlink the same way NixOS does symlinking.
|
||||
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
|
||||
index 672d1f0..e3b0978 100644
|
||||
--- a/scripts/nix-profile.sh.in
|
||||
+++ b/scripts/nix-profile.sh.in
|
||||
@@ -6,3 +6,3 @@ if [ -n "$HOME" ]; then
|
||||
echo "creating $NIX_LINK" >&2
|
||||
- _NIX_DEF_LINK=@localstatedir@/nix/profiles/default
|
||||
+ _NIX_DEF_LINK=@localstatedir@/nix/profiles/per-user/$USER/profile
|
||||
@coreutils@/ln -s "$_NIX_DEF_LINK" "$NIX_LINK"
|
||||
Reference in New Issue
Block a user