Merge pull request #30714 from phunehehe/git-crypt-path

git-crypt: add runtime dependencies to PATH
This commit is contained in:
Graham Christensen 2017-10-23 07:12:43 -04:00 committed by GitHub
commit 346dcfdcf0

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, openssl, gnupg1compat, makeWrapper }: { fetchFromGitHub, git, gnupg1compat, makeWrapper, openssl, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
make install PREFIX=$out make install PREFIX=$out
wrapProgram $out/bin/* --prefix PATH : ${gnupg1compat}/bin wrapProgram $out/bin/* --prefix PATH : $out/bin:${git}/bin:${gnupg1compat}/bin
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {