git.iko.soy/typeable/nixpkgs
on master help sign in
hsetroot: fix darwin build
commiteec3738f4c033b38b4ddd542f796418955258116 authorStéphan Kochen <git@stephank.nl> dateSun 16 May 2021, 12:20 (6 years ago) parent7641769
1 file changed+4
pkgs/tools/X11/hsetroot/default.nix+4
pkgs/tools/X11/hsetroot/default.nix+4
@@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
2424 libXinerama
2525 ];
2626
27+ postPatch = lib.optionalString (!stdenv.cc.isGNU) ''
28+ sed -i -e '/--no-as-needed/d' Makefile
29+ '';
30+
2731 makeFlags = [ "PREFIX=$(out)" ];
2832
2933 preInstall = ''