koji: use python2
This commit is contained in:
parent
abaa750207
commit
582ab2cf4e
@ -1,6 +1,8 @@
|
||||
{ stdenv, fetchurl, pythonPackages, python }:
|
||||
{ stdenv, fetchurl, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
pythonEnv = python2.withPackages(ps : [ps.pycurl]);
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "koji-1.8";
|
||||
|
||||
src = fetchurl {
|
||||
@ -8,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "10dph209h4jgajb5jmbjhqy4z4hd22i7s2d93vm3ikdf01i8iwf1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.pycurl python ];
|
||||
propagatedBuildInputs = [ pythonEnv ];
|
||||
|
||||
makeFlags = "DESTDIR=$(out)";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user