Unverified Commit 483a241a authored by Jared Baur's avatar Jared Baur
Browse files

roc: disable zig hook

parent 9e62b36a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -31,6 +31,10 @@ rustPlatform.buildRustPackage {
    hash = "sha256-pPnOM4hpbAkGCV47aw5eHbpOujjFtJa3v/3/D8gybO8=";
  };

  dontUseZigBuild = true;
  dontUseZigCheck = true;
  dontUseZigInstall = true;

  nativeBuildInputs = [
    cmake
    zig_0_13
@@ -53,9 +57,6 @@ rustPlatform.buildRustPackage {

  cargoHash = "sha256-wJViSHcezoIchWe4Py9j+9U+YJUA5ja/x94UipuWO2g=";

  # prevents zig AccessDenied error github.com/ziglang/zig/issues/6810
  XDG_CACHE_HOME = "xdg_cache";

  preBuild =
    let
      llvmVersion = builtins.splitVersion llvmPackages.release_version;