summary refs log tree commit diff
path: root/pkgs/applications/misc/polybar/default.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-12-14 16:46:17 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-15 01:50:34 +0100
commiteb1d315cd8c44c46bfd151aee22b335e26345327 (patch)
tree55c508280b871fe78b3fcea841b73d8c779cfbe5 /pkgs/applications/misc/polybar/default.nix
parentd58a42ad78a44ebc89ccce66ee4e34ad3ba6ac29 (diff)
downloadnixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar.gz
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar.bz2
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar.lz
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar.xz
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.tar.zst
nixpkgs-eb1d315cd8c44c46bfd151aee22b335e26345327.zip
xorg.xcbproto: do not depend on python2
Diffstat (limited to 'pkgs/applications/misc/polybar/default.nix')
-rw-r--r--pkgs/applications/misc/polybar/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index fcc6ead550a..24eb6451088 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -24,8 +24,7 @@ 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 {
+stdenv.mkDerivation rec {
     pname = "polybar";
     version = "3.4.1";
 
@@ -51,7 +50,7 @@ in stdenv.mkDerivation rec {
     };
 
     buildInputs = [
-      cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto-py3 xcbutil
+      cairo libXdmcp libpthreadstubs libxcb pcre python3 xcbproto xcbutil
       xcbutilcursor xcbutilimage xcbutilrenderutil xcbutilwm xcbutilxrm
 
       (if alsaSupport   then alsaLib       else null)