Eric Joldasov a79e421e59
std.zig.system: use both PATH and hardcoded locations to find env
Should help systems that have main `env` binary in different location
than hardcoded `/usr/bin/env` **during build** (not neccessarily always),
like Nix/Guix, Termux, Gentoo Prefix etc.

Related:
https://www.github.com/ziglang/zig/issues/12156
https://www.github.com/ziglang/zig/issues/14146
https://www.github.com/ziglang/zig/issues/14577
https://www.github.com/ziglang/zig/issues/15898

Source for logic: https://www.github.com/ziglang/zig/issues/14146#issuecomment-2308984936

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
2025-01-20 14:29:04 +05:00
..
2024-12-19 17:10:03 -05:00
2025-01-16 20:42:08 -05:00
2024-02-23 02:37:11 -07:00
2024-07-23 11:43:12 -07:00
2025-01-16 20:42:08 -05:00
2024-07-09 14:25:42 -07:00
2024-03-10 18:13:30 -07:00
2025-01-16 20:47:30 -05:00
2024-08-22 08:44:08 +02:00
2024-03-21 14:11:46 -07:00
2024-11-01 02:04:27 +03:30
2025-01-16 20:42:08 -05:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-01-16 20:42:08 -05:00
2024-07-19 00:30:32 -07:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-01-16 20:42:08 -05:00
2024-07-09 14:25:42 -07:00
2025-01-16 20:42:08 -05:00