nixops-hetzner
nixops-hetzner copied to clipboard
syntax error near unexpected token `0022'
agent> creating missing directories... done.
agent> bind-mounting files in /etc... resolv.conf...passwd...group...done.
agent> detecting hardware...
agent> /usr/bin/nixos-generate-config: line 3: use: command not found
agent> /usr/bin/nixos-generate-config: line 4: use: command not found
agent> /usr/bin/nixos-generate-config: line 5: use: command not found
agent> /usr/bin/nixos-generate-config: line 6: use: command not found
agent> /usr/bin/nixos-generate-config: line 7: use: command not found
agent> /usr/bin/nixos-generate-config: line 8: use: command not found
agent> /usr/bin/nixos-generate-config: line 9: use: command not found
agent> /usr/bin/nixos-generate-config: line 11: syntax error near unexpected token `0022'
agent> /usr/bin/nixos-generate-config: line 11: `umask(0022);'
Patch https://github.com/jezen/nixpkgs/commit/ed55f83f1afe4af721f6decef8b5e339aec73362
This was addressed by https://github.com/NixOS/nixpkgs/issues/53672 but see the latest comment that it still fails.