gnupg: add gnupg2 alias/symlink for 2.2. Otherwise signing commits with git break.
(cherry picked from commit c651a0ccbf5b17739390b56f91b656a7b920f643)
This commit is contained in:
parent
08a3d80222
commit
5dcf5d6d05
@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
|
|||||||
substitute $f $out/lib/systemd/user/$(basename $f) \
|
substitute $f $out/lib/systemd/user/$(basename $f) \
|
||||||
--replace /usr/bin $out/bin
|
--replace /usr/bin $out/bin
|
||||||
done
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user