From f943c6dc9969fd504387fa735b07439ea768b40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 19 Jul 2022 15:20:01 +0200 Subject: nixos/modules: resolve TODO --- nixos/modules/turris-crossbuild.nix | 5 +++-- 1 file 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 + ); } -- cgit v1.2.3