3
0
Fork 0
forked from mirrors/nixpkgs

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 ];
preBuild = ''
substituteInPlace Makefile \
--replace /usr/local $out
'';
makeFlags = [
"INSTDIR=${placeholder ''out''}"
];
meta = with stdenv.lib; {
homepage = http://www.gedanken.org.uk/software/xbomb/;