Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit 6601ea0

Browse files
committed
Fix release.nix to build against nixpkgs 17.09
Related to dhall-lang/dhall-lang#87
1 parent 4d75ca2 commit 6601ea0

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

dhall.nix

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{ mkDerivation, ansi-wl-pprint, base, base16-bytestring, bytestring
2+
, case-insensitive, charset, containers, contravariant, cryptohash
3+
, deepseq, exceptions, http-client, http-client-tls, lens
4+
, optparse-generic, parsers, prettyprinter, stdenv, system-fileio
5+
, system-filepath, tasty, tasty-hunit, text, text-format
6+
, transformers, trifecta, unordered-containers, vector
7+
}:
8+
mkDerivation {
9+
pname = "dhall";
10+
version = "1.9.0";
11+
sha256 = "5fc53a49c48014ec07a889abcd31b79b43c95d5f36ff494cfa33e229e5cea9c4";
12+
isLibrary = true;
13+
isExecutable = true;
14+
libraryHaskellDepends = [
15+
ansi-wl-pprint base base16-bytestring bytestring case-insensitive
16+
charset containers contravariant cryptohash exceptions http-client
17+
http-client-tls lens parsers prettyprinter system-fileio
18+
system-filepath text text-format transformers trifecta
19+
unordered-containers vector
20+
];
21+
executableHaskellDepends = [
22+
base optparse-generic prettyprinter system-filepath text trifecta
23+
];
24+
testHaskellDepends = [
25+
base containers deepseq prettyprinter tasty tasty-hunit text vector
26+
];
27+
description = "A configuration language guaranteed to terminate";
28+
license = stdenv.lib.licenses.bsd3;
29+
}

release.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ let
1313
packageOverrides = pkgs: {
1414
haskellPackages = pkgs.haskellPackages.override {
1515
overrides = haskellPackagesNew: haskellPackagesOld: {
16+
dhall = haskellPackagesNew.callPackage ./dhall.nix { };
17+
1618
dhall-bash =
1719
pkgs.haskell.lib.justStaticExecutables
1820
(haskellPackagesNew.callPackage ./default.nix { });

0 commit comments

Comments
 (0)