mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-20 03:18:00 +03:00
6134e66e1d
It looks like we can't use 8.8 for booting due to https://gitlab.haskell.org/ghc/ghc/-/issues/18143 * Adds nixpkgs 20.09 to get mingw-w64 version 6 (also needed for ghc 8.10 windows cross compile) * Add materialization for ghc 8.10.2 windows cross * Fix issue with harfbuzz override so it works with nixpkgs 20.09 * Fixes eval time issue for windows index-state test (turns off native-dns cabal flag for windows) * Include exe extension for windows in coverage test lib:ghc is still broken for ghc 8.10 (all variants), but it always has been and we should try to fix it properly, but it will be very tricky.
10 lines
524 B
Nix
10 lines
524 B
Nix
# haskell-gi packages need gobject-introspection turned on
|
|
final: prev: {
|
|
# As of nixpkgs 20.09 harfbuzz is built with mesonFlags and hopefully includes
|
|
# gobject introspection correctly. Older nixpkgs will have configureFlags to update.
|
|
harfbuzz = prev.harfbuzz.overrideAttrs (attr: final.lib.optionalAttrs (attr ? configureFlags) {
|
|
configureFlags = attr.configureFlags ++ [ "--enable-introspection=yes" "--with-gobject=yes" ];
|
|
buildInputs = attr.buildInputs ++ [ final.pkgs.gobject-introspection ];
|
|
});
|
|
}
|