!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

405 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)93 Servers

Load older messages


SenderMessageTime
11 Dec 2023
@hpfr:matrix.orghpfrcan anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because set-environment adds gvfs, glib-networking, and dconf, and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. GNOME Wayland session08:36:21
@hpfr:matrix.orghpfr * can anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because set-environment adds gvfs, glib-networking, and dconf, and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. I’m using a GNOME Wayland session 08:36:32
@hpfr:matrix.orghpfr * can anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because /etc/set-environment adds gvfs, glib-networking, and dconf (via environment.sessionVariables from the corresponding NixOS modules, I think), and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. I’m using a GNOME Wayland session 08:42:08
@hpfr:matrix.orghpfr
$ printenv GIO_EXTRA_MODULES | tr : \\n
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
/home/lh/.guix-home/profile/lib/gio/modules
/home/lh/.guix-home/profile/lib/gio/modules
/nix/store/di8rblply9n618k476df53fdbx373gbh-gvfs-1.52.1/lib/gio/modules
/nix/store/zd4zpqb3af9zgx7qjkvkmv87xyd2wgph-glib-networking-2.78.0/lib/gio/modules
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
08:49:06
@hpfr:matrix.orghpfrok I think it’s wrapGappsHook4 on kgx08:55:54
@hpfr:matrix.orghpfrbut it looks like Alt-F2 shows the session has a wrapper with both glib-networking and dconf as well :/09:00:47
@mountaind:matrix.org@mountaind:matrix.org joined the room.15:11:28
@mountaind:matrix.org@mountaind:matrix.org changed their display name from mountaind to Mountain D.15:20:11
@mountaind:matrix.org@mountaind:matrix.org set a profile picture.15:20:27
@mountaind:matrix.org@mountaind:matrix.org changed their profile picture.15:20:39
12 Dec 2023
@mountaind:matrix.org@mountaind:matrix.org left the room.01:15:24
@edgar.vincent:matrix.orgedgar.vincent

Hi all. I'd like to add ~/.local/bin/ to the PATH as seen by Gnome (rather than the shell, wich is did with environment.localBinInPath = true;) with home-manager. Does anyone know how to do that?

13:12:16
@edgar.vincent:matrix.orgedgar.vincent *

Hi all. I'd like to add ~/.local/bin/ to the PATH as seen by Gnome (rather than the shell, wich I did with environment.localBinInPath = true;) with home-manager. Does anyone know how to do that?

13:12:36
@edgar.vincent:matrix.orgedgar.vincent

Ah, home.sessionPath = [ "$HOME/.local/bin/" ]; seems to have done the trick.

13:32:40
14 Dec 2023
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.deReferencing in case it's relevant to NixOS's GNOME https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$ERBPJStEogpvCLpUFPzgdCAl1dmqyGzg3W60rWxpxsc?via=nixos.org&via=matrix.org&via=nixos.dev02:19:48
@schuelermine:matrix.orgschuelermine changed their profile picture.20:49:01
15 Dec 2023
@diamondburned:matrix.orgdiamond (it/its) changed their profile picture.20:54:03
@ultra:beeper.comAlex S changed their profile picture.21:02:41
@philiptaron:matrix.orgPhilip Taron (UTC-8) Hmm. gnome-online-account depends on gvfs and gvfs depends on gnome-online-accounts. 22:45:23
@philiptaron:matrix.orgPhilip Taron (UTC-8)How does this even work?!22:45:32
@philiptaron:matrix.orgPhilip Taron (UTC-8)https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gnome-online-accounts/default.nix#L28 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gvfs/default.nix#L3422:46:59
@lily:lily.flowersLily Foster
In reply to @philiptaron:matrix.org
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gnome-online-accounts/default.nix#L28
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gvfs/default.nix#L34
gvfs actually doesn't depend on gnome-online-accounts when gnomeSupport is false in the args (which is the default): https://github.com/NixOS/nixpkgs/blob/249d46fbd7aa6bd0bf30a44472116d06ed68c69c/pkgs/development/libraries/gvfs/default.nix#L30
22:51:40
@philiptaron:matrix.orgPhilip Taron (UTC-8)

It looks like Nix is trying the dependency lines that way, though.

$ nix path-info --recursive /run/current-system/ | grep gnome-online-accounts
/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
$ nix why-depends /run/current-system/ /nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0 -a
/nix/store/s8h11iwrm9vdhzhxqpp0v6xl5jsziq14-nixos-system-zebul-24.05.20231215.9236780
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
│   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│       ├───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
│       └───/nix/store/84bj3yxyk6wqr5mmi68r6gg8pv7b0m06-libgdata-0.18.1
│           └───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
└───/nix/store/6ngzpjf0863049kiw241iw61gn8bqwqr-etc
    ├───/nix/store/bknclddagq7affyv9vpgvnrk2ndwvvk9-user-units
    │   ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    │   └───/nix/store/9zgcgxpina3c4g7pd66fsbhykar8lshm-unit-dbus.service
    │       └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
    │           └───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
    │               ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    │               └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
    ├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
    ├───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
    ├───/nix/store/x8yahcgsk7pbvhwqdxys5bndllm4iksd-etc-pam-environment
    │   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    ├───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
    │   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    ├───/nix/store/xbgm3qkh6n9a8pw45vgyqpg00f0b96si-etc-profile
    │   └───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
    └───/nix/store/p0q8ck2pcdnyfykyy6d2qld2kjbqbjjg-system-units
        ├───/nix/store/cfdk8zddcrqwvd94k4i41sr2nvpf73a2-unit-accounts-daemon.service
        │   └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
        ├───/nix/store/rxxc12xpxrsz4qv8w5klm2vqxdpjd8rk-unit-polkit.service
        │   └───/nix/store/54wm3l06m7vc729d2phzhf76yvd8zi3z-X-Restart-Triggers-polkit
        │       └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
        └───/nix/store/yg27m49l7apkq5ir9hskxlj54qd223cd-unit-dbus.service
            └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
22:54:23
@lily:lily.flowersLily Foster
In reply to @philiptaron:matrix.org

It looks like Nix is trying the dependency lines that way, though.

$ nix path-info --recursive /run/current-system/ | grep gnome-online-accounts
/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
$ nix why-depends /run/current-system/ /nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0 -a
/nix/store/s8h11iwrm9vdhzhxqpp0v6xl5jsziq14-nixos-system-zebul-24.05.20231215.9236780
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
│   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│       ├───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
│       └───/nix/store/84bj3yxyk6wqr5mmi68r6gg8pv7b0m06-libgdata-0.18.1
│           └───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
└───/nix/store/6ngzpjf0863049kiw241iw61gn8bqwqr-etc
    ├───/nix/store/bknclddagq7affyv9vpgvnrk2ndwvvk9-user-units
    │   ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    │   └───/nix/store/9zgcgxpina3c4g7pd66fsbhykar8lshm-unit-dbus.service
    │       └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
    │           └───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
    │               ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    │               └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
    ├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
    ├───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
    ├───/nix/store/x8yahcgsk7pbvhwqdxys5bndllm4iksd-etc-pam-environment
    │   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    ├───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
    │   └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
    ├───/nix/store/xbgm3qkh6n9a8pw45vgyqpg00f0b96si-etc-profile
    │   └───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
    └───/nix/store/p0q8ck2pcdnyfykyy6d2qld2kjbqbjjg-system-units
        ├───/nix/store/cfdk8zddcrqwvd94k4i41sr2nvpf73a2-unit-accounts-daemon.service
        │   └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
        ├───/nix/store/rxxc12xpxrsz4qv8w5klm2vqxdpjd8rk-unit-polkit.service
        │   └───/nix/store/54wm3l06m7vc729d2phzhf76yvd8zi3z-X-Restart-Triggers-polkit
        │       └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
        └───/nix/store/yg27m49l7apkq5ir9hskxlj54qd223cd-unit-dbus.service
            └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
there are two gvfs's
22:55:06
@lily:lily.flowersLily Fosterthe gvfs in the gnome package set does have gnomeSupport turned on, but gnome-online-accounts is outside of that set and uses the one there which has gnomeSupport turned off22:56:04
@philiptaron:matrix.orgPhilip Taron (UTC-8)
$ nix path-info --recursive /run/current-system/ | grep gvfs
/nix/store/dhvrg3hqcxb514079d9my8kc70c836kf-gvfs-1.52.1
/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1

Right you are.

22:56:06
@philiptaron:matrix.orgPhilip Taron (UTC-8)Thanks. I'm trying to rid my system of gnome-online-accounts, and I think I need to pick a different hammer than overlays for this one.22:58:08
@philiptaron:matrix.orgPhilip Taron (UTC-8) Ah, I see there's services.gvfs.package. That'll do it. 23:01:04
@philiptaron:matrix.orgPhilip Taron (UTC-8) Thanks as always Lily Foster . 23:10:16
@philiptaron:matrix.orgPhilip Taron (UTC-8)Sidequest complete: https://github.com/philiptaron/nix-config/blob/lex/overlays.nix#L34-L3823:28:44

Show newer messages


Back to Room ListRoom Version: 6