summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorShaw Vrana <shaw@vranix.com>2021-01-25 06:25:49 -0800
committerGitHub <noreply@github.com>2021-01-25 15:25:49 +0100
commit37c858e55d9615a29fb371f7e29ffd7c10e73252 (patch)
treeb52d007e6002c6833e3ec435bff9f794458e2e4f /pkgs/applications/editors
parent2e802894ba9f7e3090736f33b7b4d2ee7eeb92a4 (diff)
standardnotes: fix for 3.5.11 (#110531)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/standardnotes/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix
index e472df44a604..f88d4489504b 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