commit 0d469dd68e72f06b81e38afa6cb11be645b00cdd
parent 9a1dbb93e2853affec58aa739d23b9012fc1fd86
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Tue, 13 Oct 2020 10:27:05 +0300
keeweb: add libsecret to inputs
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pkgs/applications/keeweb/bin.nix b/pkgs/applications/keeweb/bin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchfromgh, appimageTools, undmg }:
+{ stdenv, fetchfromgh, appimageTools, undmg, libsecret }:
let
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
@@ -23,7 +23,7 @@ let
}.${system} or throwSystem;
};
- appimageContents = appimageTools.extractType2 {
+ appimageContents = appimageTools.extract {
inherit name src;
};
@@ -39,6 +39,8 @@ let
linux = appimageTools.wrapType2 rec {
inherit name src meta;
+ extraPkgs = pkgs: with pkgs; [ libsecret ];
+
extraInstallCommands = ''
mv $out/bin/{${name},${pname}}
install -Dm644 ${appimageContents}/keeweb.desktop -t $out/share/applications