Skip to content

Commit

Permalink
add aarch64-linux (static) cross
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Jul 4, 2024
1 parent e29e335 commit 2d13185
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d13185

Please sign in to comment.