NixOS GNOME | 406 Members | |
| A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...) | 94 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Feb 2024 | ||
| Would this be a right place to ask about GTK issues on foreign distro? I am not able to run Setzer on Guix System - here's the issue I've created on Github. | 09:05:04 | |
| Interestingly, this app works only when I run it as root, but then, I cannot access the fonts I want to use. | 09:05:55 | |
| I suspect that this could be either some issue related to PyGObject or WebKit. | 09:09:06 | |
In reply to @ashvith:matrix.orgSounds like environment inconsistency. Please clarify where is setzer coming from and what the dev environment is. | 13:16:54 | |
In reply to @jtojnar:matrix.org I'm using Nix flakes to access the application. My configuration looks something like this:
This was working fine on a Nix system, which is no longer accessible, as my main laptop is broken, but it won't work properly on a Guix system that I am currently using. | 13:19:59 | |
Here's how it used to work: I would run nix develop, and then access the setzer app from there. | 13:20:44 | |
| That looks fine. Maybe the environment contamination comes from ambient environment then. | 13:25:45 | |
| Or it is some other issue. | 13:26:01 | |
* Here's how it used to work: I would run nix develop, and then access the setzer app from the CLI. | 13:26:33 | |
In reply to @jtojnar:matrix.orgInterestingly, gnome-latex seems to work fine. When I try adding python310Packages.pygobject3 to build input, the problem shifts to cairo having issues. | 13:29:03 | |
| Here's the log:
| 13:30:46 | |
However, adding python310Packages.pycairo to build input did not fix this issue. | 13:31:31 | |
* However, adding python310Packages.pycairo to build input did not fix this issue. Setzer only works on root, but all the fonts are unavailable. | 13:32:40 | |
| Looking at the error some more, it indeed appears to be contamination. It tries to load libs from guix store | 13:32:47 | |
| 23:35:35 | ||
| 2 Feb 2024 | ||
| 07:11:02 | ||
In reply to @jtojnar:matrix.orgLooks like the store was installing itself in the home directory and not the root location at /nix/var/nix/profiles/per-user/. | 07:46:42 | |
| I'm still not able to make it work properly because I messed up the Guix profile now. | 07:47:09 | |
| 17:48:06 | ||
| 3 Feb 2024 | ||
In reply to @jtojnar:matrix.orgLooks like this was the reason all along. Well, I tried adding libcxx to flakes, but it still does not fix this issue? | 03:11:12 | |
| 06:04:43 | ||
Ashvith: adding it to the shell will not override more forceful environment variables. Look at env if there are LD_LIBRARY_PATH or something | 10:41:26 | |
In reply to @jtojnar:matrix.orgI've tried that using shellHooks, but Guix stores are given priority. I think PATH had a bunch of Nix and Guix paths mixed, which is probably messing this up. | 12:53:54 | |
Ashvith: well, even if it is given priority, you should be able to unset those variables in shellHook | 14:01:47 | |
| 4 Feb 2024 | ||
| 11:31:11 | ||
| 19:46:25 | ||
| 5 Feb 2024 | ||
| 22:44:21 | ||
| 22:46:03 | ||
| 22:46:51 | ||
| 6 Feb 2024 | ||
| 00:51:08 | ||