Skip to content

Commit

Permalink
git-crypt: patch don't hard code path to git-crypt
Browse files Browse the repository at this point in the history
Fix #30034
  • Loading branch information
bricewge committed Oct 2, 2017
1 parent 6dc9d21 commit dbb8958
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -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
Expand Down

0 comments on commit dbb8958

Please sign in to comment.