@@ -1,6 +1,7 @@
11{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
22, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
33, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
4+, removeReferencesTo
45
56# optional packages-- override the variables ending in 'Support' to enable or
67# disable modules
@@ -74,6 +75,10 @@ stdenv.mkDerivation rec {
7475 '' else "";
7576
7677 nativeBuildInputs = [
77− cmake pkgconfig
78+ cmake pkgconfig removeReferencesTo
7879 ];
80+
81+ postFixup = ''
82+ remove-references-to -t ${stdenv.cc} $out/bin/polybar
83+ '';
7984}