diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix index e472df44a60..f88d4489504 100644 --- a/pkgs/applications/editors/standardnotes/default.nix +++ b/pkgs/applications/editors/standardnotes/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, appimageTools, autoPatchelfHook, desktop-file-utils - , fetchurl, runtimeShell }: +, fetchurl, runtimeShell, libsecret, gtk3, gsettings-desktop-schemas }: let version = "3.5.11"; @@ -30,6 +30,14 @@ let in appimageTools.wrapType2 rec { inherit name src; + profile = '' + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS + ''; + + extraPkgs = pkgs: with pkgs; [ + libsecret + ]; + extraInstallCommands = '' # directory in /nix/store so readonly cp -r ${appimageContents}/* $out