git.iko.soy/typeable/nixpkgs
on master help sign in
firefox: fix file-dialogs and icons with gtk3
ddeb2f5Vladimír Čunát
pkgs/applications/networking/browsers/firefox/default.nix+5
@@ -95,6 +95,11 @@ stdenv.mkDerivation rec {
95
95
96 # Remove SDK cruft. FIXME: move to a separate output?
96 # Remove SDK cruft. FIXME: move to a separate output?
97 rm -rf $out/share/idl $out/include $out/lib/firefox-devel-*
97 rm -rf $out/share/idl $out/include $out/lib/firefox-devel-*
98+ '' + lib.optionalString enableGTK3
99+ ''
100+ wrapProgram "$out/bin/firefox" \
101+ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:" \
102+ --suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
98 '';
103 '';
99
104
100 meta = {
105 meta = {