Skip to content

Commit

Permalink
keeweb: Use alternative solution for GSettings
Browse files Browse the repository at this point in the history
Apparently the last attempt to use `wrapGAppsHook` into `extraPkgs`
failed to solve the issue. Found in NixOS#91454 a potential solution
that might also work here.
  • Loading branch information
eliandoran committed Dec 30, 2021
1 parent 9ea5fde commit 2d26a73
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/applications/misc/keeweb/default.nix
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence, wrapGAppsHook }:
{ lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence, gsettings-desktop-schemas, gtk3 }:
let
pname = "keeweb";
version = "1.18.6";
Expand Down Expand Up @@ -36,7 +36,12 @@ let
linux = appimageTools.wrapType2 rec {
inherit name src meta;

extraPkgs = pkgs: with pkgs; [ libsecret libxshmfence wrapGAppsHook ];
extraPkgs = pkgs: with pkgs; [ libsecret libxshmfence ];

profile = ''
export LC_ALL=C.UTF-8
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';

extraInstallCommands = ''
mv $out/bin/{${name},${pname}}
Expand Down

0 comments on commit 2d26a73

Please sign in to comment.