Merge pull request #89716 from doronbehar/polybar-gcc-ref
polybar: Don't reference gcc
This commit is contained in:
commit
c8479286c7
@ -1,6 +1,7 @@
|
|||||||
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
|
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
|
||||||
, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
|
, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
|
||||||
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
|
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
|
||||||
|
, removeReferencesTo
|
||||||
|
|
||||||
# optional packages-- override the variables ending in 'Support' to enable or
|
# optional packages-- override the variables ending in 'Support' to enable or
|
||||||
# disable modules
|
# disable modules
|
||||||
@ -74,6 +75,10 @@ stdenv.mkDerivation rec {
|
|||||||
'' else "";
|
'' else "";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake pkgconfig
|
cmake pkgconfig removeReferencesTo
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
remove-references-to -t ${stdenv.cc} $out/bin/polybar
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user