icbm3d: remove install commands from makefile

The Makefile tries to install icbm3d immediately after building it, and
ends up trying to copy it to /icbm3d. Normally this just gets an error
and moves on, but it's probably better to not try it in the first place.
This commit is contained in:
Rhys-T
2025-06-24 14:06:00 -04:00
parent 2d4449f738
commit 2476727700
+5
View File
@@ -26,6 +26,11 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace randnum.c --replace-fail 'stdio.h' 'stdlib.h'
sed -i '1i\
#include <string.h>' text.c
# The Makefile tries to install icbm3d immediately after building it, and
# ends up trying to copy it to /icbm3d. Normally this just gets an error
# and moves on, but it's probably better to not try it in the first place.
sed -i '/INSTALLROOT/d' makefile
'';
installPhase = ''