hsetroot: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-16 12:20:21 +02:00 committed by Jonathan Ringer
parent 7641769055
commit eec3738f4c

View file

@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
libXinerama
];
postPatch = lib.optionalString (!stdenv.cc.isGNU) ''
sed -i -e '/--no-as-needed/d' Makefile
'';
makeFlags = [ "PREFIX=$(out)" ];
preInstall = ''