aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-19 15:20:01 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-19 15:20:01 +0200
commitf943c6dc9969fd504387fa735b07439ea768b40c (patch)
tree7126487b88a6f604ed67952d7f806cbb4a0f7e4f /nixos/modules
parenta914d97e00e10ae387f852955618cb1be3fe1dd0 (diff)
downloadnixturris-f943c6dc9969fd504387fa735b07439ea768b40c.tar.gz
nixturris-f943c6dc9969fd504387fa735b07439ea768b40c.tar.bz2
nixturris-f943c6dc9969fd504387fa735b07439ea768b40c.zip
nixos/modules: resolve TODO
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
+ );
}