atuin-desktop: use structuredAttrs instead of passAsFile (#498261)

This commit is contained in:
Jo
2026-03-13 10:55:09 +00:00
committed by GitHub
+4 -1
View File
@@ -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";