meli: use writableTmpDirAsHomeHook

This commit is contained in:
Pol Dellaiera
2025-01-30 22:15:10 +01:00
parent ce1e95c45f
commit e28bd60455
+2 -4
View File
@@ -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
];