Skip to content

Commit c651a0c

Browse files
committedSep 10, 2017
gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break.
1 parent fbe46c7 commit c651a0c

File tree

1 file changed

+3
-0
lines changed
  • pkgs/tools/security/gnupg

1 file changed

+3
-0
lines changed
 

Diff for: ‎pkgs/tools/security/gnupg/22.nix

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
4545
substitute $f $out/lib/systemd/user/$(basename $f) \
4646
--replace /usr/bin $out/bin
4747
done
48+
49+
# add gpg2 symlink to make sure git does not break when signing commits
50+
ln -s $out/bin/gpg $out/bin/gpg2
4851
'';
4952

5053
meta = with stdenv.lib; {

0 commit comments

Comments
 (0)
Please sign in to comment.