Unverified Commit 32ba344b authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

espup: use writableTmpDirAsHomeHook (#398001)

parents 6cda08e7 c5893772
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  stdenv,
  darwin,
  testers,
  writableTmpDirAsHomeHook,
  nix-update-script,
}:

@@ -51,9 +52,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    ZSTD_SYS_USE_PKG_CONFIG = true;
  };

  preCheck = ''
    export HOME=$(mktemp -d)
  '';
  nativeCheckInputs = [ writableTmpDirAsHomeHook ];

  checkFlags = [
    # makes network calls