aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/nix/shell
diff options
context:
space:
mode:
authorVincent Laporte2019-01-24 09:58:33 +0000
committerVincent Laporte2019-01-24 14:53:08 +0000
commitdec2994980e00eff72f474aed6da94b97c3d703a (patch)
tree00382fce91ed80519498880ceb6c4c7af357d3b3 /dev/ci/nix/shell
parent43525f9ee12a40bf3ad2c2521832fd7fc3a658f8 (diff)
[nix-CI] Split the build inputs
Coq and the Coq libraries can now be excluded (by setting the NOCOQ environment variable).
Diffstat (limited to 'dev/ci/nix/shell')
-rwxr-xr-xdev/ci/nix/shell8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/ci/nix/shell b/dev/ci/nix/shell
index 2e4462ed40..a5f8ee8f54 100755
--- a/dev/ci/nix/shell
+++ b/dev/ci/nix/shell
@@ -17,4 +17,10 @@ else
BN=""
fi
-nix-shell ./dev/ci/nix/ --show-trace --argstr wd $PWD --argstr branch $BRANCH $PROJECT $BN
+if [ "$NOCOQ" ]; then
+ NOCOQ="--arg withCoq false"
+else
+ NOCOQ=""
+fi
+
+nix-shell ./dev/ci/nix/ --show-trace --argstr wd $PWD --argstr branch $BRANCH $PROJECT $BN $NOCOQ