Fix release.nix
to build against nixpkgs 17.09
Related to https://github.com/dhall-lang/dhall-lang/issues/87
This commit is contained in:
parent
3834589277
commit
8e3a215a8b
29
dhall-nix/dhall.nix
Normal file
29
dhall-nix/dhall.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ mkDerivation, ansi-wl-pprint, base, base16-bytestring, bytestring
|
||||
, case-insensitive, charset, containers, contravariant, cryptohash
|
||||
, deepseq, exceptions, http-client, http-client-tls, lens
|
||||
, optparse-generic, parsers, prettyprinter, stdenv, system-fileio
|
||||
, system-filepath, tasty, tasty-hunit, text, text-format
|
||||
, transformers, trifecta, unordered-containers, vector
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "dhall";
|
||||
version = "1.9.0";
|
||||
sha256 = "5fc53a49c48014ec07a889abcd31b79b43c95d5f36ff494cfa33e229e5cea9c4";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
ansi-wl-pprint base base16-bytestring bytestring case-insensitive
|
||||
charset containers contravariant cryptohash exceptions http-client
|
||||
http-client-tls lens parsers prettyprinter system-fileio
|
||||
system-filepath text text-format transformers trifecta
|
||||
unordered-containers vector
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base optparse-generic prettyprinter system-filepath text trifecta
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base containers deepseq prettyprinter tasty tasty-hunit text vector
|
||||
];
|
||||
description = "A configuration language guaranteed to terminate";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}
|
|
@ -13,6 +13,8 @@ let
|
|||
packageOverrides = pkgs: {
|
||||
haskellPackages = pkgs.haskellPackages.override {
|
||||
overrides = haskellPackagesNew: haskellPackagesOld: {
|
||||
dhall = haskellPackagesNew.callPackage ./dhall.nix { };
|
||||
|
||||
dhall-nix =
|
||||
pkgs.haskell.lib.justStaticExecutables
|
||||
(haskellPackagesNew.callPackage ./default.nix { });
|
||||
|
|
Loading…
Reference in New Issue
Block a user