diff options
author | Karel Kočí <cynerd@email.cz> | 2022-07-19 15:20:01 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-07-19 15:20:01 +0200 |
commit | f943c6dc9969fd504387fa735b07439ea768b40c (patch) | |
tree | 7126487b88a6f604ed67952d7f806cbb4a0f7e4f /nixos | |
parent | a914d97e00e10ae387f852955618cb1be3fe1dd0 (diff) | |
download | nixturris-f943c6dc9969fd504387fa735b07439ea768b40c.tar.gz nixturris-f943c6dc9969fd504387fa735b07439ea768b40c.tar.bz2 nixturris-f943c6dc9969fd504387fa735b07439ea768b40c.zip |
nixos/modules: resolve TODO
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/turris-crossbuild.nix | 5 |
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 + ); } |