fix monolithic build

This commit is contained in:
Wolfgang Thaller 2021-12-08 15:59:50 +01:00
parent cdaaa97184
commit a40848ba39
1 changed files with 3 additions and 2 deletions

View File

@ -87,13 +87,14 @@ let
monolithic = with pkgs;
stdenv.mkDerivation {
name = "retro68.monolithic";
srcs = ./.;
nativeBuildInputs = [cmake bison flex ruby ninja];
src = ./.;
nativeBuildInputs = [cmake bison flex ruby ninja bash];
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
'';
hardeningDisable = [ "format" ];
};
# ----------- Native Tools -------------