From beb3583b7716a453b54310a703367b114e3ab05e Mon Sep 17 00:00:00 2001 From: Jade Date: Sun, 16 Apr 2023 21:59:46 -0400 Subject: [PATCH] chirp: use wrapGAppsHook to fix file manager crash --- pkgs/applications/radio/chirp/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/radio/chirp/default.nix b/pkgs/applications/radio/chirp/default.nix index 52d3c566179d..11011293ffd1 100644 --- a/pkgs/applications/radio/chirp/default.nix +++ b/pkgs/applications/radio/chirp/default.nix @@ -1,7 +1,10 @@ { lib , fetchFromGitHub +, glib +, gsettings-desktop-schemas , python3 , unstableGitUpdater +, wrapGAppsHook }: python3.pkgs.buildPythonApplication rec { @@ -14,7 +17,13 @@ python3.pkgs.buildPythonApplication rec { rev = "33402b7c545c5a92b7042369867e7eb75ef32a59"; hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU="; }; - + buildInputs = [ + glib + gsettings-desktop-schemas + ]; + nativeBuildInputs = [ + wrapGAppsHook + ]; propagatedBuildInputs = with python3.pkgs; [ future pyserial