git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #89716 from doronbehar/polybar-gcc-ref

polybar: Don't reference gcc

commitc8479286c77f66d829894114c4481de75d25d8c8 authorLassulus <github@lassul.us> dateWed 17 Jun 2020, 16:46 (6 years ago) parenta7aab1fb64ecc3
1 file changed+6−1
pkgs/applications/misc/polybar/default.nix+6−1
pkgs/applications/misc/polybar/default.nix+6−1
@@ -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}