From 6a130ca708abfa021d719b184e461170690eefb0 Mon Sep 17 00:00:00 2001 From: regnat Date: Thu, 20 Sep 2018 18:41:43 +0200 Subject: [PATCH] Pin nixpkgs revision in the CI Prevent failures such as https://circleci.com/gh/tweag/rules_nixpkgs/62?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link due to upstream changes --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 232abc6ae..29d8e04d9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,8 +10,9 @@ jobs: - run: name: System dependencies command: | + export NIX_PATH=nixpkgs=https://github.com/nixos/nixpkgs/archive/75942f96b3f7136cdc9cc7d9704824f17fabec02.tar.gz apk update --no-progress && apk --no-progress add bash ca-certificates - nix-channel --update && nix-env -iA nixpkgs.bazel nixpkgs.gcc + nix-env -iA nixpkgs.bazel nixpkgs.gcc - run: name: Run tests command: bazel test //...