mirror of
https://github.com/mitchellh/zig-overlay.git
synced 2025-02-05 17:02:48 +02:00
add /usr/bin/env fix from nixpkgs
This commit is contained in:
parent
6826e02b51
commit
3fe2293ba5
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
||||||
[ -d docs ] && cp -r docs/* $out/doc
|
[ -d docs ] && cp -r docs/* $out/doc
|
||||||
[ -d doc ] && cp -r doc/* $out/doc
|
[ -d doc ] && cp -r doc/* $out/doc
|
||||||
cp -r lib/* $out/lib
|
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
|
cp zig $out/bin/zig
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue