|
32 | 32 | ])."${approach}",
|
33 | 33 |
|
34 | 34 | # When changing this, also change the default version of Cabal declared below
|
35 |
| - compiler ? "ghc864", |
| 35 | + compiler ? "ghc865", |
36 | 36 |
|
37 | 37 | defaultCabalPackageVersionComingWithGhc ?
|
38 | 38 | ({
|
39 | 39 | ghc822 = "Cabal_2_2_0_1"; # TODO this is technically incorrect for ghc 8.2.2, should be 2.0.1.0, but nixpkgs doesn't have that
|
40 | 40 | ghc844 = "Cabal_2_2_0_1";
|
41 | 41 | ghc863 = throw "static-haskell-nix: ghc863 is no longer supported, please upgrade";
|
42 |
| - ghc864 = "Cabal_2_4_1_0"; # TODO this is technically incorrect for ghc 8.6.4, should be 2.4.0.1, but nixpkgs doesn't have that |
| 42 | + ghc864 = throw "static-haskell-nix: ghc863 is no longer supported, please upgrade"; |
43 | 43 | ghc865 = "Cabal_2_4_1_0"; # TODO this is technically incorrect for ghc 8.6.5, should be 2.4.0.1, but nixpkgs doesn't have that
|
| 44 | + ghc881 = "Cabal_3_0_0_0"; |
44 | 45 | }."${compiler}"),
|
45 | 46 |
|
46 | 47 | # Use `integer-simple` instead of `integer-gmp` to avoid linking in
|
|
562 | 563 | zlib_both = statify_zlib previous.zlib;
|
563 | 564 | # Also override the original packages with a throw (which as of writing
|
564 | 565 | # has no effect) so we can know when the bug gets fixed in the future.
|
565 |
| - acl = issue_61682_throw "acl" previous.acl; |
566 |
| - attr = issue_61682_throw "attr" previous.attr; |
567 |
| - bash = issue_61682_throw "bash" previous.bash; |
568 |
| - coreutils = issue_61682_throw "coreutils" previous.coreutils; |
569 |
| - diffutils = issue_61682_throw "diffutils" previous.diffutils; |
570 |
| - findutils = issue_61682_throw "findutils" previous.findutils; |
571 |
| - gawk = issue_61682_throw "gawk" previous.gawk; |
572 |
| - gnugrep = issue_61682_throw "gnugrep" previous.gnugrep; |
573 |
| - gnumake = issue_61682_throw "gnumake" previous.gnumake; |
574 |
| - gnupatch = issue_61682_throw "gnupatch" previous.gnupatch; |
575 |
| - gnused = issue_61682_throw "gnused" previous.gnused; |
576 |
| - gnutar = issue_61682_throw "gnutar" previous.gnutar; |
577 |
| - gzip = issue_61682_throw "gzip" previous.gzip; |
578 |
| - patchelf = issue_61682_throw "patchelf" previous.patchelf; |
579 |
| - xz = issue_61682_throw "xz" previous.xz; |
| 566 | + # [previously there were overrides here, but they stopped working, read below] |
580 | 567 | # For unknown reason we can't do this check on `zlib`, because if we do, we get:
|
581 | 568 | #
|
582 | 569 | # while evaluating the attribute 'zlib_static' at /home/niklas/src/haskell/static-haskell-nix/survey/default.nix:498:5:
|
|
591 | 578 | # https://github.com/nh2/static-haskell-nix/issues/47.
|
592 | 579 | #bzip2 = issue_61682_throw "bzip2" previous.bzip2;
|
593 | 580 | #pcre = issue_61682_throw "pcre" previous.pcre;
|
| 581 | + # Since the update to nixpkgs master for #61 also for these, |
| 582 | + # see https://github.com/NixOS/nixpkgs/issues/61682#issuecomment-544215621 |
| 583 | + #acl = issue_61682_throw "acl" previous.acl; |
| 584 | + #attr = issue_61682_throw "attr" previous.attr; |
| 585 | + #bash = issue_61682_throw "bash" previous.bash; |
| 586 | + #coreutils = issue_61682_throw "coreutils" previous.coreutils; |
| 587 | + #diffutils = issue_61682_throw "diffutils" previous.diffutils; |
| 588 | + #findutils = issue_61682_throw "findutils" previous.findutils; |
| 589 | + #gawk = issue_61682_throw "gawk" previous.gawk; |
| 590 | + #gnugrep = issue_61682_throw "gnugrep" previous.gnugrep; |
| 591 | + #gnumake = issue_61682_throw "gnumake" previous.gnumake; |
| 592 | + #gnupatch = issue_61682_throw "gnupatch" previous.gnupatch; |
| 593 | + #gnused = issue_61682_throw "gnused" previous.gnused; |
| 594 | + #gnutar = issue_61682_throw "gnutar" previous.gnutar; |
| 595 | + #gzip = issue_61682_throw "gzip" previous.gzip; |
| 596 | + #patchelf = issue_61682_throw "patchelf" previous.patchelf; |
| 597 | + #xz = issue_61682_throw "xz" previous.xz; |
594 | 598 |
|
595 | 599 | postgresql = (previous.postgresql.overrideAttrs (old: { dontDisableStatic = true; })).override {
|
596 | 600 | # We need libpq, which does not need systemd,
|
|
0 commit comments