Skip to content

Commit

Permalink
gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits wi…
Browse files Browse the repository at this point in the history
…th git break.
  • Loading branch information
rbvermaa committed Sep 10, 2017
1 parent fbe46c7 commit c651a0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/security/gnupg/22.nix
Expand Up @@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
substitute $f $out/lib/systemd/user/$(basename $f) \
--replace /usr/bin $out/bin
done
# add gpg2 symlink to make sure git does not break when signing commits
ln -s $out/bin/gpg $out/bin/gpg2
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit c651a0c

Please sign in to comment.