ci: Make input override work for shallow clone

This should fix things.
This commit is contained in:
Donovan Glover 2024-04-06 14:28:42 -04:00
parent 8535a06e52
commit 28da507020
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -28,4 +28,4 @@ jobs:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: ln -s hardware/laptop.nix example/hardware-configuration.nix
- run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')"
- run: nix flake check ./example --no-write-lock-file --override-input nix-config "git+file://$(pwd | sed -e 's/\s/%20/g')?shallow=1"