diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-11-09 11:09:00 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-11-24 22:28:02 +0100 |
commit | e84b9e2b209c9447853dfa6c0bfaada8474ed982 (patch) | |
tree | 28a52a2ee245152b213f311496337b9e0b441f19 /pkgs/development/tools | |
parent | 051dfa55f7f7ea53950843fce03fa3d9bcdb9989 (diff) | |
download | nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar.gz nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar.bz2 nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar.lz nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar.xz nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.tar.zst nixpkgs-e84b9e2b209c9447853dfa6c0bfaada8474ed982.zip |
asn2quickder: use python2
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/asn2quickder/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/asn2quickder/default.nix b/pkgs/development/tools/asn2quickder/default.nix index 69051714ab4..812053902a5 100644 --- a/pkgs/development/tools/asn2quickder/default.nix +++ b/pkgs/development/tools/asn2quickder/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper }: +{ stdenv, fetchFromGitHub, python2Packages, makeWrapper }: stdenv.mkDerivation rec { pname = "asn2quickder"; @@ -12,15 +12,15 @@ stdenv.mkDerivation rec { repo = "${pname}"; }; - propagatedBuildInputs = with pythonPackages; [ pyparsing makeWrapper ]; + propagatedBuildInputs = with python2Packages; [ pyparsing makeWrapper ]; - patchPhase = with pythonPackages; '' + patchPhase = with python2Packages; '' substituteInPlace Makefile \ - --replace '..' '..:$(DESTDIR)/${python.sitePackages}:${pythonPackages.pyparsing}/${python.sitePackages}' \ + --replace '..' '..:$(DESTDIR)/${python.sitePackages}:${python2Packages.pyparsing}/${python.sitePackages}' \ ''; installPhase = '' - mkdir -p $out/${pythonPackages.python.sitePackages}/ + mkdir -p $out/${python2Packages.python.sitePackages}/ mkdir -p $out/bin $out/lib $out/sbin $out/man make DESTDIR=$out PREFIX=/ all make DESTDIR=$out PREFIX=/ install |