ripasso-cursive: use writableTmpDirAsHomeHook

This commit is contained in:
Pol Dellaiera
2025-07-28 17:24:14 +02:00
parent f2e2e99ef4
commit 63eee198a6

View File

@@ -9,6 +9,7 @@
installShellFiles,
pkg-config,
python3,
writableTmpDirAsHomeHook,
# buildInputs
libgpg-error,
@@ -44,6 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
pkg-config
python3
rustPlatform.bindgenHook
writableTmpDirAsHomeHook
];
buildInputs = [
@@ -54,10 +56,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
xorg.libxcb
];
preCheck = ''
export HOME=$(mktemp -d)
'';
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
# Fails in the darwin sandbox with:
# Attempted to create a NULL object.