From cdaaa9718469095dd2c25385a2b02c67cdfd9514 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Wed, 8 Dec 2021 10:58:51 +0100 Subject: [PATCH] add retro68.monolithic --- default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 0b6e81fcc2..874a261e75 100644 --- a/default.nix +++ b/default.nix @@ -84,6 +84,18 @@ let retro68 = { platforms = retroPlatforms; + monolithic = with pkgs; + stdenv.mkDerivation { + name = "retro68.monolithic"; + srcs = ./.; + nativeBuildInputs = [cmake bison flex ruby ninja]; + buildInputs = [boost gmp mpfr libmpc zlib] + ++ lib.optional hostPlatform.isDarwin darwin.apple_sdk.frameworks.ApplicationServices; + buildCommand = '' + bash $src/build-toolchain.bash --ninja --prefix=$out --no-carbon + ''; + }; + # ----------- Native Tools ------------- # hfsutils -- Utilities for manipulating HFS volumes & disk images. hfsutils = with pkgs; @@ -361,4 +373,4 @@ let buildInputs = [ cross.retro68.console ]; } // cross) crossPkgs; -in shell.m68k // shell // { inherit overlay; } +in shell.m68k // shell // { inherit overlay; inherit (pkgs) retro68; }