From d9f938cc6dbd5c1b7123af33d3bfb7e1acef5174 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Mon, 14 Apr 2025 12:40:30 -0400 Subject: [PATCH] allegro5: split outputs -> out, dev This avoids referencing apple-sdk in the main output on macOS/Darwin, which saves over a gigabyte of closure size on programs built with Allegro 5. Resolves #397472. --- pkgs/development/libraries/allegro/5.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/allegro/5.nix b/pkgs/development/libraries/allegro/5.nix index b8c0b72062ac..77930cf53163 100644 --- a/pkgs/development/libraries/allegro/5.nix +++ b/pkgs/development/libraries/allegro/5.nix @@ -100,6 +100,11 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ]; + outputs = [ + "out" + "dev" + ]; + meta = with lib; { description = "Game programming library"; homepage = "https://liballeg.org/";