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
build-fhs-userenv: fixes for mount points #110825
Conversation
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
ec76878
to
34fae59
Compare
Result of 2 packages failed to build:
74 packages built:
Quartus and Houdini failed to build because they're proprietary applications with non-public links to download their application and/or dependency, generating an error like this:
So it seems fine. |
Links in My only issue with this PR is that it affects everything that uses |
I am only using two appimage apps: |
Maybe you have some other issue related to XDG then. For me the issue was that my browser was not on the FHS's path since it is symlinked in |
Happy to report that I have installed Steam and played some games, everything seemed to be working fine. |
Reminder: Please review! This Pull Request is awaiting review. If you are the assigned reviewer, please have a look. Try to find another reviewer if necessary. If you can't, please say so. If the status is not accurate, please change it. If nothing happens, this PR Note: This feature is currently broken. The bot will not actually change the status. If you see this message multiple times, please request a status change manually. |
Motivation for this change
Fixes #110636.
/etc/profiles
was not being mounted, which meant that any user-installed package would not be available under the FHS environment. This change alone fixes all the issues reported in #110636 since the AppImage environment can now find the browser executable and the correct cursor./etc/fonts
was also broken since we were mounting the host's/etc/fonts
but it was getting overriden by the default/etc/fonts
fromfontconfig
that was part of the FHS environment.I only tested these changes on AppImages and it solved all the issues I reported in #110636.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)