ripasso-cursive: use writableTmpDirAsHomeHook
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user