Unverified Commit badb2f1a authored by Stefan Frijters's avatar Stefan Frijters
Browse files

atuin-desktop: use structuredAttrs instead of passAsFile

parent 08a87746
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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";