lassulus
lassulus
the nix-sandbox doesn't allow internet connections (also this wouldn't be very reproducible then).
packer needs, according to the documentation, aws_access_key and aws_secret_key. So it seems it would need to connect to some AWS servers to create the AMI
mildly related: https://github.com/NixOS/nixpkgs/pull/67475 but thanks a lot to zimbatm for the thorough explanation
this should be fixed in 1.1.0. I will update it in nixpkgs shortly
weird, nix-review bails out for me: ``` ~/src/nixpkgs nix-review pr 185731 $ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs staging:refs/nixpkgs-review/0 pull/185731/head:refs/nixpkgs-review/1 $ git worktree add /home/lass/.cache/nixpkgs-review/pr-185731-4/nixpkgs 9ddba5de012bcd4d19c6ce4bde78beb041b3852c Preparing worktree (detached...
I only managed to get docker formats running as privileged podman containers. Maybe this can also be done for privileged docker containers, but I never tried. Unsure what the error...
error: builder for '/nix/store/80w4md2zi3dfwbj3iwlw6dp7ggd4qnd6-source.drv' failed with exit code 1; last 8 log lines: > > trying https://github.com/lief-project/LIEF/archive/0.12.2.tar.gz > % Total % Received % Xferd Average Speed Time Time Time Current...
seems like there is no release on https://github.com/lief-project/LIEF/releases
there is now https://github.com/NixOS/nixpkgs/pull/199102#event-7719536347
ah yeah, nixos ignores fileSystems options in vms. seems more like a nixpkgs issue to me and you would need to investigate there if there is some kind of override...