diff --git a/pkgs/by-name/me/meli/package.nix b/pkgs/by-name/me/meli/package.nix index 7640e4813d6c..a9f17fa67183 100644 --- a/pkgs/by-name/me/meli/package.nix +++ b/pkgs/by-name/me/meli/package.nix @@ -12,6 +12,7 @@ mandoc, rustfmt, file, + writableTmpDirAsHomeHook, # build inputs openssl, @@ -58,6 +59,7 @@ rustPlatform.buildRustPackage rec { nativeCheckInputs = [ file gnum4 + writableTmpDirAsHomeHook ]; postInstall = '' @@ -68,10 +70,6 @@ rustPlatform.buildRustPackage rec { --prefix PATH : ${lib.makeBinPath [ gnum4 ]} ''; - preCheck = '' - export HOME=$(mktemp -d) - ''; - checkFlags = [ "--skip=test_cli_subcommands" # panicking due to sandbox ];