From 2476727700f6e02c9a95f0f0ff1d22769b044ec0 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Tue, 24 Jun 2025 13:23:34 -0400 Subject: [PATCH] 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. --- pkgs/by-name/ic/icbm3d/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ic/icbm3d/package.nix b/pkgs/by-name/ic/icbm3d/package.nix index 1973d0de4f37..270e57c3045d 100644 --- a/pkgs/by-name/ic/icbm3d/package.nix +++ b/pkgs/by-name/ic/icbm3d/package.nix @@ -26,6 +26,11 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace randnum.c --replace-fail 'stdio.h' 'stdlib.h' sed -i '1i\ #include ' 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 = ''