mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break.
This commit is contained in:
parent
fbe46c7a24
commit
c651a0ccbf
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue