Skip to content

Commit

Permalink
standardnotes: fix for 3.5.11 (#110531)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
svrana and SuperSandro2000 committed Jan 25, 2021
1 parent 2e80289 commit 37c858e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 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";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 37c858e

Please sign in to comment.