diff --git a/pkgs/development/interpreters/pyrex/0.9.5.nix b/pkgs/development/interpreters/pyrex/0.9.5.nix index 3f6a3c1bfcb2..b67ad3db2ef5 100644 --- a/pkgs/development/interpreters/pyrex/0.9.5.nix +++ b/pkgs/development/interpreters/pyrex/0.9.5.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchurl, python2Packages }: let version = "0.9.5.1.1"; in -pythonPackages.buildPythonPackage rec { +python2Packages.buildPythonPackage rec { name = "pyrex-${version}"; src = fetchurl { diff --git a/pkgs/development/interpreters/pyrex/0.9.6.nix b/pkgs/development/interpreters/pyrex/0.9.6.nix index 44e014322ff4..7a0ac5a1e229 100644 --- a/pkgs/development/interpreters/pyrex/0.9.6.nix +++ b/pkgs/development/interpreters/pyrex/0.9.6.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchurl, python2Packages }: let version = "0.9.6.4"; in -pythonPackages.buildPythonPackage rec { +python2Packages.buildPythonPackage rec { name = "pyrex-${version}"; src = fetchurl {