Skip to content

Commit 114d199

Browse files
authored
Describe how to patch Nix expressions when CI fails (#717)
- Add instructions to README describing under what circumstances the patch becomes available, what it does, and how to apply it.
1 parent f421f79 commit 114d199

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ nix-shell
6565
sbtix-gen-all2
6666
```
6767

68+
OR
69+
70+
If the "ensure Nix expressions are up-to-date" step of your CI
71+
build has failed, check the artifacts of that step. There should be a
72+
patch provided, which you can apply locally with:
73+
74+
```
75+
patch -p1 < downloaded.patch
76+
```
77+
78+
This patch will update the lock files for you.
79+
6880
###### Why so many lock files?
6981

7082
- `repo.nix` : generated by the `sbtix-gen` command and includes only the build dependencies for the project.

0 commit comments

Comments
 (0)