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; }' ```
This commit is contained in:
parent
9a5f7b1630
commit
f7cd362ae4
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user