deploy-rs icon indicating copy to clipboard operation
deploy-rs copied to clipboard

Update example to make it work

Open ivarmedi opened this issue 2 years ago â€ĸ 1 comments

I might be misunderstanding things, but I had to add the hostname to the node level to be able to deploy. Feel free to disregard if I'm doing something dumb

ivarmedi avatar Dec 11 '23 18:12 ivarmedi

Had the same issue, glad it wasn't just me. Result of deploy .#<hostname> was

🚀 â„šī¸ [deploy] [INFO] Running checks for flake in /home/paul/Config
warning: Git tree '/home/paul/Config' is dirty
warning: unknown flake output 'deploy'
error: builder for '/nix/store/y9jml39c6l2fi7dddkv515jhc0a0l06b-jsonschema-deploy-system.drv' failed with exit code 1;
       last 2 log lines:
       > Schema validation errors were encountered.
       >   /nix/store/wf9ihj48llx007r0nzfg4g4500rww0vy-deploy.json::$.nodes.<hostname>: 'hostname' is a required property
       For full logs, run 'nix log /nix/store/y9jml39c6l2fi7dddkv515jhc0a0l06b-jsonschema-deploy-system.drv'.
🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)

trespaul avatar Apr 09 '24 15:04 trespaul