Files
simplex-chat/scripts/nix/native-packages.nix
T
Moritz Angermann ad69b2b1a6 fix(nix): keep Intel Darwin info tables with their entry code
Mark x86 Mach-O info entries as alternate entries in both GHC stages, so LLD preserves tables-next-to-code. Add a production compiler object/link regression to the existing Intel CI job.
2026-10-17 03:32:41 +09:00

17 lines
603 B
Nix

{ haskellNix }:
system:
# Keep haskell.nix's existing host pins, including Intel Darwin's 26.05 pin.
# Its flake omits ARM64 Linux, so construct that native set from the same inputs.
let
native = haskellNix.legacyPackages.${system} or (import haskellNix.inputs.nixpkgs {
localSystem = { inherit system; };
config = haskellNix.config;
overlays = [ haskellNix.overlay ];
});
in
if system == "x86_64-linux"
then native.appendOverlays [ (import ./native-rts-overlay.nix) ]
else if system == "x86_64-darwin"
then native.appendOverlays [ (import ./darwin-info-table-overlay.nix) ]
else native