standardnotes: fix for 3.5.11 (#110531)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Shaw Vrana 2021-01-25 06:25:49 -08:00 committed by GitHub
parent 2e802894ba
commit 37c858e55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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