diff options
author | Charles Duffy <charles@dyfis.net> | 2018-10-06 12:21:05 -0500 |
---|---|---|
committer | Charles Duffy <charles@dyfis.net> | 2018-10-06 12:21:05 -0500 |
commit | f7cd362ae495365251c1ad48fdced79c68920fa4 (patch) | |
tree | d72cc99f1425db999abcddf691e4b03cb9a2cfd8 | |
parent | 9a5f7b1630c138a82cb9ae0d6a513c4358c1dc10 (diff) | |
download | nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar.gz nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar.bz2 nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar.lz nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar.xz nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.tar.zst nixlib-f7cd362ae495365251c1ad48fdced79c68920fa4.zip |
gnupg20: set version variable to fix gnupg1compat
Presently, gnupg1compat only works with gnupg22. Without this change, the error ``` error: attribute 'version' missing, at .../nixpkgs/pkgs/tools/security/gnupg/1compat.nix:4:26 ``` is emitted when evaluating ``` pkgs.gnupg1compat.override { gnupg = pkgs.gnupg20; }' ```
-rw-r--r-- | pkgs/tools/security/gnupg/20.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/gnupg/20.nix b/pkgs/tools/security/gnupg/20.nix index 9404cb1d0655..6ae2bbc436ed 100644 --- a/pkgs/tools/security/gnupg/20.nix +++ b/pkgs/tools/security/gnupg/20.nix @@ -12,7 +12,8 @@ with stdenv.lib; assert guiSupport -> pinentry != null; stdenv.mkDerivation rec { - name = "gnupg-2.0.30"; + name = "gnupg-${version}"; + version = "2.0.30"; src = fetchurl { url = "mirror://gnupg/gnupg/${name}.tar.bz2"; |