Merge pull request #113679 from adisbladis/nix-direnv-paths
nix-direnv: Fix nix executable paths
This commit is contained in:
commit
d45d19aa13
@ -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…
Reference in New Issue
Block a user