aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-10-01 13:28:02 +0200
committerThéo Zimmermann2018-10-01 13:28:02 +0200
commiteee287f0049d551c7b510522e4d0b2b5f10c5b89 (patch)
tree7363763918562c7026c61a89eaedf0aed3e15ede
parente315f7b3e3e31eda27ef9f752d58aa85707f77bd (diff)
parent0a01590462678d8374f11ddc60d68a569fa3df9c (diff)
Merge PR #8608: [default.nix] Add odoc to the documentation build-inputs
-rw-r--r--default.nix5
-rw-r--r--shell.nix5
2 files changed, 5 insertions, 5 deletions
diff --git a/default.nix b/default.nix
index 29c0c68174..1faaafae03 100644
--- a/default.nix
+++ b/default.nix
@@ -23,8 +23,8 @@
{ pkgs ?
(import (fetchTarball {
- url = "https://github.com/NixOS/nixpkgs/archive/52a1179b6c20e923beddde1dd1e0034aa19176d2.tar.gz";
- sha256 = "040xrsgnip6gqljfyy1ad0l7q41h659h5hqbcn96bzhdiakcr4yc";
+ url = "https://github.com/NixOS/nixpkgs/archive/4c95508641fe780efe41885366e03339b95d04fb.tar.gz";
+ sha256 = "1wjspwhzdb6d1kz4khd9l0fivxdk2nq3qvj93pql235sb7909ygx";
}) {})
, ocamlPackages ? pkgs.ocaml-ng.ocamlPackages_4_06
, buildIde ? true
@@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
(ps: [ ps.sphinx ps.sphinx_rtd_theme ps.pexpect ps.beautifulsoup4
ps.antlr4-python3-runtime ps.sphinxcontrib-bibtex ]))
antlr4
+ ocamlPackages.odoc
]
++ optionals doInstallCheck (
# Test-suite dependencies
diff --git a/shell.nix b/shell.nix
index 3201c50501..75ac952bd6 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,4 +1,3 @@
-# Some developers don't want a pinned nix-shell by default.
-# If you want to use the pin nix-shell or a more sophisticated set of arguments:
+# If you want to use a more sophisticated set of arguments:
# $ nix-shell default.nix --arg shell true
-import ./default.nix { pkgs = import <nixpkgs> {}; shell = true; }
+import ./default.nix { shell = true; }