chat am i stupid?
attrValues not attrVals...
This commit is contained in:
parent
31887f82da
commit
035092fea3
1 changed files with 4 additions and 6 deletions
|
|
@ -6,8 +6,6 @@
|
||||||
value = x;
|
value = x;
|
||||||
})
|
})
|
||||||
values);
|
values);
|
||||||
|
|
||||||
attrVals = lib.attrsets.attrVals;
|
|
||||||
in rec {
|
in rec {
|
||||||
# REF: https://github.com/nix-systems/nix-systems
|
# REF: https://github.com/nix-systems/nix-systems
|
||||||
archs = listToTrivialAttrs arch;
|
archs = listToTrivialAttrs arch;
|
||||||
|
|
@ -44,10 +42,10 @@ in rec {
|
||||||
toSystemName = arch: platform: "${arch}-${platform}";
|
toSystemName = arch: platform: "${arch}-${platform}";
|
||||||
listsToSystemNames = archs: platforms:
|
listsToSystemNames = archs: platforms:
|
||||||
lib.lists.crossLists (arch: platform: toSystemName arch platform)
|
lib.lists.crossLists (arch: platform: toSystemName arch platform)
|
||||||
[
|
(with lib.attrsets; [
|
||||||
(attrVals archs)
|
(attrValues archs)
|
||||||
(attrVals platforms)
|
(attrValues platforms)
|
||||||
];
|
]);
|
||||||
|
|
||||||
# === External Functions ===
|
# === External Functions ===
|
||||||
# TODO
|
# TODO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue