atuin-desktop: use structuredAttrs instead of passAsFile

This commit is contained in:
Stefan Frijters
2026-03-09 13:53:34 +01:00
parent 08a8774638
commit badb2f1ad0
+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";