Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonFull -> python with all modules, pythonFullWithPkgs -> buildEnv

+21 -19
+1 -1
pkgs/applications/misc/roxterm/default.nix
··· 29 "-I${dbus_libs}/lib/dbus-1.0/include" ]; 30 31 # Fix up python path so the lockfile library is on it. 32 - PYTHONPATH = stdenv.lib.makeSearchPath "lib/${pythonFull.python.libPrefix}/site-packages" [ 33 pythonPackages.curses pythonPackages.lockfile 34 ]; 35
··· 29 "-I${dbus_libs}/lib/dbus-1.0/include" ]; 30 31 # Fix up python path so the lockfile library is on it. 32 + PYTHONPATH = stdenv.lib.makeSearchPath "lib/${pythonFull.libPrefix}/site-packages" [ 33 pythonPackages.curses pythonPackages.lockfile 34 ]; 35
+3 -4
pkgs/development/interpreters/python/wrapper.nix
··· 1 { stdenv, python, buildEnv, makeWrapper, recursivePthLoader, extraLibs ? [], postBuild ? "" 2 - , stdLibs ? stdenv.lib.attrValues python.modules, ignoreCollisions ? false 3 - }: 4 5 # Create a python executable that knows about additional packages. 6 7 (buildEnv { 8 - name = "python-${python.version}-wrapper"; 9 - paths = stdenv.lib.filter (x : x ? pythonPath) (stdenv.lib.closePropagation extraLibs) ++ stdLibs ++ [ python recursivePthLoader ]; 10 11 inherit ignoreCollisions; 12
··· 1 { stdenv, python, buildEnv, makeWrapper, recursivePthLoader, extraLibs ? [], postBuild ? "" 2 + , ignoreCollisions ? false }: 3 4 # Create a python executable that knows about additional packages. 5 6 (buildEnv { 7 + name = "python-${python.version}-env"; 8 + paths = stdenv.lib.filter (x : x ? pythonPath) (stdenv.lib.closePropagation extraLibs) ++ [ python recursivePthLoader ]; 9 10 inherit ignoreCollisions; 11
+1 -1
pkgs/development/libraries/thrift/default.nix
··· 21 patches = [ ./yylex.patch ]; 22 23 # Workaround to make the python wrapper not drop this package: 24 - # pythonFull.override { extraLibs = [ thrift ]; } 25 pythonPath = []; 26 27 buildInputs = [
··· 21 patches = [ ./yylex.patch ]; 22 23 # Workaround to make the python wrapper not drop this package: 24 + # pythonFullWithPkgs.override { extraLibs = [ thrift ]; } 25 pythonPath = []; 26 27 buildInputs = [
+1 -1
pkgs/servers/gpsd/default.nix
··· 38 buildPhase = '' 39 patchShebangs . 40 mkdir -p "$out" 41 - sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonFull.python.libPrefix}/site-packages\"|" -i SConstruct 42 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \ 43 systemd=yes udevdir="$out/lib/udev" chrpath=no 44 '';
··· 38 buildPhase = '' 39 patchShebangs . 40 mkdir -p "$out" 41 + sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonFull.libPrefix}/site-packages\"|" -i SConstruct 42 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \ 43 systemd=yes udevdir="$out/lib/udev" chrpath=no 44 '';
+15 -12
pkgs/top-level/all-packages.nix
··· 1875 openobex = callPackage ../tools/bluetooth/openobex { }; 1876 1877 openopc = callPackage ../tools/misc/openopc { 1878 - pythonFull = python27Full.override { 1879 extraLibs = [ python27Packages.pyro3 ]; 1880 }; 1881 }; ··· 3931 python2Packages = python27Packages; 3932 python3Packages = python34Packages; 3933 3934 - pythonFull = python2Full; 3935 - python2Full = python27Full; 3936 - 3937 python26 = callPackage ../development/interpreters/python/2.6 { db = db47; }; 3938 python27 = callPackage ../development/interpreters/python/2.7 { }; 3939 python32 = callPackage ../development/interpreters/python/3.2 { }; ··· 3942 3943 pypy = callPackage ../development/interpreters/pypy/2.4 { }; 3944 3945 - python26Full = callPackage ../development/interpreters/python/wrapper.nix { 3946 - extraLibs = []; 3947 - postBuild = ""; 3948 - python = python26; 3949 inherit (python26Packages) recursivePthLoader; 3950 }; 3951 - python27Full = callPackage ../development/interpreters/python/wrapper.nix { 3952 - extraLibs = []; 3953 - postBuild = ""; 3954 - python = python27; 3955 inherit (python27Packages) recursivePthLoader; 3956 }; 3957 3958 python2nix = callPackage ../tools/package-management/python2nix { }; 3959
··· 1875 openobex = callPackage ../tools/bluetooth/openobex { }; 1876 1877 openopc = callPackage ../tools/misc/openopc { 1878 + pythonFull = python27FullWithPkgs.override { 1879 extraLibs = [ python27Packages.pyro3 ]; 1880 }; 1881 }; ··· 3931 python2Packages = python27Packages; 3932 python3Packages = python34Packages; 3933 3934 python26 = callPackage ../development/interpreters/python/2.6 { db = db47; }; 3935 python27 = callPackage ../development/interpreters/python/2.7 { }; 3936 python32 = callPackage ../development/interpreters/python/3.2 { }; ··· 3939 3940 pypy = callPackage ../development/interpreters/pypy/2.4 { }; 3941 3942 + pythonFull = python2Full; 3943 + python2Full = python27Full; 3944 + python26Full = python26.override { 3945 + includeModules = true; 3946 + }; 3947 + python27Full = python27.override { 3948 + includeModules = true; 3949 + }; 3950 + python26FullWithPkgs = callPackage ../development/interpreters/python/wrapper.nix { 3951 + python = python26Full; 3952 inherit (python26Packages) recursivePthLoader; 3953 }; 3954 + python27FullWithPkgs = callPackage ../development/interpreters/python/wrapper.nix { 3955 + python = python27Full; 3956 inherit (python27Packages) recursivePthLoader; 3957 }; 3958 + pythonFullWithPkgs = python2FullWithPkgs; 3959 + python2FullWithPkgs = python27FullWithPkgs; 3960 3961 python2nix = callPackage ../tools/package-management/python2nix { }; 3962