-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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: 3.4.0 -> 3.4.1 #73218
polybar: 3.4.0 -> 3.4.1 #73218
Conversation
Hi I tried to build this with
Anyway I made these changes against diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index 9ca8c696184..5ca2ffc4430 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -1,5 +1,5 @@
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
-, python2, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
+, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
# optional packages-- override the variables ending in 'Support' to enable or
@@ -24,15 +24,19 @@ assert nlSupport -> ! iwSupport && libnl != null;
assert i3Support -> ! i3GapsSupport && jsoncpp != null && i3 != null;
assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null;
+let
+ xcbproto-py3 = xcbproto.override { python = python3; };
+in
+
stdenv.mkDerivation rec {
pname = "polybar";
- version = "3.4.0";
+ version = "3.4.1";
src = fetchFromGitHub {
- owner = "jaagr";
+ owner = pname;
repo = pname;
rev = version;
- sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
+ sha256 = "1z1m6dxh2i5vsnkzaccb9j02ab05wgmcgig5d0l9w856g5jp3zmy";
fetchSubmodules = true;
};
@@ -50,7 +54,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- cairo libXdmcp libpthreadstubs libxcb pcre python2 xcbproto xcbutil
+ cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto-py3 xcbutil
xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm
(if alsaSupport then alsaLib else null) |
@samdoshi Thanks a lot for your help! |
do you mind squashing this down to 2 commits?
should be the bump, and add as maintainer. |
24fadb8
to
ac6e404
Compare
- Replace `python2` with `python3` Co-authored-by: Sam Doshi <samdoshi@users.noreply.github.com>
ac6e404
to
d6baaeb
Compare
r? @jonringer |
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.
nix-review
passes on NixOS
diff LGTM
commits LGTM
executables show usage
[5 built, 89 copied (91.7 MiB), 15.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/73218
2 package were built:
polybar polybarFull
@GrahamcOfBorg build polybar polybarFull |
alsa-lib doesn't build on darwin.
@GrahamcOfBorg build polybar polybarFull |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Thanks everyone! 🎉 |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @afldcr
This change is