git.iko.soy/typeable/nixpkgs
on master help sign in
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; }' ```

commitf7cd362ae495365251c1ad48fdced79c68920fa4 authorCharles Duffy <charles@dyfis.net> dateSat 6 Oct 2018, 12:21 (8 years ago) parent9a5f7b1
1 file changed+2−1
pkgs/tools/security/gnupg/20.nix+2−1
pkgs/tools/security/gnupg/20.nix+2−1
@@ -12,7 +12,8 @@ with stdenv.lib;
1212assert guiSupport -> pinentry != null;
1313
1414stdenv.mkDerivation rec {
15− name = "gnupg-2.0.30";
15+ name = "gnupg-${version}";
16+ version = "2.0.30";
1617
1718 src = fetchurl {
1819 url = "mirror://gnupg/gnupg/${name}.tar.bz2";