Skip to content

Commit

Permalink
Restrist x-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
bezirg committed Jun 26, 2024
1 parent 310cbc3 commit 0fd7f5c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cardano-constitution/cardano-constitution.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ common ghc-version-support
if (impl(ghc <9.6) || impl(ghc >=9.7))
buildable: False

common os-support
if (impl(ghcjs) || os(windows))
buildable: False

library
import: lang, ghc-version-support
import: lang, ghc-version-support, os-support
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Expand Down Expand Up @@ -82,7 +86,7 @@ library
, template-haskell

test-suite cardano-constitution-test
import: lang, ghc-version-support
import: lang, ghc-version-support, os-support
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
Expand Down

0 comments on commit 0fd7f5c

Please sign in to comment.