Unverified Commit 623e23e2 authored by Jared Baur's avatar Jared Baur
Browse files

zig_0_12: unbreak clang builds

parent d203c3f1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.