-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on6.topic: documentationMeta-discussion about documentation and its workflowMeta-discussion about documentation and its workflow6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
There is good support for cross-compilation in nixpkgs, but as far as I can tell, none in NixOS. This has a drastic impact on the usefulness of cross-compiling within Nix.
Ideally one would be able to:
- Build a cross-compiled system configuration.
- Deploy the system to a local storage medium (like nixos-install).
- Deploy the system via nixops (basic ssh deployment).
- Build a target-specific firmware image (where applicable).
I am prepared to work on this, but I would first like some guidence from people familiar with the NixOS code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on6.topic: documentationMeta-discussion about documentation and its workflowMeta-discussion about documentation and its workflow6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS