nixops icon indicating copy to clipboard operation
nixops copied to clipboard

uploading deployment.keys fails when root user has a different dafault shell

Open devvythelopper opened this issue 3 years ago • 0 comments

I like to use fish to manage my servers. And for some reason when I try to deploy a sercet key via nixops, I get "fish:Command substitions not allowed in

uploading key ‘secret-foo’...
fish: Command substitutions not allowed
test -d '/some/path' || ( mkdir -m 0750 -p '/ome/path' && chown root:keys  '/some/path;)
                        ^

Nixops of course should use a shell that knows how to interpret its commands. This is a bug existing in pre 2.0, and should be fixed there too...

devvythelopper avatar Jun 18 '22 12:06 devvythelopper