nixops-hetzner icon indicating copy to clipboard operation
nixops-hetzner copied to clipboard

syntax error near unexpected token `0022'

Open domenkozar opened this issue 6 years ago • 1 comments

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

domenkozar avatar Nov 29 '19 13:11 domenkozar

This was addressed by https://github.com/NixOS/nixpkgs/issues/53672 but see the latest comment that it still fails.

domenkozar avatar Jan 03 '21 23:01 domenkozar