diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index eb913e1a3752..72a2805a3000 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -113,9 +113,6 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr passthru = { updateScript = let filename = builtins.head (lib.splitString ":" self.meta.position); - in writeScript "update-python" '' - #!${python.stdenv.shell} - ${update-python-libraries} ${filename} - ''; + in [ update-python-libraries filename ]; }; in lib.extendDerivation true passthru self