Repository navigation
Commit 819eea2
committed
CI/CD: Use nix to build
By using Nix in CI, we reference flake.lock. This file pins the version
of all inputs to this build. Previously, the version of nixpkgs and
vesc_tool were technically not reproducible because they reference
branches which may change. The flake.lock converts those references to
commit SHAs, which are tracked by git.
This commit comes with the cost that maintainers of this repository
must commit a flake.lock update when updating versions. Changing version
strings without doing this is not valid. However, this commit comes with
a benefit that CI is binary reproducible locally.1 parent 3efebb5 commit 819eea2
2 files changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
60 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
0 commit comments