dhall-haskell/release.nix

28 lines
634 B
Nix
Raw Normal View History

2016-12-20 05:27:15 +01:00
# You can build this repository using Nix by running:
#
# $ nix-build release.nix
2016-12-20 05:27:15 +01:00
#
# You can also open up this repository inside of a Nix shell by running:
#
# $ nix-shell
2016-12-20 05:27:15 +01:00
#
# ... 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;
}