mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
Fixes Windows cross compilation for GHC 9.0 and 9.2. Updates wine to use the version that is included with the chosen Nixpkgs (it used to be pinned to an older version). Moves the configuration of the GHC source into the GHC derivation. This should make adding Hadrian support easier. Propagates library dependences (not just pkgconfig ones) on windows so that any DLLs in those libraries can be copied for TH evaluation and to the `/bin` directory of executable components. Adds gcc and mfcgthreads as library dependencies on Windows so that the DLLs they include will be found. Use `$pkgsHostTarget` (instead of `ghc-pkg`) to find all the DLLs can copy them to the `/bin` directory of executable components. Adds support for __int128_t and __uint128_t to language-c to fix aarch64-darwin builds. Fixed reinstalling packages that come with patched versions in ghcjs.
25 lines
703 B
Plaintext
25 lines
703 B
Plaintext
cabal-version: >=1.10
|
|
name: exe-lib-dlls
|
|
version: 0.1.0.0
|
|
license: PublicDomain
|
|
author: Hamish Mackenzie
|
|
maintainer: Hamish.K.Mackenzie@gmail.com
|
|
build-type: Simple
|
|
|
|
library
|
|
build-depends: base
|
|
, HsOpenSSL
|
|
, libsodium
|
|
, template-haskell
|
|
, text
|
|
, double-conversion
|
|
exposed-modules: Lib
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
|
|
executable exe-lib-dlls
|
|
build-depends: base, exe-lib-dlls
|
|
main-is: Main.hs
|
|
hs-source-dirs: exes
|
|
default-language: Haskell2010
|