zig_0_12: unbreak clang builds

This commit is contained in:
Jared Baur
2024-06-14 23:13:57 -07:00
parent d203c3f1e2
commit 623e23e25f
@@ -56,7 +56,9 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
strictDeps = true;
# strictDeps breaks zig when clang is being used.
# https://github.com/NixOS/nixpkgs/issues/317055#issuecomment-2148438395
strictDeps = !stdenv.cc.isClang;
# Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't
# work in Nix's sandbox. Use env from our coreutils instead.