nix-direnv: Fix nix executable paths
Match the upstream change in:
991ea66bb8
This commit is contained in:
parent
ad4db3f4d8
commit
349b8cfd36
@ -15,9 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
# getting sourced, not executed:
|
# getting sourced, not executed:
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace direnvrc \
|
substituteInPlace direnvrc \
|
||||||
--replace "grep" "${gnugrep}/bin/grep" \
|
--replace "\''${NIX_BIN_PREFIX:-}" "\''${NIX_BIN_PREFIX:-${nix}/bin/}" \
|
||||||
--replace "nix-shell" "${nix}/bin/nix-shell" \
|
--replace "grep" "${gnugrep}/bin/grep"
|
||||||
--replace "nix-instantiate" "${nix}/bin/nix-instantiate"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user