about summary refs log tree commit diff
path: root/pkgs/applications/networking/soulseek
diff options
context:
space:
mode:
authorudf <tabhooked@gmail.com>2021-12-26 04:00:30 +0200
committerehmry <ehmry@posteo.net>2021-12-26 10:27:32 +0100
commit896259096ea404446d719ea7a07a050b0672ca72 (patch)
tree3177f47d0ec6f787143bb82c32ab1661520d4af1 /pkgs/applications/networking/soulseek
parent6fcc9f249f38178ca29cd719dba9b2e62af41c89 (diff)
nicotine-plus: Fix crash when opening file dialog, closes #142014
Diffstat (limited to 'pkgs/applications/networking/soulseek')
-rw-r--r--pkgs/applications/networking/soulseek/nicotine-plus/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
index 483d13b689500..a79b2c7ad08e2 100644
--- a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
+++ b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
@@ -23,6 +23,12 @@ python3Packages.buildPythonApplication rec {
     mv $out/bin/nicotine $out/bin/nicotine-plus
   '';
 
+  preFixup = ''
+    gappsWrapperArgs+=(
+      --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}"
+    )
+  '';
+
   doCheck = false;
 
   meta = {