1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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:
Charles Duffy 2018-10-06 12:21:05 -05:00
parent 9a5f7b1630
commit f7cd362ae4
No known key found for this signature in database
GPG key ID: 551385576326AAC1

View file

@ -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";