mirror of
https://github.com/mitchellh/zig-overlay.git
synced 2025-05-08 10:36:02 +03:00
add /usr/bin/env fix from nixpkgs
This commit is contained in:
parent
289cc07b8e
commit
1a6953cb0f
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
[ -d docs ] && cp -r docs/* $out/doc
|
||||
[ -d doc ] && cp -r doc/* $out/doc
|
||||
cp -r lib/* $out/lib
|
||||
substituteInPlace $out/lib/std/zig/system.zig \
|
||||
--replace "/usr/bin/env" "${pkgs.lib.getExe' pkgs.coreutils "env"}"
|
||||
cp zig $out/bin/zig
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue