refactor: organization and typo fixes

This commit is contained in:
Jake Hamilton 2024-06-08 03:36:57 -07:00
parent 7e9ae0798d
commit e015170e78
Signed by untrusted user: jakehamilton
GPG key ID: 9762169A1B35EA68
69 changed files with 748 additions and 752 deletions

View file

@ -13,11 +13,7 @@
modules = import ./src; modules = import ./src;
forEachSystem = lib.attrs.generate [ forEachSystem = lib.attrs.generate [
# "x86_64-linux"
# "aarch64-linux"
"i686-linux" "i686-linux"
# "x86_64-darwin"
# "aarch64-darwin"
]; ];
in { in {
extras = let extras = let

View file

@ -17,7 +17,7 @@ in {
config = { config = {
aux.foundation.builders.bash.boot = { aux.foundation.builders.bash.boot = {
build = lib.modules.overrides.default (settings @ { build = settings @ {
name, name,
script, script,
meta ? {}, meta ? {},
@ -71,7 +71,7 @@ in {
package package
// { // {
inherit meta extras; inherit meta extras;
}); };
}; };
}; };
} }

View file

@ -20,7 +20,7 @@ in {
config = { config = {
aux.foundation.builders.bash = { aux.foundation.builders.bash = {
build = lib.modules.overrides.default (settings @ { build = settings @ {
name, name,
script, script,
meta ? {}, meta ? {},
@ -73,7 +73,7 @@ in {
package package
// { // {
inherit meta extras; inherit meta extras;
}); };
}; };
}; };
} }

View file

@ -15,7 +15,7 @@ in {
config = { config = {
aux.foundation.builders.file.text = { aux.foundation.builders.file.text = {
build = lib.modules.overrides.default (settings @ { build = settings @ {
name, name,
contents, contents,
isExecutable ? false, isExecutable ? false,
@ -63,7 +63,7 @@ in {
package package
// { // {
inherit meta extras; inherit meta extras;
}); };
}; };
}; };
} }

View file

@ -16,7 +16,7 @@ in {
config = { config = {
aux.foundation.builders.kaem = { aux.foundation.builders.kaem = {
build = lib.modules.overrides.default (settings @ { build = settings @ {
name, name,
script, script,
meta ? {}, meta ? {},
@ -59,7 +59,7 @@ in {
package package
// { // {
inherit meta extras; inherit meta extras;
}); };
}; };
}; };
} }

View file

@ -13,7 +13,7 @@ in {
config = { config = {
aux.foundation.builders.raw = { aux.foundation.builders.raw = {
build = lib.modules.overrides.default (settings @ { build = settings @ {
pname, pname,
version, version,
executable, executable,
@ -36,7 +36,7 @@ in {
package package
// { // {
inherit meta extras; inherit meta extras;
}); };
}; };
}; };
} }

View file

@ -12,11 +12,6 @@
mescc-tools-extra = config.aux.foundation.stages.stage0.mescc-tools-extra; mescc-tools-extra = config.aux.foundation.stages.stage0.mescc-tools-extra;
in { in {
options.aux.foundation.stages.stage0.kaem = { options.aux.foundation.stages.stage0.kaem = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for kaem.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -40,9 +35,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for kaem.";
};
}; };
config = { config = {

View file

@ -20,11 +20,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.mescc-tools-extra = { options.aux.foundation.stages.stage0.mescc-tools-extra = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mescc-tools-extra.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +43,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mescc-tools-extra.";
};
}; };
config = { config = {

View file

@ -106,11 +106,6 @@
}; };
in { in {
options.aux.foundation.stages.stage0.mescc-tools = { options.aux.foundation.stages.stage0.mescc-tools = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mescc-tools.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -134,9 +129,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mescc-tools.";
};
}; };
config = { config = {

View file

@ -18,11 +18,6 @@
else builtins.throw "Unsupported system for stage0: ${system}"; else builtins.throw "Unsupported system for stage0: ${system}";
in { in {
options.aux.foundation.stages.stage0.hex0 = { options.aux.foundation.stages.stage0.hex0 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex0.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -46,10 +41,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex0.";
};
hash = lib.options.create { hash = lib.options.create {
type = lib.types.nullish lib.types.string; type = lib.types.nullish lib.types.string;
default = { default = {

View file

@ -11,11 +11,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.hex1 = { options.aux.foundation.stages.stage0.hex1 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex0.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -39,9 +34,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex1.";
};
}; };
config = { config = {

View file

@ -12,11 +12,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.hex2-0 = { options.aux.foundation.stages.stage0.hex2-0 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2-0.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -40,9 +35,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2-0.";
};
}; };
config = { config = {

View file

@ -13,11 +13,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.catm = { options.aux.foundation.stages.stage0.catm = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for catm.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -41,9 +36,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for catm.";
};
}; };
config = { config = {

View file

@ -13,11 +13,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.M0 = { options.aux.foundation.stages.stage0.M0 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M0.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -41,9 +36,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M0.";
};
}; };
config = { config = {

View file

@ -14,11 +14,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.cc_arch = { options.aux.foundation.stages.stage0.cc_arch = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for cc_arch.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -42,9 +37,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for cc_arch.";
};
}; };
config = { config = {

View file

@ -15,11 +15,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.M2 = { options.aux.foundation.stages.stage0.M2 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M2.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -43,9 +38,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M2.";
};
}; };
config = { config = {

View file

@ -16,11 +16,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.blood-elf = { options.aux.foundation.stages.stage0.blood-elf = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for blood-elf.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -44,9 +39,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for blood-elf.";
};
}; };
config = { config = {

View file

@ -17,11 +17,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.M1-0 = { options.aux.foundation.stages.stage0.M1-0 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M1-0.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -45,9 +40,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M1-0.";
};
}; };
config = { config = {

View file

@ -18,11 +18,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.hex2-1 = { options.aux.foundation.stages.stage0.hex2-1 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2-1.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -46,9 +41,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2-1.";
};
}; };
config = { config = {

View file

@ -19,11 +19,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.M1 = { options.aux.foundation.stages.stage0.M1 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M1.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -47,9 +42,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for M1.";
};
}; };
config = { config = {

View file

@ -18,11 +18,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.hex2 = { options.aux.foundation.stages.stage0.hex2 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -46,9 +41,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for hex2.";
};
}; };
config = { config = {

View file

@ -18,11 +18,6 @@
architecture = config.aux.foundation.stages.stage0.architecture; architecture = config.aux.foundation.stages.stage0.architecture;
in { in {
options.aux.foundation.stages.stage0.kaem-unwrapped = { options.aux.foundation.stages.stage0.kaem-unwrapped = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for kaem-unwrapped.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -46,9 +41,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for kaem-unwrapped.";
};
}; };
config = { config = {

View file

@ -9,11 +9,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.bash.boot = { options.aux.foundation.stages.stage1.bash.boot = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash-boot.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -37,10 +32,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash-boot.";
};
version = lib.options.create { version = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Version of the package."; description = "Version of the package.";

View file

@ -14,21 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.bash = { options.aux.foundation.stages.stage1.bash = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,7 +37,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -61,6 +46,21 @@ in {
default.value = "bash"; default.value = "bash";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.binutils = { options.aux.foundation.stages.stage1.binutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for binutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for binutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.bison = { options.aux.foundation.stages.stage1.bison = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bison.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -51,6 +36,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bison.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.bzip2 = { options.aux.foundation.stages.stage1.bzip2 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bzip2.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,6 +37,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bzip2.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -14,21 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.coreutils = { options.aux.foundation.stages.stage1.coreutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for coreutils-boot.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,9 +37,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for coreutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.diffutils = { options.aux.foundation.stages.stage1.diffutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for diffutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for diffutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.findutils = { options.aux.foundation.stages.stage1.findutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for findutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for findutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -14,21 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.gawk = { options.aux.foundation.stages.stage1.gawk = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gawk.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -61,6 +46,21 @@ in {
default.value = "awk"; default.value = "awk";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gawk.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -16,6 +16,33 @@ in {
]; ];
options.aux.foundation.stages.stage1.gcc = { options.aux.foundation.stages.stage1.gcc = {
meta = {
description = lib.options.create {
type = lib.types.string;
description = "Description for the package.";
default.value = "GNU Compiler Collection.";
};
homepage = lib.options.create {
type = lib.types.string;
description = "Homepage for the package.";
default.value = "https://gcc.gnu.org";
};
license = lib.options.create {
# TODO: Add a proper type for licenses.
type = lib.types.attrs.any;
description = "License for the package.";
default.value = lib.licenses.gpl3Plus;
};
platforms = lib.options.create {
type = lib.types.list.of lib.types.string;
description = "Platforms the package supports.";
default.value = ["i686-linux"];
};
};
package = lib.options.create { package = lib.options.create {
type = lib.types.package; type = lib.types.package;
description = "The package to use for gcc."; description = "The package to use for gcc.";
@ -84,33 +111,6 @@ in {
description = "Version of isl."; description = "Version of isl.";
}; };
}; };
meta = {
description = lib.options.create {
type = lib.types.string;
description = "Description for the package.";
default.value = "GNU Compiler Collection.";
};
homepage = lib.options.create {
type = lib.types.string;
description = "Homepage for the package.";
default.value = "https://gcc.gnu.org";
};
license = lib.options.create {
# TODO: Add a proper type for licenses.
type = lib.types.attrs.any;
description = "License for the package.";
default.value = lib.licenses.gpl3Plus;
};
platforms = lib.options.create {
type = lib.types.list.of lib.types.string;
description = "Platforms the package supports.";
default.value = ["i686-linux"];
};
};
}; };
config = { config = {

View file

@ -9,21 +9,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.gnugrep = { options.aux.foundation.stages.stage1.gnugrep = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -47,7 +32,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -56,6 +41,21 @@ in {
default.value = "grep"; default.value = "grep";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.gnum4 = { options.aux.foundation.stages.stage1.gnum4 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnum4.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -51,6 +36,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnum4.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -14,11 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.gnumake = { options.aux.foundation.stages.stage1.gnumake = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -42,10 +37,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
version = lib.options.create { version = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Version of the package."; description = "Version of the package.";

View file

@ -9,11 +9,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.gnupatch = { options.aux.foundation.stages.stage1.gnupatch = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnupatch.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -37,10 +32,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnupatch.";
};
version = lib.options.create { version = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Version of the package."; description = "Version of the package.";

View file

@ -14,21 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.gnused = { options.aux.foundation.stages.stage1.gnused = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,7 +37,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -61,6 +46,21 @@ in {
default.value = "sed"; default.value = "sed";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnused.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -15,21 +15,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.gnutar = { options.aux.foundation.stages.stage1.gnutar = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnutar.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -53,7 +38,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -62,6 +47,21 @@ in {
default.value = "tar"; default.value = "tar";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnutar.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -9,32 +9,17 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.gzip = { options.aux.foundation.stages.stage1.gzip = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Description for the package."; description = "Description for the package.";
default.value = "GNU implementation of the Unix grep command"; default.value = "GNU zip compression program.";
}; };
homepage = lib.options.create { homepage = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Homepage for the package."; description = "Homepage for the package.";
default.value = "https://www.gnu.org/software/grep"; default.value = "https://www.gnu.org/software/gzip";
}; };
license = lib.options.create { license = lib.options.create {
@ -47,9 +32,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gzip.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -15,21 +15,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.heirloom = { options.aux.foundation.stages.stage1.heirloom = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for heirloom.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -66,6 +51,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for heirloom.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.linux-headers = { options.aux.foundation.stages.stage1.linux-headers = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for linux-headers.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -45,6 +30,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for linux-headers.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,11 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.ln-boot = { options.aux.foundation.stages.stage1.ln-boot = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for ln-boot.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -38,9 +33,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for ln-boot.";
};
}; };
config = { config = {

View file

@ -11,11 +11,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.mes.compiler = { options.aux.foundation.stages.stage1.mes.compiler = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the mes compiler.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -42,6 +37,11 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the mes compiler.";
};
}; };
config = { config = {

View file

@ -9,11 +9,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.mes.libc = { options.aux.foundation.stages.stage1.mes.libc = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mes-libc.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -37,9 +32,14 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mes-libc.";
};
}; };
config = { config = {

View file

@ -11,11 +11,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.mes.libs = { options.aux.foundation.stages.stage1.mes.libs = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mes libs.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -43,6 +38,11 @@ in {
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for mes libs.";
};
src = lib.options.create { src = lib.options.create {
type = lib.types.package; type = lib.types.package;
description = "Source for the package."; description = "Source for the package.";

View file

@ -14,21 +14,6 @@ in {
]; ];
options.aux.foundation.stages.stage1.musl = { options.aux.foundation.stages.stage1.musl = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for musl.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -56,6 +41,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for musl.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -12,11 +12,6 @@
version = "1.00.2"; version = "1.00.2";
in { in {
options.aux.foundation.stages.stage1.nyacc = { options.aux.foundation.stages.stage1.nyacc = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for nyacc.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -40,7 +35,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
@ -48,6 +43,11 @@ in {
type = lib.types.package; type = lib.types.package;
description = "Source for the package."; description = "Source for the package.";
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for nyacc.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.python = { options.aux.foundation.stages.stage1.python = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for python.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -51,6 +36,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for python.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -13,20 +13,6 @@ args @ {
helpers = lib.fp.withDynamicArgs (import ./helpers.nix) args; helpers = lib.fp.withDynamicArgs (import ./helpers.nix) args;
in { in {
options.aux.foundation.stages.stage1.tinycc.boot = { options.aux.foundation.stages.stage1.tinycc.boot = {
compiler = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the tinycc-boot compiler.";
};
};
libs = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the tinycc-boot libs.";
};
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -54,6 +40,20 @@ in {
}; };
}; };
compiler = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the tinycc-boot compiler.";
};
};
libs = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for the tinycc-boot libs.";
};
};
src = lib.options.create { src = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Source for the package."; description = "Source for the package.";

View file

@ -38,7 +38,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.xz = { options.aux.foundation.stages.stage1.xz = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for xz.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -54,6 +39,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for xz.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage1.zlib = { options.aux.foundation.stages.stage1.zlib = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for zlib.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -51,6 +36,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for zlib.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.bash = { options.aux.foundation.stages.stage2.bash = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,7 +33,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -57,6 +42,21 @@ in {
default.value = "bash"; default.value = "bash";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bash.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.binutils = { options.aux.foundation.stages.stage2.binutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for binutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for binutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -11,21 +11,6 @@
stage2 = config.aux.foundation.stages.stage2; stage2 = config.aux.foundation.stages.stage2;
in { in {
options.aux.foundation.stages.stage2.busybox = { options.aux.foundation.stages.stage2.busybox = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for busybox.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,6 +37,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for busybox.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.bzip2 = { options.aux.foundation.stages.stage2.bzip2 = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bzip2.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,6 +37,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for bzip2.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.coreutils = { options.aux.foundation.stages.stage2.coreutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for coreutils-boot.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for coreutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.diffutils = { options.aux.foundation.stages.stage2.diffutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for diffutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for diffutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.findutils = { options.aux.foundation.stages.stage2.findutils = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for findutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for findutils.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gawk = { options.aux.foundation.stages.stage2.gawk = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gawk.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -57,6 +42,21 @@ in {
default.value = "awk"; default.value = "awk";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gawk.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,6 +10,33 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gcc = { options.aux.foundation.stages.stage2.gcc = {
meta = {
description = lib.options.create {
type = lib.types.string;
description = "Description for the package.";
default.value = "GNU Compiler Collection.";
};
homepage = lib.options.create {
type = lib.types.string;
description = "Homepage for the package.";
default.value = "https://gcc.gnu.org";
};
license = lib.options.create {
# TODO: Add a proper type for licenses.
type = lib.types.attrs.any;
description = "License for the package.";
default.value = lib.licenses.gpl3Plus;
};
platforms = lib.options.create {
type = lib.types.list.of lib.types.string;
description = "Platforms the package supports.";
default.value = ["i686-linux"];
};
};
package = lib.options.create { package = lib.options.create {
type = lib.types.package; type = lib.types.package;
description = "The package to use for gcc."; description = "The package to use for gcc.";
@ -78,33 +105,6 @@ in {
description = "Version of isl."; description = "Version of isl.";
}; };
}; };
meta = {
description = lib.options.create {
type = lib.types.string;
description = "Description for the package.";
default.value = "GNU Compiler Collection.";
};
homepage = lib.options.create {
type = lib.types.string;
description = "Homepage for the package.";
default.value = "https://gcc.gnu.org";
};
license = lib.options.create {
# TODO: Add a proper type for licenses.
type = lib.types.attrs.any;
description = "License for the package.";
default.value = lib.licenses.gpl3Plus;
};
platforms = lib.options.create {
type = lib.types.list.of lib.types.string;
description = "Platforms the package supports.";
default.value = ["i686-linux"];
};
};
}; };
config = { config = {

View file

@ -11,21 +11,6 @@
stage2 = config.aux.foundation.stages.stage2; stage2 = config.aux.foundation.stages.stage2;
in { in {
options.aux.foundation.stages.stage2.glibc = { options.aux.foundation.stages.stage2.glibc = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for glibc.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,6 +37,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for glibc.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gnugrep = { options.aux.foundation.stages.stage2.gnugrep = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,7 +33,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -57,6 +42,21 @@ in {
default.value = "grep"; default.value = "grep";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -11,11 +11,6 @@
stage2 = config.aux.foundation.stages.stage2; stage2 = config.aux.foundation.stages.stage2;
in { in {
options.aux.foundation.stages.stage2.gnumake = { options.aux.foundation.stages.stage2.gnumake = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -39,10 +34,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
version = lib.options.create { version = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Version of the package."; description = "Version of the package.";

View file

@ -10,11 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gnupatch = { options.aux.foundation.stages.stage2.gnupatch = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnupatch.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -38,10 +33,15 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnupatch.";
};
version = lib.options.create { version = lib.options.create {
type = lib.types.string; type = lib.types.string;
description = "Version of the package."; description = "Version of the package.";

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gnused = { options.aux.foundation.stages.stage2.gnused = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnumake.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,7 +33,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -57,6 +42,21 @@ in {
default.value = "sed"; default.value = "sed";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnused.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gnutar = { options.aux.foundation.stages.stage2.gnutar = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnutar.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,7 +33,7 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {
@ -57,6 +42,21 @@ in {
default.value = "tar"; default.value = "tar";
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnutar.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -10,21 +10,6 @@
stage1 = config.aux.foundation.stages.stage1; stage1 = config.aux.foundation.stages.stage1;
in { in {
options.aux.foundation.stages.stage2.gzip = { options.aux.foundation.stages.stage2.gzip = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gnugrep.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -48,9 +33,24 @@ in {
platforms = lib.options.create { platforms = lib.options.create {
type = lib.types.list.of lib.types.string; type = lib.types.list.of lib.types.string;
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for gzip.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {

View file

@ -11,21 +11,6 @@
stage2 = config.aux.foundation.stages.stage2; stage2 = config.aux.foundation.stages.stage2;
in { in {
options.aux.foundation.stages.stage2.patchelf = { options.aux.foundation.stages.stage2.patchelf = {
package = lib.options.create {
type = lib.types.package;
description = "The package to use for patchelf.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
meta = { meta = {
description = lib.options.create { description = lib.options.create {
type = lib.types.string; type = lib.types.string;
@ -52,6 +37,21 @@ in {
default.value = ["i686-linux"]; default.value = ["i686-linux"];
}; };
}; };
package = lib.options.create {
type = lib.types.package;
description = "The package to use for patchelf.";
};
version = lib.options.create {
type = lib.types.string;
description = "Version of the package.";
};
src = lib.options.create {
type = lib.types.package;
description = "Source for the package.";
};
}; };
config = { config = {