meli: use writableTmpDirAsHomeHook
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user