diff options
author | Aria Shrimpton <me@aria.rip> | 2024-02-06 09:33:06 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-02-06 09:33:06 +0000 |
commit | 0ba7da297aba52dc953a7cb7e2aeb566b87ec3b5 (patch) | |
tree | c36f9ec57e30b53e59a38ba673ffd134bab195d5 | |
parent | 39351a55e3e9a7838ac55a1111cfca2a60cdddcc (diff) |
try nixos-rebuild hang workaround
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1099a53..1ef6877 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,5 +13,5 @@ run-tests: - chmod 700 ~/.ssh - cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts script: - - ssh -t $SSH_LOCATION "bash -lc 'cd /opt/candelabra && git pull && nixos-rebuild switch --fast --flake .#default'" + - ssh -t $SSH_LOCATION "bash -lc 'cd /opt/candelabra && git pull && NIXOS_SWITCH_USE_DIRTY_ENV=1 nixos-rebuild switch --fast --flake .#default'" - ssh -t $SSH_LOCATION "bash -lc 'cd /opt/candelabra/src && just run-all-tests'" |