Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standardnotes: fix for 3.5.11 #110531

Merged
merged 2 commits into from Jan 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 }:
svrana marked this conversation as resolved.
Show resolved Hide resolved

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