Fixes https://github.com/dhall-lang/dhall-haskell/issues/645 Fixes https://github.com/dhall-lang/dhall-lang/issues/216 This updates the `README` with the following changes: * Points to the language-agnostic `README` in the `dhall-lang` repository * Retains only Haskell-specific sections of interest * Removes the embedded LICENSE now that GitHub auto-recognizes the project license (#644) * Changes the Quick Start instructions to use Nix * Adds instructions for project development using Nix The latter two points entailed refactors to the Nix logic to simplify the user experience: * `default.nix` was moved to `shared.nix` and replaced with a new `default.nix` that works out-of-the-box with `nix-build` * There is a new `nix/test-dhall.nix` which users can use to create a `nix-shell` with Dhall as a dependency
24 lines
480 B
Nix
24 lines
480 B
Nix
let
|
|
shared_7_10_3 =
|
|
import ./shared.nix { compiler = "ghc7103"; coverage = true; };
|
|
|
|
shared_8_4_3 =
|
|
import ./shared.nix { compiler = "ghc843"; coverage = true; };
|
|
|
|
in
|
|
{ dhall = shared_8_4_3.aggregate
|
|
{ name = "dhall";
|
|
|
|
constituents = [
|
|
shared_7_10_3.dhall
|
|
shared_8_4_3.dhall
|
|
shared_8_4_3.tarball
|
|
shared_8_4_3.pwd
|
|
];
|
|
};
|
|
|
|
"coverage" = shared_8_4_3.dhall;
|
|
|
|
inherit (shared_8_4_3) tarball;
|
|
}
|