Unverified Commit 4d3857d6 authored by Rahul Butani's avatar Rahul Butani
Browse files

llvmPackages_15: expand the `NIX_BUILD_CORES` arg passed to lit at configure time

this previously worked because, when using Make, this variable was
expanded at build time
parent 912056c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ in stdenv.mkDerivation (rec {
  preConfigure = ''
    # Workaround for configure flags that need to have spaces
    cmakeFlagsArray+=(
      -DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar'
      -DLLVM_LIT_ARGS="-svj''${NIX_BUILD_CORES} --no-progress-bar"
    )
  '';