Skip to content

Commit 5d8c7d8

Browse files
committed
Pass --print-build-logs to nix commands
1 parent 659b84a commit 5d8c7d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/nix.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
skipPush: true
5858
- if: ${{ needs.pre_job.outputs.should_skip_develop != 'true' }}
5959
run: |
60-
nix develop --command cabal update
61-
nix develop --command cabal build
60+
nix develop --print-build-logs --command cabal update
61+
nix develop --print-build-logs --command cabal build
6262
6363
# Build and then push HLS binaries with developmet shell to cachix
6464
# This job runs when
@@ -91,16 +91,16 @@ jobs:
9191
name: haskell-language-server
9292
authToken: ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}
9393
- name: Build development shell
94-
run: nix develop --profile dev
94+
run: nix develop --print-build-logs --profile dev
9595
- name: Build development shell (GHC 9.0.1)
96-
run: nix develop .#haskell-language-server-901-dev --profile dev
96+
run: nix develop --print-build-logs .#haskell-language-server-901-dev --profile dev
9797
- name: Push development shell
9898
if: ${{ env.HAS_TOKEN == 'true' }}
9999
run: cachix push haskell-language-server dev
100100
- name: Build binaries
101-
run: nix build
101+
run: nix build --print-build-logs
102102
- name: Build binaries (GHC 9.0.1)
103-
run: nix build .#haskell-language-server-901
103+
run: nix build --print-build-logs .#haskell-language-server-901
104104
- name: Push binaries
105105
if: ${{ env.HAS_TOKEN == 'true' }}
106106
run: nix path-info --json | jq -r '.[].path' | cachix push haskell-language-server

0 commit comments

Comments
 (0)