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;
|
||||
})
|
||||
values);
|
||||
|
||||
attrVals = lib.attrsets.attrVals;
|
||||
in rec {
|
||||
# REF: https://github.com/nix-systems/nix-systems
|
||||
archs = listToTrivialAttrs arch;
|
||||
|
|
@ -44,10 +42,10 @@ in rec {
|
|||
toSystemName = arch: platform: "${arch}-${platform}";
|
||||
listsToSystemNames = archs: platforms:
|
||||
lib.lists.crossLists (arch: platform: toSystemName arch platform)
|
||||
[
|
||||
(attrVals archs)
|
||||
(attrVals platforms)
|
||||
];
|
||||
(with lib.attrsets; [
|
||||
(attrValues archs)
|
||||
(attrValues platforms)
|
||||
]);
|
||||
|
||||
# === External Functions ===
|
||||
# TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue