Merge pull request #121046 from romildo/fix.xfce

xfce: does not explicitly require a gvfs package
This commit is contained in:
José Romildo Malaquias 2021-05-03 08:14:56 -03:00 committed by GitHub
commit 8073df31a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 13 deletions

View File

@ -989,6 +989,24 @@ environment.systemPackages = [
PostgreSQL 9.5 is scheduled EOL during the 21.05 life cycle and has been removed. PostgreSQL 9.5 is scheduled EOL during the 21.05 life cycle and has been removed.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
<link xlink:href="https://www.xfce.org/">Xfce4</link> relies on
GIO/GVfs for userspace virtual filesystem access in applications
like <link xlink:href="https://docs.xfce.org/xfce/thunar/">thunar</link> and
<link xlink:href="https://docs.xfce.org/apps/gigolo/">gigolo</link>.
For that to work, the gvfs nixos service is enabled by default,
and it can be configured with the specific package that provides
GVfs. Until now Xfce4 was setting it to use a lighter version of
GVfs (without support for samba). To avoid conflicts with other
desktop environments this setting has been dropped. Users that
still want it should add the following to their system
configuration:
<programlisting>
<xref linkend="opt-services.gvfs.package" /> = pkgs.gvfs.override { samba = null; };
</programlisting>
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>
</section> </section>

View File

@ -151,7 +151,6 @@ in
services.upower.enable = config.powerManagement.enable; services.upower.enable = config.powerManagement.enable;
services.gnome3.glib-networking.enable = true; services.gnome3.glib-networking.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
services.gvfs.package = pkgs.xfce.gvfs;
services.tumbler.enable = true; services.tumbler.enable = true;
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
services.xserver.libinput.enable = mkDefault true; # used in xfce4-settings-manager services.xserver.libinput.enable = mkDefault true; # used in xfce4-settings-manager

View File

@ -1,4 +1,4 @@
{ lib, mkXfceDerivation, gtk3, gvfs, glib }: { lib, mkXfceDerivation, gtk3, glib }:
mkXfceDerivation { mkXfceDerivation {
category = "apps"; category = "apps";
@ -8,12 +8,7 @@ mkXfceDerivation {
sha256 = "8UDb4H3zxRKx2y+MRsozQoR3es0fs5ooR/5wBIE11bY="; sha256 = "8UDb4H3zxRKx2y+MRsozQoR3es0fs5ooR/5wBIE11bY=";
buildInputs = [ gtk3 glib gvfs ]; buildInputs = [ gtk3 glib ];
postPatch = ''
# exo-csource has been dropped from exo
substituteInPlace src/Makefile.am --replace exo-csource xdt-csource
'';
meta = { meta = {
description = "A frontend to easily manage connections to remote filesystems"; description = "A frontend to easily manage connections to remote filesystems";

View File

@ -12,7 +12,6 @@
, libxslt , libxslt
, xfconf , xfconf
, gobject-introspection , gobject-introspection
, gvfs
, makeWrapper , makeWrapper
, symlinkJoin , symlinkJoin
, thunarPlugins ? [] , thunarPlugins ? []
@ -35,7 +34,6 @@ let unwrapped = mkXfceDerivation {
exo exo
gdk-pixbuf gdk-pixbuf
gtk3 gtk3
gvfs
libX11 libX11
libgudev libgudev
libnotify libnotify

View File

@ -15,9 +15,6 @@ lib.makeScope pkgs.newScope (self: with self; {
automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh; automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;
# Samba is a rather heavy dependency
gvfs = pkgs.gvfs.override { samba = null; };
#### CORE #### CORE
exo = callPackage ./core/exo { }; exo = callPackage ./core/exo { };