diff --git a/overlay.nix b/overlay.nix index 9352df5df3d..7f810829339 100644 --- a/overlay.nix +++ b/overlay.nix @@ -34,5 +34,9 @@ final: prev: sha256 = "sha256-gExhWkhVhIpTKRCfF26pZnrcrf//ASQJDxEKbYc570s="; fetchSubmodules = true; }; + preConfigure = '' + find ./test -name '*.mlir' -exec sed -i 's|/usr/bin/env|${final.coreutils}/bin/env|g' {} \; + substituteInPlace cmake/modules/GenVersionFile.cmake --replace "unknown git version" "nightly" + ''; }); }