diff --git a/pkgs/by-name/li/limine/package.nix b/pkgs/by-name/li/limine/package.nix index 5407319facd5..c37a67fdc47f 100644 --- a/pkgs/by-name/li/limine/package.nix +++ b/pkgs/by-name/li/limine/package.nix @@ -22,6 +22,13 @@ let || (if targets == [ ] then stdenv.hostPlatform.isx86_64 else (builtins.elem "x86_64" targets)) || enableAll; + missingZerocallusedregs = + ( + if targets == [ ] then stdenv.hostPlatform.isLoongArch64 else (builtins.elem "loongarch64" targets) + ) + || (if targets == [ ] then stdenv.hostPlatform.isRiscV64 else (builtins.elem "riscv64" targets)) + || enableAll; + biosSupport' = biosSupport && hasX86; pxeSupport' = pxeSupport && hasX86; @@ -52,6 +59,10 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; + hardeningDisable = lib.optionals missingZerocallusedregs [ + "zerocallusedregs" + ]; + nativeBuildInputs = [ llvmPackages.libllvm llvmPackages.lld diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26f8ddc1e49f..e885b3756794 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3197,6 +3197,8 @@ with pkgs; gtk3 = if stdenv.hostPlatform.isDarwin then gtk3-x11 else gtk3; }; + limine-full = limine.override { enableAll = true; }; + liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { ffmpeg = ffmpeg_6-full; ocamlPackages = ocaml-ng.ocamlPackages_4_14;