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.
This commit is contained in:
parent
f8e9f3cd9a
commit
7f802c7046
@ -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…
Reference in New Issue
Block a user