From b8d5193ecc8f0cceecd3e26e2fdcb3cf2db742a9 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Fri, 15 Nov 2019 18:22:49 +0100 Subject: [PATCH] chore: update Azure and Nix configs --- azure-pipelines.yml | 2 +- shell.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad7eb6d108..5283318c87 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -35,7 +35,7 @@ jobs: displayName: Setup - script: | . ~/.nix-profile/etc/profile.d/nix.sh - export CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ $CMAKE_OPTIONS" + export CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release $CMAKE_OPTIONS" eval nix-shell $NIX_SHELL_OPTIONS --run ./script/ci.sh displayName: Build - task: PublishTestResults@2 diff --git a/shell.nix b/shell.nix index 891920e5fd..63b0ff7f03 100644 --- a/shell.nix +++ b/shell.nix @@ -2,12 +2,12 @@ let lean = import ./default.nix args; - temci = import (builtins.fetchGit { url = http://github.com/parttimenerd/temci.git; rev = "ba1505a7c2de471a5821a2643b34de2d1c1af03e"; }) { inherit pkgs; }; + temci = import (builtins.fetchGit { url = http://github.com/parttimenerd/temci.git; rev = "4cae802606b871021394e250a280a2154b92f44b"; }) { inherit pkgs; }; in pkgs.mkShell.override { stdenv = lean.stdenv; } rec { inputsFrom = [ lean ]; - buildInputs = with pkgs; [ temci ccache ninja ]; + buildInputs = with pkgs; [ temci ]; # https://github.com/NixOS/nixpkgs/issues/60919 hardeningDisable = [ "all" ]; - # TODO: this should not be necessary when leanc starts statically linking binaries - LD_LIBRARY_PATH = "${pkgs.stdenv.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH"; + # more convenient `ctest` output + CTEST_OUTPUT_ON_FAILURE = 1; }