diff --git a/cabal.release.project b/cabal.release.project index 5ce38e721a57ec35abee2aade14fdc50d8ebbaa7..ffd7c18adc17918ba9c9ff5ce07d681ee876dd7b 100644 --- a/cabal.release.project +++ b/cabal.release.project @@ -2,4 +2,7 @@ import: project-cabal/pkgs/cabal.config import: project-cabal/pkgs/install.config import: project-cabal/pkgs/tests.config +constraints: + hashable -arch-native + index-state: hackage.haskell.org 2024-06-17T00:00:01Z diff --git a/cabal.validate.project b/cabal.validate.project index 52c78411107e2052fb9bc29c6317bab372cd239a..2e3084cccf0aaf5027aed3f40b06b6e33277a271 100644 --- a/cabal.validate.project +++ b/cabal.validate.project @@ -7,3 +7,8 @@ tests: True write-ghc-environment-files: never program-options ghc-options: -Werror + +-- This project file is used to distribute the cabal-head binary, +-- as such we cannot enable "-march=native". +constraints: + hashable -arch-native