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

koji: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-18 17:10:51 +02:00
parent abaa750207
commit 582ab2cf4e

View file

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