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: 1.0 -> 1.1.1 #62608
sway: 1.0 -> 1.1.1 #62608
Conversation
cc @primeos |
Relevant output
|
#60434 |
@alexarice No, I was not, thank you for bringing it to my attention. |
Doesn't help with trying to compile sway though |
(I asked on IRC, and it seems to be an upstream thing) |
Sorry for the mess. 1.1 is broken, we'll release 1.1.1 shortly to fix this. |
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.
Also: Please use nix-review
to verify that the wlroots update doesn't break other builds (at least Waybar depends on wlroots as well).
And we have to find a solution for swaybg
before we merge this.
I tested waybar with this pr, and it works as expected. |
I included swaybg as a wrapper. I think this means this PR is ready for primetime! |
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.
The change looks good now, thanks :)
I'll give it a quick try to double check that we didn't miss anything.
@alexarice thanks for the awesome review :)
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.
Unfortunately the version wasn't updated in meson.build
- could you include something like this (either with sed or via a real patch)?:
postPatch = ''
sed -iE "s/version: '1.0'/version: '${version}'/" meson.build
'';
I tested that successfully with 1.1-rc3: https://github.com/primeos/nixpkgs-primeos/blob/master/default.nix
(Note: The example only works for version 1.0 but that is on purpose as there are also other version numbers in there that we do not want to change by accident if we use regular expressions.)
Edit: And while we're at it, we could also consider enabling the RDP backend:
https://github.com/primeos/nixpkgs-primeos/blob/master/default.nix#L16
Always? (I'm not saying that's a bad idea, I'm just wondering if there are any downsides) |
This wasn't done upstream. Adapted from: https://github.com/primeos/nixpkgs-primeos/blob/5956e993dd320183f943e72fd6ec200232900249/default.nix#L32-L34 Co-Authored-By: Michael Weiss <dev.primeos@gmail.com>
I was also wondering if this is a good idea or not. An obvious downside is that we introduce an additional dependency and increase the size, but that shouldn't make a significant difference (and we also enable all other features by default). |
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.
Should be good to go :)
Should be ready for merge!
Compiles now, thanks to a new upstream release. Still waiting for a resolution of #60434.Currently does't compile, still investigating that.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)