-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
sway: remove swaybg from path #109647
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
sway: remove swaybg from path #109647
Conversation
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.
LGTM, I don't see any real reason not to merge this. This is a breaking change but I assume that calling swaybg
directly is very uncommon and resulting errors should be both easy to notice and resolve. Not sure why we didn't discuss patching Sway in #60434 though.
Avoids polluting the environment for sway's children.
43b46c7
to
29b14df
Compare
@primeos How's this look? |
@deviant looks good, thanks! |
My sway can't find swaybg anymore, and I expect its from this change. Any ideas why this could be happening? |
@alexarice Are you using any overlays? |
I'm using the nixpkgs-wayland overlay |
ah, this will be missing the patch right? |
Yeah. What's happening is it overrides the sway-unwrapped attribute here, but doesn't override the wrapper. Since the wrapper no longer puts swaybg in its |
Will make an issue there, thanks for the help |
Avoids polluting the environment for sway's children.
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)