xbomb: clean up

Use makeFlags instead of patching Makefile
This commit is contained in:
Jan Tojnar 2019-12-29 22:13:56 +01:00
parent 86d3c33475
commit 814dcd907f
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -9,10 +9,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 libXaw ]; buildInputs = [ libX11 libXaw ];
preBuild = '' makeFlags = [
substituteInPlace Makefile \ "INSTDIR=${placeholder ''out''}"
--replace /usr/local $out ];
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://www.gedanken.org.uk/software/xbomb/; homepage = http://www.gedanken.org.uk/software/xbomb/;