Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/cabal2nix
base: 5b271abdcc77
Choose a base ref
...
head repository: NixOS/cabal2nix
compare: 17e0b6c0442e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 2, 2018

  1. 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.
    Ken Micklas committed Apr 2, 2018
    Copy the full SHA
    0bb88f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2018

  1. Merge pull request #344 from obsidiansystems/parse-platform

    Support all architectures and OSs that GHC and Cabal support
    peti committed Apr 3, 2018
    Copy the full SHA
    17e0b6c View commit details
    Browse the repository at this point in the history