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
polybar: init at 3.0.4 #22222
polybar: init at 3.0.4 #22222
Conversation
Polybar is a status bar in the vein of xmobar or i3bar.
Fairly sure I'm read to have this merged in, provided tests start passing. |
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.
Small issues, otherwise works great! 👍
stdenv.mkDerivation rec { | ||
name = "polybar-${version}"; | ||
version = "3.0.4"; | ||
src = fetchgit { |
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.
You should use fetchFromGithub
here, which downloads less data
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.
Sadly fetchFromGitHub doesn't include submodules, which causes the build process to break.
url = "https://github.com/jaagr/polybar"; | ||
rev = "1f31870d43f5cd87a5529a55b1d2d3e64105e0af"; | ||
sha256 = "1nhj4npqhs6zy161931sbdi52gz6163lik0wri9wr122sjf90jas"; | ||
fetchSubmodules = true; |
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.
This is the 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.
Fixed!
(if i3GapsSupport then i3-gaps else null) | ||
]; | ||
|
||
nativeBuildInputs = [ |
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 think this should simply be buildInputs
. nativeBuildInputs
is used when cross-compiling, which isn't the case here.
EDIT: it actually makes sense to leave it as is, please disregard.
Polybar is a nice X11 status bar in the vein of i3bar or xmobar.
https://github.com/jaagr/polybar
Ignore the source branch name-- this developer moves fairly quickly :)
Reviewed points
meta.description
is set and fits guidelinesmeta.license
fits upstream licensemeta.platforms
is setmeta.maintainers
is setnativeBuildInputs
fetchpatch
Possible improvements
config.environment
setting on NixOS?Comments