Commit c0f6612
committed
fix(ci): avoid relative path flake input in examples
The CI job failed during `nix flake check --no-build` with:
error: cannot fetch input 'path:../.?lastModified=0&narHash=...'
because it uses a relative path
This comes from examples/flake.nix using a relative flake input:
rustfs-flake.url = "path:../.";
Relative path-based flake inputs are rejected in CI evaluation contexts.
Switch the example to use a GitHub flake URL so `nix flake check` and `nix eval`
work reliably on GitHub Actions.
Changes:
- examples/flake.nix: replace `rustfs-flake.url = "path:../.";` with
`rustfs-flake.url = "github:rustfs/rustfs-flake?ref=main";`
Refs:
- Failing job: https://github.com/rustfs/rustfs-flake/actions/runs/24138134845/job/704316784891 parent 6cb981c commit c0f6612
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments