diff options
Diffstat (limited to 'nixpkgs/pkgs/development/interpreters/python/wrap-python.nix')
-rw-r--r-- | nixpkgs/pkgs/development/interpreters/python/wrap-python.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/interpreters/python/wrap-python.nix b/nixpkgs/pkgs/development/interpreters/python/wrap-python.nix index 1efd777bb052..6a19a2152419 100644 --- a/nixpkgs/pkgs/development/interpreters/python/wrap-python.nix +++ b/nixpkgs/pkgs/development/interpreters/python/wrap-python.nix @@ -7,9 +7,10 @@ with lib; makeSetupHook { deps = makeWrapper; - substitutions.libPrefix = python.libPrefix; + substitutions.sitePackages = python.sitePackages; substitutions.executable = python.interpreter; - substitutions.python = python; + substitutions.python = python.pythonForBuild; + substitutions.pythonHost = python; substitutions.magicalSedExpression = let # Looks weird? Of course, it's between single quoted shell strings. # NOTE: Order DOES matter here, so single character quotes need to be |