aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/turris-crossbuild.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/turris-crossbuild.nix b/nixos/modules/turris-crossbuild.nix
index 1f107bd..d070d6c 100644
--- a/nixos/modules/turris-crossbuild.nix
+++ b/nixos/modules/turris-crossbuild.nix
@@ -15,7 +15,8 @@ let
in mkIf (config.nixpkgs.crossSystem == null) {
- # TODO for each common platform
- system.build.cross.x86_64-linux = crossVariant "x86_64-linux";
+ system.build.cross = genAttrs lib.systems.flakeExposed (system:
+ crossVariant system
+ );
}