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
buildFHSChrootEnv: link gsettings-schemas to FHS location #83705
Conversation
@hedning I found a use for your code ✨ |
@worldofpeace awesome! Can you add a line somewhere in |
Didn't know there was docs. Will do. |
btw, I checked if anything using |
We shouldn't need to use wrapGAppsHook in expressions that use this builder. The code to do this is from NixOS#54083.
2a30294
to
35faf0a
Compare
Meh, this isn't right. I will finish this tomorrow. |
Maybe here?
|
I believe the appimage build support code, at its lowest level, uses this builder. |
Missing schemas also crash riot-desktop(electron), its not oly isolated to ssb-patchwork. |
riot-desktop doesn't use this builder at all, and I've already fixed that fe6addb |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/declarative-wrappers-another-idea/6661/1 |
heya folks - awesome work :) Is there something more we need to do to get this one merged ? :) |
if [[ -d $out/share/gsettings-schemas/ ]]; then | ||
# Create the standard schemas directory if needed | ||
if [[ -L $out/share/glib-2.0 ]]; then | ||
rm -rf $out/share/glib-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still not totally comfortable with removing the link. At the moment, I cannot think of a case where it would be destructive but conditions change.
Could we try to make the tree writeable like lndir
does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtojnar could you point me to the lndir
package you're referring to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is in xorg.lndir
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the lndir
program, not the expression.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I mention (in case it may help anybody) that i just tried running ssb-patchwork from the nix-shell ran by nixpkgs-review for this PR and ssb-patchwork crashed just the same when trying to choose an avatar. |
I marked this as stale due to inactivity. → More info |
Still relevant to me. |
We shouldn't need to use wrapGAppsHook in expressions
that use this builder. The code to do this is from #54083.
Motivation for this change
#83410 ssb-patchwork should now work without any wrapping.
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)