mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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 ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace commands.cpp \
|
||||
--replace '(escape_shell_arg(our_exe_path()))' '= "git-crypt"'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out
|
||||
wrapProgram $out/bin/* --prefix PATH : ${gnupg1compat}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user