direnv: fix missing BASH_PATH (#89165)
This was broken by the switch to go modules (#87932) which doesn't respect makeFlags. Fixes #89129
This commit is contained in:
parent
7172514b72
commit
bc3b694a39
|
@ -14,9 +14,14 @@ buildGoModule rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
# we have no bash at the moment for windows
|
# we have no bash at the moment for windows
|
||||||
makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isWindows) [
|
BASH_PATH =
|
||||||
"BASH_PATH=${bash}/bin/bash"
|
stdenv.lib.optionalString (!stdenv.hostPlatform.isWindows)
|
||||||
];
|
"${bash}/bin/bash";
|
||||||
|
|
||||||
|
# replace the build phase to use the GNUMakefile instead
|
||||||
|
buildPhase = ''
|
||||||
|
make BASH_PATH=$BASH_PATH
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install DESTDIR=$out
|
make install DESTDIR=$out
|
||||||
|
|
Loading…
Reference in New Issue
Block a user