From badb2f1ad04ee4ac9430e3a1872626adb16ffdb6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 9 Mar 2026 13:53:34 +0100 Subject: [PATCH] atuin-desktop: use structuredAttrs instead of passAsFile --- pkgs/by-name/at/atuin-desktop/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/at/atuin-desktop/package.nix b/pkgs/by-name/at/atuin-desktop/package.nix index 2e3de7995a0b..411a27bbd67f 100644 --- a/pkgs/by-name/at/atuin-desktop/package.nix +++ b/pkgs/by-name/at/atuin-desktop/package.nix @@ -125,8 +125,9 @@ rustPlatform.buildRustPackage (finalAttrs: { # Otherwise tauri will look for a private key we don't have. tauriConf = builtins.toJSON { bundle.createUpdaterArtifacts = false; }; - passAsFile = [ "tauriConf" ]; preBuild = '' + tauriConfPath="tauriConf" + printf "%s" "$tauriConf" > "$tauriConfPath" tauriBuildFlags+=( "--config" "$tauriConfPath" @@ -164,6 +165,8 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; doCheck = !stdenv.isDarwin; + __structuredAttrs = true; + meta = { description = "Local-first, executable runbook editor"; homepage = "https://atuin.sh";