1275 Commits

Author SHA1 Message Date
Emily fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
nixpkgs-ci[bot] 2bf9083cd3 Merge master into staging-next 2026-05-15 16:42:24 +00:00
Kirill Radzikhovskyy 94fda3c5d0 ghc: fix c++ linkage and c standard for < 9.10 on darwin 2026-05-15 11:56:14 +10:00
nixpkgs-ci[bot] 9618398486 Merge 025c852a89 into haskell-updates 2026-04-18 00:33:53 +00:00
nixpkgs-ci[bot] fe636a301d Merge master into staging-next 2026-04-17 06:39:17 +00:00
Alexandre Esteves 4c83b2b646 haskell.compiler.ghc: relax native requirement with 'canExecute' 2026-04-11 14:13:05 +01:00
Wolfgang Walther 19885395bb haskell.compiler.ghc9122: drop
Latest 9.12.x minor release is 9.12.4, which is also in Stackage Nightly
already, so will never be the latest in a Stackage major version.

Thus, dropping according to the GHC Deprecation Policy.
2026-04-10 10:50:02 +02:00
Wolfgang Walther 6a42f32f4b ghc/common-hadrian: skip .1 on versionOlder checks
This makes it a tad clearer that this matches only the prior major
versions.
2026-04-10 10:38:57 +02:00
Wolfgang Walther e28db541d4 haskell.compiler.ghc9102: drop
Latest 9.10.x minor release is 9.10.3, which is also in Stackage 24.12+.

Thus, dropping according to the GHC Deprecation Policy.
2026-04-10 10:38:56 +02:00
K900 1d02ed1988 Merge remote-tracking branch 'origin/staging-next' into staging 2026-03-29 15:20:39 +03:00
sternenseemann 471b76f833 haskell.compiler.ghc9124: init at 9.12.4
https://www.haskell.org/ghc/blog/20260327-ghc-9.12.4-released.html
2026-03-29 13:46:32 +02:00
sternenseemann 2b2e1c60eb haskell.compiler.ghcHEAD: stop applying upstreamed sphinx 9 patch 2026-03-28 23:02:23 +01:00
Michael Daniels 58d09c8cda Merge branch 'staging-next' into staging 2026-03-23 17:22:18 -04:00
sternenseemann 267a485191 haskell.compiler.ghcHEAD: 9.15.20251225 -> 9.15.20260322 2026-03-23 01:02:16 +01:00
sternenseemann 0dad55e848 pkgsCross.ghcjs.ghc: fix rts/Types.h missing for GHC >= 9.12.3 2026-03-23 01:02:16 +01:00
sternenseemann b1f31b6634 haskellPackages: stackage LTS 24.29 -> LTS 24.32 (#493468) 2026-03-12 22:32:27 +00:00
Alexandre Esteves ce35c1b37c haskell.compiler.ghcHEAD: 9.15.20251225 -> 9.15.20260218 2026-02-18 23:52:55 +00:00
Michael Daniels 518574dbaa Merge commit '24c32abce296e4e182b1cbd0f1236ba65703a711' into haskell-updates 2026-02-17 19:57:04 -05:00
nixpkgs-ci[bot] 33fe19d74d Merge staging-next into staging 2026-02-16 10:40:28 +00:00
nixpkgs-ci[bot] 3013e353b1 Merge master into staging-next 2026-02-16 10:39:48 +00:00
sternenseemann e176f25e6c haskell.compiler.ghc9123: apply patch for incorrect subword division
This is a simple revert, so easy to apply. Unfortunately, it seems
like it'll be some time until 9.12.4 is released…

Debian and Fedora seem to have opted for patching this issue, too.
2026-02-15 18:14:02 +01:00
Wolfgang Walther aa65bd3472 haskell.compiler.ghc984Binary: fix build on systems with older glibc (#488746) 2026-02-13 13:30:48 +00:00
Rohit Singh aad5152508 haskell.compiler.ghc984Binary: fix build on systems with older glibc
Patch shebangs in mk/ scripts to prevent them from using the system's
/bin/sh, which can load incompatible libraries via LD_LIBRARY_PATH.
This fixes builds on systems where the system glibc is older than what
nixpkgs dependencies require.
2026-02-12 04:39:56 -05:00
sternenseemann 3c04c957b1 Merge haskell-updates PR #485516 into staging 2026-02-08 14:12:07 +01:00
sternenseemann 9b8edf6997 ghc: Fix regression in unregisterised builds (#487958) 2026-02-08 10:29:54 +00:00
Alex Tunstall 9cc5b1ec94 ghc: Fix regression in unregisterised builds
The default GCC compiler in Nixpkgs was recently changed, bringing in a
new default C standard (gnu23), which GHC's C backend is not compatible
with.
This fix adds a flag to force GCC to use an older compatible C standard.
2026-02-07 12:57:27 +00:00
sternenseemann fb534f7edc haskell.compiler.*: fix user's guide build with Sphinx 9 2026-02-01 17:41:04 +01:00
Alexandre Esteves b6af0dc28e haskellPackages: allow configuring gmp when cross compiling
Fixes error:
  linux: iserv-proxy-interpreter: Failed to lookup symbol: __gmpn_cmp
2026-01-31 02:10:27 +00:00
Alexandre Esteves c83edba0a5 haskellPackages: prepend triple to targetPrefix only when the target is a different triple 2026-01-28 00:25:37 +00:00
Alexandre Esteves 461141205e haskellPackages: enable ncurses when compiling for same triple rather than same platform 2026-01-28 00:25:37 +00:00
Michael Daniels 3378ed55e9 Merge "$(git merge-base master staging)" (565e0c1f0f) into haskell-updates 2026-01-23 20:01:43 -05:00
OPNA2608 12ebd346e5 haskell.compiler.ghc9123: Don't apply backported ppc64 ELFv1 patch 2026-01-21 12:14:30 +01:00
Alexandre Esteves 616400cc84 haskellPackages: restrict version range of upstreamed ghc patches 2026-01-18 03:31:54 +00:00
Alexandre Esteves 46e08b5776 haskellPackages: apply some recent cross fixes only on ghc 9.10+ 2026-01-13 21:34:59 +00:00
Wolfgang Walther 0cc1b420d0 haskell.compiler: use structured attrs for hadrianFlags (#475546) 2026-01-11 21:13:54 +00:00
sternenseemann 9e1e793038 haskell.compiler: use structured attrs for hadrianFlags 2026-01-11 22:04:08 +01:00
Alexandre Esteves 43cc9f578a haskellPackages: unconditionally apply GHC patches waiting on upstream developments 2026-01-10 22:32:01 +00:00
Wolfgang Walther f57fd108e9 haskell.compiler: Apply patches to fix PPC64 ELFv2 support (#462247) 2026-01-10 10:45:37 +00:00
nixpkgs-ci[bot] ede677e1e7 Merge aaae520562 into haskell-updates 2026-01-10 00:23:19 +00:00
nixpkgs-ci[bot] ee52662516 Merge staging-next into staging 2026-01-10 00:19:00 +00:00
Wolfgang Walther 5635b032a7 haskell.compiler.ghc966DebianBinary: fix evaling pname (#478128) 2026-01-09 21:08:28 +00:00
jopejoe1 638a2be773 haskell.compiler.ghc966DebianBinary: fix evaling pname
pname needs to always be evaluable so that our package index can be correctly generatedw
2026-01-09 15:39:05 +01:00
OPNA2608 a6e07f0795 haskell.compiler.ghc966DebianBinary: Fix download
Add snapshot.debian.org as fallback url.
2026-01-09 12:57:04 +01:00
Michael Daniels cc07b116e4 Merge '$(git merge-base upstream/staging upstream/master)' into haskell-updates 2025-12-30 19:55:16 -05:00
nixpkgs-ci[bot] 86d3eb3279 Merge c4cfc9ced3 into haskell-updates 2025-12-30 15:19:43 +00:00
sternenseemann 66b87c1507 Merge staging-next into staging 2025-12-30 16:11:51 +01:00
nixpkgs-ci[bot] 49663d6264 Merge master into staging-next 2025-12-30 15:03:52 +00:00
sternenseemann 867f6b8b28 haskell.compiler.ghc9123: init at 9.12.3 (#474597) 2025-12-30 14:26:52 +00:00
nixpkgs-ci[bot] 6dac5d40bc Merge staging-next into staging 2025-12-30 11:39:05 +00:00
nixpkgs-ci[bot] 845c1e4ab3 Merge master into staging-next 2025-12-30 11:38:28 +00:00