atuin-desktop: use structuredAttrs instead of passAsFile (#498261)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user