python-wrapper: use makeBinaryWrapper

A "python" made with the wrapper is likely to be used as a shebang. On macOS,
this requires a binary rather than another shebang'd script.
main
Atemu 2 years ago committed by Frederik Rietdijk
parent f8e9f3cd9a
commit 7f802c7046
  1. 4
      pkgs/development/interpreters/python/wrapper.nix

@ -1,4 +1,4 @@
{ lib, stdenv, buildEnv, makeWrapper
{ lib, stdenv, buildEnv, makeBinaryWrapper
# manually pased
, python
@ -27,7 +27,7 @@ let
inherit ignoreCollisions;
extraOutputsToInstall = [ "out" ] ++ extraOutputsToInstall;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeBinaryWrapper ];
postBuild = ''
if [ -L "$out/bin" ]; then

Loading…
Cancel
Save