dhall-haskell/release.nix
Gabriel Gonzalez be10607f96
Update release.nix (#180)
Fixes #179

This updates the instructions and fixes the spurious reference to
`prettyprinter.nix` that I accidentally checked in
2017-11-15 09:31:27 -08:00

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;
}