diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-26 09:09:18 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-04-03 17:06:09 +0200 |
commit | fe538efe61b1dc4eaea00d79a19a93fe21ead654 (patch) | |
tree | d6e40a1607e4140dfe0d48923a93a132b285d6eb /pkgs/tools/security/hash-slinger | |
parent | 7368564f99e34b91a673274d8de0362cccc3f592 (diff) |
hash-slinger: stay with python2
Seems hard to check whether this one will work with python3.
Diffstat (limited to 'pkgs/tools/security/hash-slinger')
-rw-r--r-- | pkgs/tools/security/hash-slinger/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/hash-slinger/default.nix b/pkgs/tools/security/hash-slinger/default.nix index b8759d3571b5e..ee06c112481b7 100644 --- a/pkgs/tools/security/hash-slinger/default.nix +++ b/pkgs/tools/security/hash-slinger/default.nix @@ -1,7 +1,7 @@ -{ lib, stdenv, fetchFromGitHub, pythonPackages, unbound, libreswan }: +{ lib, stdenv, fetchFromGitHub, python2Packages, unbound, libreswan }: let - inherit (pythonPackages) python; + pythonPackages = python2Packages; in stdenv.mkDerivation rec { pname = "hash-slinger"; version = "2.7"; @@ -31,7 +31,7 @@ in stdenv.mkDerivation rec { ''; installPhase = '' - mkdir -p $out/bin $out/man $out/${python.sitePackages}/ + mkdir -p $out/bin $out/man $out/${pythonPackages.python.sitePackages}/ make install wrapPythonPrograms ''; |