workflows/cachix: cd out and in, to hopefully fix git-crypt problem

This commit is contained in:
LavaDesu 2025-05-26 17:36:16 +10:00
parent 3ead5d12c5
commit 83ac77b864
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 3 additions and 13 deletions

View file

@ -21,17 +21,9 @@ jobs:
with:
name: lava
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Wait..
run:
for s in {1..10}; do
nix eval .#checks.x86_64-linux.is_dirty;
if [ $? -eq 0 ]; then
break;
elif [ $s -eq 10 ]; then
exit 1;
fi;
sleep 5;
done
- run:
cd /
cd -
- run: nix flake check --keep-going --verbose
build:

View file

@ -78,8 +78,6 @@
nixosConfigurations."hazel" = mkSystem nixpkgs-stable "hazel" "x86_64-linux" [];
nixosConfigurations."hyacinth" = mkSystem nixpkgs "hyacinth" "x86_64-linux" [];
checks."x86_64-linux".is_dirty = if !(self ? rev) then throw "Dirty git tree detected." else self.rev;
packages."x86_64-linux" =
let
pkgs = import nixpkgs rec {