Fixes #179 This updates the instructions and fixes the spurious reference to `prettyprinter.nix` that I accidentally checked in
28 lines
634 B
Nix
28 lines
634 B
Nix
# You can build this repository using Nix by running:
|
|
#
|
|
# $ nix-build release.nix
|
|
#
|
|
# You can also open up this repository inside of a Nix shell by running:
|
|
#
|
|
# $ nix-shell
|
|
#
|
|
# ... and then Nix will supply the correct Haskell development environment for
|
|
# you
|
|
let
|
|
config = {
|
|
packageOverrides = pkgs: {
|
|
haskellPackages = pkgs.haskellPackages.override {
|
|
overrides = haskellPackagesNew: haskellPackagesOld: {
|
|
dhall = haskellPackagesNew.callPackage ./default.nix { };
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
pkgs =
|
|
import <nixpkgs> { inherit config; };
|
|
|
|
in
|
|
{ dhall = pkgs.haskellPackages.dhall;
|
|
}
|