diff --git a/.bazelrc b/.bazelrc index 73654329f3..fc89e496ed 100644 --- a/.bazelrc +++ b/.bazelrc @@ -18,6 +18,10 @@ test:ci --test_output=errors # see: https://github.com/tweag/rules_haskell/issues/647#issuecomment-459001362 test:windows --experimental_enable_runfiles +# WIP: bazel 0.27 fixs +build --incompatible_disable_deprecated_attr_params=false --incompatible_new_actions_api=false --incompatible_no_support_tools_in_action_inputs=false --incompatible_require_ctx_in_configure_features=false --incompatible_depset_is_not_iterable=false --incompatible_depset_union=false --incompatible_use_python_toolchains=false +test --incompatible_disable_deprecated_attr_params=false --incompatible_new_actions_api=false --incompatible_no_support_tools_in_action_inputs=false --incompatible_require_ctx_in_configure_features=false --incompatible_depset_is_not_iterable=false --incompatible_depset_union=false --incompatible_use_python_toolchains=false + # test environment does not propagate locales by default # some tests reads files written in UTF8, we need to propagate the correct # environment variables, such as LOCALE_ARCHIVE diff --git a/.circleci/config.yml b/.circleci/config.yml index cd1416338a..f7f47dcc42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,8 +32,8 @@ jobs: apt-get install -y wget gnupg golang make libgmp3-dev libtinfo-dev pkg-config zip g++ zlib1g-dev unzip python python3 bash-completion locales echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen locale-gen - wget "https://github.com/bazelbuild/bazel/releases/download/0.24.0/bazel_0.24.0-linux-x86_64.deb" - dpkg -i bazel_0.24.0-linux-x86_64.deb + wget "https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel_0.27.0-linux-x86_64.deb" + dpkg -i bazel_0.27.0-linux-x86_64.deb echo "common:ci --build_tag_filters -requires_hackage,-requires_zlib,-requires_doctest,-requires_c2hs,-requires_threaded_rts,-dont_test_with_bindist" > .bazelrc.local - run: name: Build tests diff --git a/.netlify/install.sh b/.netlify/install.sh index 7d8e148317..fba6a2a7da 100755 --- a/.netlify/install.sh +++ b/.netlify/install.sh @@ -2,7 +2,7 @@ set -eux -V=0.20.0 +V=0.27.0 curl -LO https://github.com/bazelbuild/bazel/releases/download/$V/bazel-$V-installer-linux-x86_64.sh chmod +x bazel-$V-installer-linux-x86_64.sh diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d7d38059f3..c1914af575 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,7 @@ jobs: architecture: 'x64' - bash: | set -e - curl -LO https://github.com/bazelbuild/bazel/releases/download/0.24.0/bazel-0.24.0-windows-x86_64.exe + curl -LO https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel-0.27.0-windows-x86_64.exe mv bazel-*.exe bazel.exe mkdir /c/bazel mv bazel.exe /c/bazel diff --git a/nixpkgs/default.nix b/nixpkgs/default.nix index f4303b0c47..7d12678472 100644 --- a/nixpkgs/default.nix +++ b/nixpkgs/default.nix @@ -1,5 +1,4 @@ import (fetchTarball { - # Checkout from 2019-05-06. - url = https://github.com/mboes/nixpkgs/archive/361e9185c83166b44419e05e75fc8473875df6ea.tar.gz; - sha256 = "0c6izp9i1ln4yy2h9jlm48k94f018h8pw60jfbhq49p076aaafrb"; + url = https://github.com/guibou/nixpkgs/archive/9ca2261d35a34a89f62150dd6cd8ae5dc3f1c17f.tar.gz; + sha256 = "1wkf88962g396017bb4yjc6awpx969awa2a132fhs1prdblphbpc"; }) diff --git a/shell.nix b/shell.nix index 62bac4d8f5..9190859ff6 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,6 @@ { pkgs ? import ./nixpkgs {}, docTools ? true }: with pkgs; - mkShell { # XXX: hack for macosX, this flags disable bazel usage of xcode # Note: this is set even for linux so any regression introduced by this flag