Merge pull request #30041 from bricewge/patch-2
git-crypt: patch don't hard code path to git-crypt
This commit is contained in:
commit
1ad383fa7f
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ openssl makeWrapper ];
|
buildInputs = [ openssl makeWrapper ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace commands.cpp \
|
||||||
|
--replace '(escape_shell_arg(our_exe_path()))' '= "git-crypt"'
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install PREFIX=$out
|
make install PREFIX=$out
|
||||||
wrapProgram $out/bin/* --prefix PATH : ${gnupg1compat}/bin
|
wrapProgram $out/bin/* --prefix PATH : ${gnupg1compat}/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user