ci: Adjust for non-trusted build.

This commit is contained in:
kat witch 2021-05-17 06:46:12 +01:00
parent 5da8bd2221
commit 02ebddc9b3
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -25,10 +25,6 @@ with lib; {
mkdir ~/.ssh
echo "$OPENSSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 0600 ~/.ssh/id_rsa
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git clone ssh://gitea@git.kittywit.ch:62954/kat/nixfiles.git
rmdir nixfiles/trusted
ln -s $PWD nixfiles/trusted
cd nixfiles
nix run -f . pkgs.niv -c niv update
if git status --porcelain | grep -qF nix/sources.json ; then
if nix build -Lf . hosts.{athame,yule,samhain}.config.system.build.toplevel; then