diff --git a/pkgs/by-name/wr/wrangler/package.nix b/pkgs/by-name/wr/wrangler/package.nix index 484794806ed1..131cc4fcc2b0 100644 --- a/pkgs/by-name/wr/wrangler/package.nix +++ b/pkgs/by-name/wr/wrangler/package.nix @@ -16,6 +16,7 @@ moreutils, nix-update-script, versionCheckHook, + writableTmpDirAsHomeHook, }: stdenv.mkDerivation (finalAttrs: { pname = "wrangler"; @@ -119,7 +120,9 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook + writableTmpDirAsHomeHook ]; + versionCheckKeepEnvironment = [ "HOME" ]; preFixup = '' # fixupPhase spends a lot of time trying to strip text files, which is especially slow on Darwin