Skip to content

Commit

Permalink
Fix the CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
Théophane Hufschmitt committed Sep 19, 2018
1 parent 70211a3 commit 1cb0143
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
name: Build
command: |
# XXX Workaround https://github.com/NixOS/nix/issues/1969.
nix-build nixpkgs.nix -A haskell.compiler.ghc822
echo "y: x: x" > dummy_wrapper.nix
NIX_PATH=$NIX_PATH:bazel_haskell_wrapper=./dummy_wrapper.nix nix-build tests/ghc.nix
nix-shell --pure --run "bazel build --jobs=2 //... @haskell_zlib//... --config=ci"
nix-shell --pure --run "bazel build -c dbg --jobs=2 //... --config=ci"
- run:
Expand All @@ -45,7 +46,8 @@ jobs:
shell: /bin/bash -eilo pipefail
command: |
# XXX Workaround https://github.com/NixOS/nix/issues/1969.
nix-build tests/ghc.nix
echo "y: x: x" > dummy_wrapper.nix
NIX_PATH=$NIX_PATH:bazel_haskell_wrapper=./dummy_wrapper.nix nix-build tests/ghc.nix
nix-shell --run 'CC=$(which clang) bazel build --jobs=2 //...'
- run:
name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion haskell/import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def copy_all(ctx, srcs, dest):
inputs = depset(srcs),
outputs = [dest],
mnemonic = "Copy",
command = "mkdir -p {dest} && cp -L -T -r \"$@\" {dest}".format(dest = dest.path),
command = "mkdir -p {dest} && cp -L -r \"$@\" {dest}".format(dest = dest.path),
arguments = [args],
)

Expand Down

0 comments on commit 1cb0143

Please sign in to comment.