mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-24 06:38:36 +01:00
ci: Check example flake with relative source
This should make flake checks reproducible even when the GitHub repository is updated.
This commit is contained in:
parent
8c9d60ca56
commit
5afd2f2b49
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -35,4 +35,4 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v22
|
||||
- run: ln -s hardware/laptop.nix examples/hardware-configuration.nix
|
||||
- run: nix flake check ./example --no-write-lock-file
|
||||
- run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')"
|
||||
|
Loading…
Reference in New Issue
Block a user