Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nm-applet doesn't run due to missing schema #1355

Closed
coroa opened this issue Dec 10, 2013 · 3 comments · Fixed by #1391
Closed

nm-applet doesn't run due to missing schema #1355

coroa opened this issue Dec 10, 2013 · 3 comments · Fixed by #1391

Comments

@coroa
Copy link
Contributor

coroa commented Dec 10, 2013

the nm-applet from current channel-nixos errors out with

(.nm-applet-wrapped:4399): GLib-GIO-ERROR **: Settings schema 'org.gnome.nm-applet' is not installed

zsh: trace trap nm-applet

there is a open pull request #1346 which also wants to fix schemas. might this address the same problem?

cheers,
jonas

@Phreedom @rickynils

@vcunat
Copy link
Member

vcunat commented Dec 10, 2013

Unfortunately the schemas problem needs to be addressed per-package (we can't have one global directory containing all schemas in the system).

I don't understand this case, as everything seems fine. The schemas are in $out, they are compiled, and nm-applet is wrapped to have them in search path.

@domenkozar
Copy link
Member

Same issue here - I just rolled back for the moment.

@coroa
Copy link
Contributor Author

coroa commented Dec 17, 2013

the culprit is pull request #1313. strace shows that only compiled schemas are consulted and the pull request deleted those in preFixup (under the surmise of it being caches). pull request including a partial revert follows shortly.

coroa added a commit to coroa/nixpkgs that referenced this issue Dec 30, 2013
fixes NixOS#1355. partial revert of f4d4e12 (introduced by NixOS#1313).

meta.priority is set to 6 (lower priority than standard) to resolve the
conflict of an exported gschemas.compiled for evince as for nm-applet.
this linked file is NOT consulted, as both binaries are wrapped to look
for their schemas in their nix store path first.

a better fix would avoid already avoid linking those gschemas.compiled
files into the environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants