mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3.pkgs.unicorn: enable python3
This commit is contained in:
parent
28af9e45b0
commit
5e9922e800
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
{ stdenv, buildPackages, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
@ -10,7 +10,8 @@ buildPythonPackage rec {
|
||||
sha256 = "0a5b4vh734b3wfkgapzzf8x18rimpmzvwwkly56da84n27wfw9bg";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
# needs python2 at build time
|
||||
PYTHON="${buildPackages.python2.interpreter}";
|
||||
|
||||
setupPyBuildFlags = [ "--plat-name" "linux" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user