python3.pkgs.gyp: patch shebang in mac_tool.py
This commit is contained in:
parent
c123306737
commit
e00ad60852
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ buildPythonPackage {
|
|||
|
||||
pythonImportsCheck = [ "gyp" "gyp.generator" ];
|
||||
|
||||
# Make mac_tool.py executable so that patchShebangs hook processes it. This
|
||||
# file is copied and run by builds using gyp on macOS
|
||||
preFixup = ''
|
||||
chmod +x "$out/${python.sitePackages}/gyp/mac_tool.py"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to generate native build files";
|
||||
homepage = "https://gyp.gsrc.io";
|
||||
|
|
Loading…
Reference in a new issue