gnupg: 2.1.22 -> 2.1.23
This release in a RC for gnupg-2.2. The main difference as far as nixpkgs is concerned is that the binary `gpg2` is now called `gpg` and `gpgv2` is called `gpgv`. This update fixed all explicit use of `gpg2` and `gpgv2` across nixpkgs, but there might be some packaged software that internally use `gpg2` not handeled by this commit. See http://lists.gnu.org/archive/html/info-gnu/2017-08/msg00001.html for full release information
This commit is contained in:
committed by
Robin Gloster
parent
d8f08bb088
commit
e34ce9d1c5
@@ -48,11 +48,11 @@ stdenv.mkDerivation rec {
|
||||
find test -type f -exec \
|
||||
sed -i \
|
||||
-e "1s|#!/usr/bin/env bash|#!${bash}/bin/bash|" \
|
||||
-e "s|gpg |${gnupg}/bin/gpg2 |" \
|
||||
-e "s| gpg| ${gnupg}/bin/gpg2|" \
|
||||
-e "s|gpg |${gnupg}/bin/gpg |" \
|
||||
-e "s| gpg| ${gnupg}/bin/gpg|" \
|
||||
-e "s|gpgsm |${gnupg}/bin/gpgsm |" \
|
||||
-e "s| gpgsm| ${gnupg}/bin/gpgsm|" \
|
||||
-e "s|crypto.gpg_path=gpg|crypto.gpg_path=${gnupg}/bin/gpg2|" \
|
||||
-e "s|crypto.gpg_path=gpg|crypto.gpg_path=${gnupg}/bin/gpg|" \
|
||||
"{}" ";"
|
||||
|
||||
for src in \
|
||||
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
emacs/notmuch-crypto.el
|
||||
do
|
||||
substituteInPlace "$src" \
|
||||
--replace \"gpg\" \"${gnupg}/bin/gpg2\"
|
||||
--replace \"gpg\" \"${gnupg}/bin/gpg\"
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user