Skip to content

Commit

Permalink
add /usr/bin/env fix from nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Jan 20, 2025
1 parent 6826e02 commit 3fe2293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
};
Expand Down

0 comments on commit 3fe2293

Please sign in to comment.