sys submodule should reference new std submodules
This commit is contained in:
parent
831203ecce
commit
a3afe330c4
1 changed files with 4 additions and 8 deletions
|
|
@ -1,26 +1,22 @@
|
||||||
{
|
{lists}: let
|
||||||
crossLists,
|
|
||||||
listToAttrsIdentity,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
# === Internal Helper Functions ===
|
# === Internal Helper Functions ===
|
||||||
toSystemName = arch: platform: "${arch}-${platform}";
|
toSystemName = arch: platform: "${arch}-${platform}";
|
||||||
listsToSystemNames = archs: platforms:
|
listsToSystemNames = archs: platforms:
|
||||||
crossLists (arch: platform: toSystemName arch platform)
|
lists.crossLists (arch: platform: toSystemName arch platform)
|
||||||
[
|
[
|
||||||
(builtins.attrValues archs)
|
(builtins.attrValues archs)
|
||||||
(builtins.attrValues platforms)
|
(builtins.attrValues platforms)
|
||||||
];
|
];
|
||||||
in rec {
|
in rec {
|
||||||
# REF: https://github.com/nix-systems/nix-systems
|
# REF: https://github.com/nix-systems/nix-systems
|
||||||
archs = listToAttrsIdentity [
|
archs = lists.listToAttrsIdentity [
|
||||||
"x86_64"
|
"x86_64"
|
||||||
"aarch64"
|
"aarch64"
|
||||||
"riscv64"
|
"riscv64"
|
||||||
];
|
];
|
||||||
|
|
||||||
# REF: https://github.com/nix-systems/nix-systems
|
# REF: https://github.com/nix-systems/nix-systems
|
||||||
platforms = listToAttrsIdentity [
|
platforms = lists.listToAttrsIdentity [
|
||||||
"linux"
|
"linux"
|
||||||
"darwin"
|
"darwin"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue