polybar: remove doing nothing postConfigure

This commit is contained in:
Doron Behar 2020-02-11 14:19:44 +02:00 committed by Alyssa Ross
parent bf71875060
commit cc5665d223

View file

@ -68,11 +68,6 @@ stdenv.mkDerivation rec {
(if i3Support || i3GapsSupport then makeWrapper else null) (if i3Support || i3GapsSupport then makeWrapper else null)
]; ];
postConfigure = ''
substituteInPlace generated-sources/settings.hpp \
--replace "${stdenv.cc}" "${stdenv.cc.name}"
'';
postInstall = if (i3Support || i3GapsSupport) then '' postInstall = if (i3Support || i3GapsSupport) then ''
wrapProgram $out/bin/polybar \ wrapProgram $out/bin/polybar \
--prefix PATH : "${if i3Support then i3 else i3-gaps}/bin" --prefix PATH : "${if i3Support then i3 else i3-gaps}/bin"