mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 11:02:05 +00:00
simplify
This commit is contained in:
parent
a2a7abc67c
commit
68b183e309
|
@ -115,7 +115,7 @@ let
|
|||
, internalName ? "_" + moduleName
|
||||
, deps
|
||||
}:
|
||||
if (includeModules) then null else stdenv.mkDerivation rec {
|
||||
if includeModules then null else stdenv.mkDerivation rec {
|
||||
name = "python-${moduleName}-${python.version}";
|
||||
|
||||
inherit src patches preConfigure;
|
||||
|
|
|
@ -117,7 +117,7 @@ let
|
|||
, internalName ? "_" + moduleName
|
||||
, deps
|
||||
}:
|
||||
if (includeModules) then null else stdenv.mkDerivation rec {
|
||||
if includeModules then null else stdenv.mkDerivation rec {
|
||||
name = "python-${moduleName}-${python.version}";
|
||||
|
||||
inherit src patches preConfigure;
|
||||
|
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
|||
patches = [ ./yylex.patch ];
|
||||
|
||||
# Workaround to make the python wrapper not drop this package:
|
||||
# pythonFullWithPkgs.override { extraLibs = [ thrift ]; }
|
||||
# pythonFullBuildEnv.override { extraLibs = [ thrift ]; }
|
||||
pythonPath = [];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -1875,7 +1875,7 @@ let
|
|||
openobex = callPackage ../tools/bluetooth/openobex { };
|
||||
|
||||
openopc = callPackage ../tools/misc/openopc {
|
||||
pythonFull = python27FullWithPkgs.override {
|
||||
pythonFull = python27FullBuildEnv.override {
|
||||
extraLibs = [ python27Packages.pyro3 ];
|
||||
};
|
||||
};
|
||||
|
@ -3947,16 +3947,16 @@ let
|
|||
python27Full = python27.override {
|
||||
includeModules = true;
|
||||
};
|
||||
python26FullWithPkgs = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
python26FullBuildEnv = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
python = python26Full;
|
||||
inherit (python26Packages) recursivePthLoader;
|
||||
};
|
||||
python27FullWithPkgs = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
python27FullBuildEnv = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
python = python27Full;
|
||||
inherit (python27Packages) recursivePthLoader;
|
||||
};
|
||||
pythonFullWithPkgs = python2FullWithPkgs;
|
||||
python2FullWithPkgs = python27FullWithPkgs;
|
||||
pythonFullBuildEnv = python2FullBuildEnv;
|
||||
python2FullBuildEnv = python27FullBuildEnv;
|
||||
|
||||
python2nix = callPackage ../tools/package-management/python2nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue