diff --git a/cabal.project b/cabal.project index f4bc98a779..12ae24805f 100644 --- a/cabal.project +++ b/cabal.project @@ -36,6 +36,17 @@ if os(windows) constraints: time ^>=1.14 allow-newer: *:time +constraints: any.text source +-- Depending on C++ for just so slightly faster utf8 parsing is a bit annoying +-- especially as it brings in all kinds of complications for GHC. +package text + flags: -simdutf + +-- formatting (>= 7.2) allows us do drop double-conversion (which again is one +-- of the offending c++ dependencies) +package formatting + flags: +no-double-conversion + tests: True test-show-details: direct diff --git a/flake.nix b/flake.nix index d140a9b6c2..5b634e6ae6 100644 --- a/flake.nix +++ b/flake.nix @@ -57,8 +57,8 @@ # we also want cross compilation to windows on linux (and only with default compiler). crossPlatforms = p: - lib.optional (system == "x86_64-linux" && config.compiler-nix-name == defaultCompiler) - p.mingwW64; + lib.optionals (system == "x86_64-linux" && config.compiler-nix-name == defaultCompiler) + [ p.mingwW64 p.aarch64-multiplatform-musl ]; # CHaP input map, so we can find CHaP packages (needs to be more # recent than the index-state we set!). Can be updated with