Skip to content

Commit 4222e87

Browse files
committed
gitlab-ci: fix Nix format check
The new version of Nix no longer provides path to the source to the formatter and thus alehandra uses stdin instead and thus run fails. The Nix functionality change: NixOS/nix#11438
1 parent dda1a4f commit 4222e87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,4 @@ nixfmt:
5454
extends: .nix
5555
allow_failure: true
5656
script:
57-
- nix fmt
58-
- git diff --exit-code
57+
- nix fmt -- --check .

0 commit comments

Comments
 (0)