Comments (4)
..more specifically, the overrides I'm using are:
(with haskell.packages.ghc802; {
dhall-json = overrideCabal dhall-json (drv: {
src = pkgs.fetchFromGitHub {
owner = "dhall-lang";
repo = "dhall-json";
rev = "d6adaa265dcf8ab5899396b05d612b2d8092dca4";
sha256 = "0pvbpbg6475drvpakny12y3z2dv0vj6x4hlk853dgb84xbsd8i33";
};
jailbreak = true;
});
dhall = overrideCabal dhall (drv: {
src = pkgs.fetchFromGitHub {
owner = "dhall-lang";
repo = "dhall-haskell";
rev = "4a085aa3d622886cf7dd96a1ad475ba914d5ab1f";
sha256 = "0849rvv9m5rgxgvn60q2bwfr7m1syjkgxrrs4xafs10ymfdx0g9f";
};
jailbreak = true;
libraryHaskellDepends = drv.libraryHaskellDepends ++ [
insert-ordered-containers
lens-family-core
prettyprinter-ansi-terminal
repline
];
});
from dhall-json.
I cannot reproduce. I checked out revision d6adaa2 of this repository and replaced dhall.nix
with:
{ mkDerivation, ansi-terminal, ansi-wl-pprint, base
, base16-bytestring, bytestring, case-insensitive, containers
, contravariant, cryptonite, deepseq, directory, exceptions
, fetchgit, filepath, haskeline, http-client, http-client-tls
, insert-ordered-containers, lens-family-core, memory, mtl
, optparse-generic, parsers, prettyprinter
, prettyprinter-ansi-terminal, repline, scientific, stdenv, tasty
, tasty-hunit, text, text-format, transformers, trifecta
, unordered-containers, vector
}:
mkDerivation {
pname = "dhall";
version = "1.11.1";
src = fetchgit {
url = "[email protected]:dhall-lang/dhall-haskell.git";
sha256 = "0849rvv9m5rgxgvn60q2bwfr7m1syjkgxrrs4xafs10ymfdx0g9f";
rev = "4a085aa3d622886cf7dd96a1ad475ba914d5ab1f";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base base16-bytestring bytestring case-insensitive
containers contravariant cryptonite directory exceptions filepath
http-client http-client-tls insert-ordered-containers
lens-family-core memory parsers prettyprinter
prettyprinter-ansi-terminal scientific text text-format
transformers trifecta unordered-containers vector
];
executableHaskellDepends = [
ansi-terminal base haskeline mtl optparse-generic prettyprinter
prettyprinter-ansi-terminal repline text trifecta
];
testHaskellDepends = [
base deepseq insert-ordered-containers prettyprinter tasty
tasty-hunit text vector
];
description = "A configuration language guaranteed to terminate";
license = stdenv.lib.licenses.bsd3;
}
... and built this repository successfully
I also verified that revision 4a085aa3d622886cf7dd96a1ad475ba914d5ab1f of the dhall
package does export the Chunks
constructor from the Dhall.Core
module:
I think the root cause is that there is some mistake in the way that you overrode the dhall
dependency in your Nix expression and your dhall-json
package is being built against a version of dhall
that is version 1.8 or older. Another clue that this might be happening is that you had to jailbreak your dhall-json
which shouldn't be necessary if you are building against the correct version of dhall
.
from dhall-json.
Gabriel, I'm sorry, you're completely right -- I have got used to deep overrides so much I didn't notice the override I employed was shallow -- so the dhall
override was not taking effect for dhall-json
.
Thank you for bearing with me!
from dhall-json.
No problem :)
from dhall-json.
Related Issues (20)
- Date and time types and syntax HOT 1
- Interest in json-to-dhall and yaml-to-dhall? HOT 7
- 1.1.0 build failure HOT 5
- Convert some association lists to homogeneous maps? HOT 29
- Better handling of JSON sums HOT 6
- Record output should have sorted keys HOT 6
- Slow compile times HOT 9
- Heterogenous JSON array targets / JSON AST target? HOT 5
- Labels of records should be quoted in YAML HOT 2
- nested association lists were not converted to maps HOT 1
- Create the .travis.yml file with a dhall definition HOT 2
- Double newline in yaml HOT 1
- Support yaml separators HOT 2
- OOM killed when using headers with file with relative import HOT 5
- Does not build HOT 8
- Test suite does not compile with aeson-1.2.4.0 (Stackage LTS 11.22)
- A bit of an expression problem HOT 4
- Sort in record not supported ? HOT 3
- list of unions not converted to maps HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dhall-json.