From e28bd6045501d1a9e2d16bb32bb0a7978364628d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 30 Jan 2025 20:34:45 +0100 Subject: [PATCH] meli: use `writableTmpDirAsHomeHook` --- pkgs/by-name/me/meli/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 ];