aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorThéo Zimmermann2018-09-06 11:10:07 +0200
committerThéo Zimmermann2018-09-06 11:10:17 +0200
commit7b45967164670b0d375d19cb90dfc9ab0813c4d7 (patch)
treeaa4491609902f206e04cf58fed0aeefed1600fd2 /default.nix
parenta10989caaec4f550faf73654b0fd4b0109f87fb4 (diff)
Override Dune derivation to update it before nixpkgs.
As suggested by Vincent.
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 0ed063a1f4..35da15eebd 100644
--- a/default.nix
+++ b/default.nix
@@ -38,6 +38,18 @@
with pkgs;
with stdenv.lib;
+let dune =
+ overrideDerivation jbuilder (o: {
+ name = "dune-1.1.1";
+ src = fetchFromGitHub {
+ owner = "ocaml";
+ repo = "dune";
+ rev = "1.1.1";
+ sha256 = "0v2pnxpmqsvrvidpwxvbsypzhqfdnjs5crjp9y61qi8nyj8d75zw";
+ };
+ });
+in
+
stdenv.mkDerivation rec {
name = "coq";
@@ -45,7 +57,7 @@ stdenv.mkDerivation rec {
buildInputs = [
hostname
python2 time # coq-makefile timing tools
- jbuilder
+ dune
]
++ (with ocamlPackages; [ ocaml findlib camlp5_strict num ])
++ optional buildIde ocamlPackages.lablgtk