Hermetic cross system deployments fail #33
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: tristan/nixinate#33
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, it is not possible to run an hermetic deployment from a x86_64-linux to an aarch64-linux machine. It fails with
Hermetic deployment should copy and use cross compiled packages on the target machine.
This is actually an issue with
nixos-rebuild
, which is why I was thinking of implementing multiple backends, so that we could for example choose between usingnixos-rebuild
andnix copy
to implement the deployment, or any other method, perhaps our own custom activation.If we use
nixos-rebuild
we encounter this bug https://github.com/NixOS/nixpkgs/issues/177873If we use
nix copy
and use the activation script from a NixOS system closure directly, we encounter this bug https://github.com/NixOS/nixpkgs/issues/82851Ouh, that looks like fun :D If you need some help, I would be glad to join :)
@Gerschtli Just fixing those bugs I posted would ultimately fix them in Nixinate too. I don't have the time to work on them right now, but I may find interest later on, in which case I'll give you a ping!
Closed due to fork migration, feel free to reopen.