Closed PierreR closed 5 years ago
If I replace the line with
curl "$packer_http/postinstall.sh" | sh
Then I see the postinstall script output.
The script is supposed to be executed within the nixos chroot. It's possible that the fix here didn't do what was intended: https://github.com/nix-community/nixbox/commit/ba8b646ada9fae88c188e05e49b310cf4c7d9065
Just submit a fix. I guess this needs to be nix-enter
. See https://github.com/NixOS/nixpkgs/issues/34033
yeah good call, looks like curl "$packer_http/postinstall.sh" | nixos-enter
should do the trick.
@zimbatm would you mind explaining this line to me ?
Are you sure the postinstall.sh script is executed ?
Here is my output:
The installer is running twice. Is this intended ?
Thx