systems/examples.nix: move riscv function to let binding

Makes it easier to use mapAttrs with lib.systems.examples. Now every
entry in it are legitimate systems.
This commit is contained in:
Matthew Bauer
2018-11-29 19:15:28 -06:00
parent 865cbd380d
commit ce6d558c4d
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ rec {
# More poor man's memoisation
pkgsForCross = let
examplesByConfig = lib.flip lib.mapAttrs'
(builtins.removeAttrs lib.systems.examples [ "riscv" ])
lib.systems.examples
(_: crossSystem: nameValuePair crossSystem.config {
inherit crossSystem;
pkgsFor = mkPkgsFor crossSystem;