From 6a514aee2fe4d99060141ebabe89e50961b44128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 13 Jan 2026 10:53:40 +0100 Subject: [PATCH] build(nix): use mktemp for wineprefix --- default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/default.nix b/default.nix index af56c4b4..617ce258 100644 --- a/default.nix +++ b/default.nix @@ -33,9 +33,7 @@ pimalaya.mkDefault ( exe = stdenv.hostPlatform.extensions.executable; in lib.optionalString (lib.hasInfix "wine" emulator) '' - if [ ! -d "$WINEPREFIX" ] ; then - mkdir -p "$WINEPREFIX" - fi + export WINEPREFIX=`mktemp -d` '' + '' mkdir -p $out/share/{applications,completions,man}