1 # pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
3 # This is a list of packages with versions from the latest Stackage LTS release.
5 # The packages and versions in this list cause the `hackage2nix` tool to
6 # generate the package at the given version.
8 # For instance, with a line like the following:
12 # `hackage2nix` will generate the `aeson` package at version 1.4.6.0 in the
13 # ./hackage-packages.nix file.
15 # Since the packages in the LTS package set are sometimes older than the latest
16 # on Hackage, `hackage2nix` is smart enough to also generate the latest version
19 # In the above example with aeson, if there was version 1.5.0.0 of aeson
20 # available on Hackage, `hackage2nix` would generate two packages, `aeson`
21 # at version 1.4.6.0 and `aeson_1_5_0_0` at version 1.5.0.0.
23 # WARNING: We import a list of default-package-overrides from stackage which is
24 # tracked in stackage.yaml. Adding conflicting overrides with stackage here will
26 default-package-overrides:
27 # gi-gdkx11-4.x requires gtk-4.x, but stackage still restricts gi-gtk to 3.*
29 # 2021-11-09: ghc-bignum is bundled starting with 9.0.1; only 1.0 builds with GHCs prior to 9.2.1
31 - extensions < 0.1.0.2 # Incompatible with Cabal < 3.12, the newest extensions version is only needed on ghc 9.10
32 # 2024-05-10: need to match hlegder from stackage
34 - chs-cabal < 0.1.1.2 # Incompatible with Cabal < 3.12
35 # 2024-08-17: Stackage doesn't contain hnix-store-core >= 0.8 yet, so we need to restrict hnix-store-remote
36 - hnix-store-remote < 0.7
37 # 2024-09-12: match xmonad 0.17.* from Stackage LTS
38 - xmonad-contrib < 0.18.1
39 # 2024-11-01: no release version of http2/3 supports http-semantics >= 0.3.0 at the moment
40 - http-semantics < 0.3.0
43 - Cabal == 3.2.* # Used for packages needing newer Cabal on ghc 8.6 and 8.8
44 - Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8
45 - Cabal-syntax == 3.8.* # version required for ormolu and fourmolu on ghc 9.2 and 9.0
46 - Cabal-syntax == 3.10.*
48 - Cabal == 3.12.* # version required for cabal-install and other packages
49 - Cabal-syntax == 3.12.* # version required for cabal-install and other packages
50 - aeson < 2 # required by pantry-0.5.2
51 - apply-refact == 0.9.* # 2022-12-12: needed for GHC < 9.2
52 - apply-refact == 0.11.* # 2023-02-02: needed for hls-hlint-plugin on GHC 9.2
53 - attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now
54 - ghc-api-compat == 8.10.7 # 2022-02-17: preserve for GHC 8.10.7
55 - ghc-exactprint == 0.6.* # 2022-12-12: needed for GHC < 9.2
56 - ghc-exactprint == 1.5.* # 2023-03-30: needed for GHC == 9.2
57 - ghc-exactprint == 1.6.* # 2023-03-30: needed for GHC == 9.4
58 - ghc-exactprint == 1.8.* # 2024-05-20: needed for GHC == 9.8
59 - ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
60 - ghc-lib == 9.2.* # 2022-02-17: preserve for GHC 8.10, 9.0
61 - ghc-lib == 9.8.* # 2024-05-19: preserve for GHC 9.8
62 - ghc-lib-parser == 9.2.* # 2022-02-17: preserve for GHC 8.10, 9.0
63 - ghc-lib-parser == 9.8.* # 2024-05-19: preserve for GHC 9.8
64 - ghc-lib-parser-ex == 9.2.* # 2022-07-13: preserve for GHC 8.10, 9.0
65 - ghc-lib-parser-ex == 9.8.* # 2024-05-19: preserve for GHC 9.8
66 - happy == 1.19.12 # for ghcjs
67 - hashable == 1.4.7.0 # allows GHC 9.10
68 - ansi-wl-pprint >= 0.6 && < 0.7 # 2024-03-23: required for ghcjs
69 - hlint == 3.4.1 # 2022-09-21: needed for hls with ghc-lib-parser 9.2
70 - hnix-store-core < 0.7 # 2023-12-11: required by hnix-store-remote 0.6
71 - hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
72 - hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
73 - hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
74 - hspec-megaparsec == 2.2.0 # 2023-11-18: Latest version compatible with ghc 9.0, needed for HLS
75 - hspec-meta < 2.8 # 2022-12-07: Needed for elmPackages.elm / hspec-discover
76 - immortal == 0.2.2.1 # required by Hasura 1.3.1, 2020-08-20
77 - language-docker == 11.0.0 # required by hadolint 2.12.0, 2022-11-16
78 - language-javascript == 0.7.0.0 # required by purescript
79 - lsp == 2.1.0.0 # 2024-02-28: need for dhall-lsp-server unstable
80 - lsp-types == 2.0.2.0 # 2024-02-28: need for dhall-lsp-server unstable
81 - lsp < 2.5 # 2024-07-08: need for koka
82 - lsp-types < 2.2 # 2024-07-08: need for koka
83 - optparse-applicative < 0.16 # needed for niv-0.2.19
84 - fourmolu == 0.14.0.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
85 - fourmolu == 0.15.0.0 # 2024-07-07: for ghc 9.8 compat
86 - ormolu == 0.5.2.0 # 2023-08-08: for hls on ghc 9.0 and 9.2
87 - ormolu == 0.7.2.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
88 - ormolu == 0.7.4.0 # 2024-07-07: for ghc 9.8 compat
89 - primitive-unlifted == 0.1.3.1 # 2024-03-16: Needed for hls on ghc 9.2
90 - stylish-haskell == 0.14.4.0 # 2022-09-19: needed for hls on ghc 9.2
91 - text == 2.0.2 # 2023-09-14: Needed for elm (which is currently on ghc-8.10)
92 - weeder == 2.2.* # 2022-02-21: preserve for GHC 8.10.7
93 - weeder == 2.3.* # 2022-05-31: preserve for GHC 9.0.2
94 - weeder == 2.4.* # 2023-02-02: preserve for GHC 9.2.*
95 - retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2
96 - ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
97 - ghc-tags == 1.6.* # 2023-02-18: preserve for ghc-lib == 9.4.*
98 - ghc-tags == 1.7.* # 2023-02-18: preserve for ghc-lib == 9.6.*
99 - ghc-tags == 1.8.* # 2023-02-18: preserve for ghc-lib == 9.8.*
100 - shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
101 - algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
102 - fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
103 - ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
104 - versions < 6 # 2024-04-22: required by spago-0.21
105 - fsnotify < 0.4 # 2024-04-22: required by spago-0.21
106 - th-desugar == 1.16 # 2024-06-28: preserve for GHC 9.8
107 - singletons-th == 3.3 # 2024-06-28: preserve for GHC 9.8
108 - singletons-base == 3.3 # 2024-06-28: preserve for GHC 9.8
109 - tls < 2.1.0 # 2024-07-19: requested by darcs == 2.18.3
110 - extensions == 0.1.0.2 # 2024-10-20: for GHC 9.10/Cabal 3.12
111 - network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
122 - commutative-semigroups
125 - dependent-monoidal-map
127 - dependent-sum-aeson-orphans
128 - dependent-sum-template
130 - gargoyle-postgresql
131 - gargoyle-postgresql-connect
132 - gargoyle-postgresql-nix
137 - ghcjs-dom-javascript
152 - monoidal-containers
155 - proto-lens-arbitrary
186 - pinboard-notes-backup
229 - unleash-client-haskell
230 - unleash-client-haskell-core
285 - elm-export-persistent
302 - haskell-language-server
326 - streamly-bytestring
344 - tasty-expected-failure
354 - logging-facade-syslog
356 - structured-haskell-mode
370 - persistent-template
374 - generic-data-functions
385 - cabal-pkg-config-version-hook
388 - hercules-ci-api-agent
389 - hercules-ci-api-core
391 - hercules-ci-cnix-expr
392 - hercules-ci-cnix-store
418 - optparse-applicative-cmdline-util
437 - update-nix-fetchgit
443 # also maintain upstream package
445 - distribution-nixpkgs
451 # other packages I can help out for
476 - aeson-better-errors
478 - containers-unicode-symbols
489 - essence-of-live-coding
490 - essence-of-live-coding-gloss
491 - essence-of-live-coding-pulse
492 - essence-of-live-coding-quickcheck
493 - essence-of-live-coding-warp
501 - simple-affine-space
504 - accelerate-arithmetic
514 - battleship-combinatorics
526 - comfort-array-shape
533 - data-accessor-template
534 - data-accessor-transformers
536 - doctest-exitcode-stdio
570 - quickcheck-transformer
588 - synthesizer-dimensional
611 - netlib-comfort-array
613 - lapack-comfort-array
647 unsupported-platforms:
648 Allure: [ platforms.darwin ]
649 bdcs-api: [ platforms.darwin ]
650 bindings-directfb: [ platforms.darwin ]
651 bindings-sane: [ platforms.darwin ]
652 bustle: [ platforms.darwin ] # uses glibc-specific ptsname_r
653 bytelog: [ platforms.darwin ] # due to posix-api
654 camfort: [ aarch64-linux ]
655 chalkboard: [ platforms.darwin ] # depends on Codec-Image-DevIL
656 chalkboard-viewer: [ platforms.darwin ] # depends on chalkboard
657 charsetdetect: [ aarch64-linux ] # not supported by vendored lib / not configured properly https://github.com/batterseapower/libcharsetdetect/issues/3
658 Codec-Image-DevIL: [ platforms.darwin ] # depends on mesa
659 coinor-clp: [ aarch64-linux ] # aarch64-linux is not supported by required system dependency clp
660 cut-the-crap: [ platforms.darwin ]
661 essence-of-live-coding-PortMidi: [ platforms.darwin ]
662 Euterpea: [ platforms.darwin ]
663 follow-file: [ platforms.darwin ]
664 freenect: [ platforms.darwin ]
665 FTGL: [ platforms.darwin ]
666 fuzzytime: [ platforms.darwin ] # https://github.com/kamwitsta/fuzzytime/issues/2
667 ghc-gc-hook: [ platforms.darwin ] # requires C11 threads which Apple doesn't support
668 gi-adwaita: [ platforms.darwin ]
669 gi-dbusmenugtk3: [ platforms.darwin ]
670 gi-dbusmenu: [ platforms.darwin ]
671 gi-ggit: [ platforms.darwin ]
672 gi-gtk-layer-shell: [ platforms.darwin ] # depends on gtk-layer-shell which is not supported on darwin
673 gi-ibus: [ platforms.darwin ]
674 gi-javascriptcore: [ platforms.darwin ] # webkitgtk marked broken on darwin
675 gi-ostree: [ platforms.darwin ]
676 gi-vte: [ platforms.darwin ]
677 gi-webkit2webextension: [ platforms.darwin ] # webkitgtk marked broken on darwin
678 gi-webkit2: [ platforms.darwin ] # webkitgtk marked broken on darwin
679 gi-wnck: [ platforms.darwin ]
680 gl: [ platforms.darwin ] # depends on mesa
681 GLHUI: [ platforms.darwin ] # depends on mesa
682 gnome-keyring: [ platforms.darwin ]
683 grid-proto: [ platforms.darwin ]
684 gtk-sni-tray: [ platforms.darwin ]
685 h-raylib: [ platforms.darwin ] # depends on mesa
686 haskell-snake: [ platforms.darwin ]
687 hcwiid: [ platforms.darwin ]
688 HDRUtils: [ platforms.darwin ]
689 hinotify-bytestring: [ platforms.darwin ]
690 honk: [ platforms.darwin ]
691 HSoM: [ platforms.darwin ]
692 intricacy: [ platforms.darwin ] # depends on mesa
693 iwlib: [ platforms.darwin ]
694 Jazzkell: [ platforms.darwin ] # depends on Euterpea
695 jsaddle-webkit2gtk: [ platforms.darwin ]
696 Kulitta: [ platforms.darwin ] # depends on Euterpea
697 LambdaHack: [ platforms.darwin ]
698 large-hashable: [ aarch64-linux ] # https://github.com/factisresearch/large-hashable/issues/17
699 libmodbus: [ platforms.darwin ]
700 libsystemd-journal: [ platforms.darwin ]
701 libtelnet: [ platforms.darwin ]
702 libvirt-hs: [ platforms.darwin ] # spidermonkey is not supported on darwin
703 libzfs: [ platforms.darwin ]
704 linearEqSolver: [ aarch64-linux ]
705 lio-fs: [ platforms.darwin ]
706 logging-facade-journald: [ platforms.darwin ]
707 longshot: [ aarch64-linux ]
708 mpi-hs: [ aarch64-linux, platforms.darwin ]
709 mpi-hs-binary: [ aarch64-linux, platforms.darwin ]
710 mpi-hs-cereal: [ aarch64-linux, platforms.darwin ]
711 mpi-hs-store: [ aarch64-linux, platforms.darwin ]
712 mplayer-spot: [ aarch64-linux, platforms.darwin ]
713 mptcp-pm: [ platforms.darwin ]
714 netlink: [ platforms.darwin ]
715 network-unexceptional: [ platforms.darwin ] # depends on posix-api
716 notifications-tray-icon: [ platforms.darwin ] # depends on gi-dbusmenu
717 oculus: [ platforms.darwin ]
718 ostree-pin: [ platforms.darwin ] # depends on gi-ostree
719 pam: [ platforms.darwin ]
720 parport: [ platforms.darwin ]
721 persist-state: [ aarch64-linux, armv7l-linux ] # https://github.com/minad/persist-state/blob/6fd68c0b8b93dec78218f6d5a1f4fa06ced4e896/src/Data/PersistState.hs#L122-L128
722 piyo: [ platforms.darwin ]
723 PortMidi-simple: [ platforms.darwin ]
724 PortMidi: [ platforms.darwin ]
725 portmidi-utility: [ platforms.darwin ]
726 posix-api: [ platforms.darwin ]
727 Raincat: [ platforms.darwin ]
728 reactive-balsa: [ platforms.darwin ] # depends on alsa-core
729 reflex-dom-fragment-shader-canvas: [ platforms.darwin, aarch64-linux ]
730 reflex-localize-dom: [ platforms.darwin, aarch64-linux ]
731 rtlsdr: [ platforms.darwin ]
732 rubberband: [ platforms.darwin ]
733 SDL-mixer: [ platforms.darwin ] # depends on mesa
734 SDL-mpeg: [ platforms.darwin ] # depends on mesa
735 sdl2-mixer: [ platforms.darwin ]
736 sdl2-ttf: [ platforms.darwin ]
737 sdr: [ platforms.darwin ] # depends on rtlsdr
738 sensei: [ platforms.darwin ]
739 sockets: [ platforms.darwin ] # depends on posix-api
740 spade: [ platforms.darwin ] # depends on sdl2-mixer, which doesn't work on darwin
741 synthesizer-alsa: [ platforms.darwin ]
742 taffybar: [ platforms.darwin ]
743 twirl: [ platforms.darwin ] # depends on sdl2-mixer
744 emanote: [ x86_64-darwin ] # Depends on stork which is broken on macOS sdk < 10.14
745 termonad: [ platforms.darwin ]
746 tokyotyrant-haskell: [ platforms.darwin ]
747 Unixutils-shadow: [ platforms.darwin ]
748 verifiable-expressions: [ aarch64-linux ]
749 vrpn: [ platforms.darwin ]
750 vulkan: [ i686-linux, armv7l-linux, platforms.darwin ]
751 VulkanMemoryAllocator: [ i686-linux, armv7l-linux, platforms.darwin ]
752 vulkan-utils: [ platforms.darwin ]
753 webkit2gtk3-javascriptcore: [ platforms.darwin ]
754 wiringPi: [ aarch64-darwin ]
755 xattr: [ platforms.darwin ]
756 xgboost-haskell: [ aarch64-linux, armv7l-linux, platforms.darwin ]
757 xmobar: [ platforms.darwin ]
758 xmonad-extras: [ platforms.darwin ]
759 xmonad-volume: [ platforms.darwin ]
760 xnobar: [ platforms.darwin ]
761 kmonad: [ platforms.darwin ]
764 AWin32Console: [ platforms.windows ]
765 alsa-mixer: [ platforms.linux ]
766 alsa-pcm: [ platforms.linux ]
767 alsa-seq: [ platforms.linux ]
768 barbly: [ platforms.darwin ]
769 bindings-parport: [ platforms.linux ] # parport is a linux kernel component
770 blake3: [ platforms.x86 ] # uses x86 intrinsics
771 btrfs: [ platforms.linux ] # depends on linux
772 bytepatch: [ platforms.x86 ] # due to blake3
773 cpuid: [ platforms.x86 ] # needs to be i386 compatible (IA-32)
774 cpython: [ platforms.x86 ] # c2hs errors on glibc headers
775 crc32c: [ platforms.x86 ] # uses x86 intrinsics
776 d3d11binding: [ platforms.windows ]
777 DirectSound: [ platforms.windows ]
778 dx9base: [ platforms.windows ]
779 dx9d3d: [ platforms.windows ]
780 dx9d3dx: [ platforms.windows ]
781 erebos-tester: [ platforms.linux ] # depends on linux-namespaces
782 evdev: [ platforms.linux ]
783 evdev-streamly: [ platforms.linux ]
784 geomancy: [ platforms.x86 ] # x86 intrinsics
785 geomancy-layout: [ platforms.x86 ] # x86 intrinsics
786 gi-gtkosxapplication: [ platforms.darwin ]
787 ghcjs-base: [ javascript-ghcjs ]
788 ghcjs-dom-javascript: [ javascript-ghcjs ]
789 gtk-mac-integration: [ platforms.darwin ]
790 gtk3-mac-integration: [ platforms.darwin ]
791 halide-haskell: [ platforms.linux ]
792 halide-JuicyPixels: [ platforms.linux ]
793 hb3sum: [ platforms.x86 ] # due to blake3
794 hommage-ds: [ platforms.windows ]
795 hpapi: [ platforms.linux ] # limited by pkgs.papi
796 hsignal: [ platforms.x86 ] # -msse2
797 HFuse: [ platforms.linux ]
798 HQu: [ platforms.x86 ] # vendored C++ library needs i686/x86_64
799 hs-swisstable-hashtables-class: [ platforms.x86_64 ] # depends on swisstable, which Needs AVX2
800 htune: [ platforms.linux ] # depends on alsa-pcm
801 hw-prim-bits: [ platforms.x86 ] # x86 assembler
802 inline-asm: [ platforms.x86 ] # x86 assembler
803 jsaddle-wkwebview: [ platforms.darwin ]
804 keid-core: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
805 keid-frp-banana: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
806 keid-geometry: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
807 keid-render-basic: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
808 keid-resource-gltf: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
809 keid-sound-openal: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
810 keid-ui-dearimgui: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
811 kqueue: [ platforms.netbsd, platforms.freebsd, platforms.openbsd, platforms.darwin ]
812 libfuse3: [ platforms.linux ]
813 linux-evdev: [ platforms.linux ]
814 linux-file-extents: [ platforms.linux ]
815 linux-inotify: [ platforms.linux ]
816 linux-mount: [ platforms.linux ]
817 linux-namespaces: [ platforms.linux ]
818 lxc: [ platforms.linux ]
819 memfd: [ platforms.linux ]
820 midi-alsa: [ platforms.linux ] # alsa-core only supported on linux
821 midisurface: [ platforms.linux ] # alsa-core only supported on linux
822 OrderedBits: [ platforms.x86 ] # lacks implementations for non-x86: https://github.com/choener/OrderedBits/blob/401cbbe933b1635aa33e8e9b29a4a570b0a8f044/lib/Data/Bits/Ordered.hs#L316
823 reactivity: [ platforms.windows ]
824 reflex-libtelnet: [ platforms.linux ] # pkgs.libtelnet only supports linux
825 scat: [ platforms.x86 ] # uses scrypt, which requries x86
826 scrypt: [ platforms.x86 ] # https://github.com/informatikr/scrypt/issues/8
827 seqalign: [ platforms.x86 ] # x86 intrinsics
828 streamed: [ platforms.linux] # alsa-core only supported on linux
829 swisstable: [ platforms.x86_64 ] # Needs AVX2
830 systemd-api: [ platforms.linux ]
831 tasty-papi: [ platforms.linux ] # limited by pkgs.papi
832 tcod-haskell: [ platforms.linux ] # limited by pkgs.libtcod
833 udev: [ platforms.linux ]
834 vty-windows: [ platforms.windows ] # depends on Win32
835 Win32-console: [ platforms.windows ]
836 Win32-dhcp-server: [ platforms.windows ]
837 Win32-errors: [ platforms.windows ]
838 Win32-extras: [ platforms.windows ]
839 Win32-junction-point: [ platforms.windows ]
840 Win32-notify: [ platforms.windows ]
841 Win32: [ platforms.windows ]
842 Win32-security: [ platforms.windows ]
843 Win32-services: [ platforms.windows ]
844 Win32-services-wrapper: [ platforms.windows ]
845 XInput: [ platforms.windows ]
846 yesod-auth-simple: [ platforms.x86 ] # requires scrypt which only supports x86
848 dont-distribute-packages:
849 # Depends on shine, which is a ghcjs project.
852 # these packages depend on software with an unfree license
858 - accelerate-examples
860 - accelerate-fourier-benchmark
861 - accelerate-io-array
863 - accelerate-io-bytestring
864 - accelerate-io-cereal
865 - accelerate-io-JuicyPixels
867 - accelerate-io-vector
868 - accelerate-kullback-liebler
869 - accelerate-llvm-ptx
873 - containers-accelerate
876 - cuda # 2020-08-18 because of dependency nvidia-x11
880 - gloss-raster-accelerate
881 - hashable-accelerate
888 # license for input data unclear, dependency not on Hackage
889 # see https://github.com/NixOS/nixpkgs/pull/88604
894 # These packages don’t build because they use deprecated webkit versions.
901 - hsqml-datamodel-vinyl
916 - web-browser-in-haskell
918 - webkitgtk3-javascriptcore
921 # mesos was removed from nixpkgs
924 # Output exceeds Hydra's maximum allowable size
927 # Packages that (transitively) depend on insecure packages
928 - distributed-process-zookeeper # depends on hzk
929 - HDRUtils # depends on pfstools, which depends on imagemagick
930 - hzk # depends on zookeeper_mt, which depends on openssl-1.1
931 - jobqueue # depends on hzk
932 - persistent-zookeeper # depends on hzk
933 - pocket-dns # depends on persistent-zookeeper
934 - zoovisitor # depends on zookeeper_mt, which depends on openssl-1.1