-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support all architectures and OSs that GHC and Cabal support
This replicates GHC's normalization logic so that Cabal's built in parsers can be used. This should ensure maximum compatibility with how the Cabal file will actually be evaluated during the build. Additionally, this adds support for passing in the full LLVM style platform triple/quadruple (e.g. x86_64-unknown-linux-gnu) instead of just the short Nix style (x86_64-linux). This will make it possible for the ABI to treated as part of the OS where applicable (e.g. linux-android). We can then change `make-package-set.nix` to use `hostPlatform.config` instead of `hostPlatform.system` to get the full information.
- Loading branch information
Ken Micklas
committed
Apr 2, 2018
1 parent
5b271ab
commit 0bb88f0
Showing
1 changed file
with
51 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters