1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #18696 from FRidh/buildenv

python.buildenv: don't filter non-python packages
This commit is contained in:
Lancelot SIX 2016-09-19 12:22:53 +02:00 committed by GitHub
commit 6fe5b7a2e7

View file

@ -8,7 +8,7 @@ let
recursivePthLoader = import ../../python-modules/recursive-pth-loader/default.nix { stdenv = stdenv; python = python; };
env = (
let
paths = stdenv.lib.filter (x : x ? pythonPath) (stdenv.lib.closePropagation extraLibs) ++ [ python recursivePthLoader ];
paths = stdenv.lib.closePropagation (extraLibs ++ [ python recursivePthLoader ] ) ;
in buildEnv {
name = "${python.name}-env";