1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break.

(cherry picked from commit c651a0ccbf)
This commit is contained in:
Rob Vermaas 2017-09-10 09:10:24 +00:00
parent 08a3d80222
commit 5dcf5d6d05
No known key found for this signature in database
GPG key ID: E114A5F264A8AE8E

View file

@ -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; {