refactor: organization and typo fixes
This commit is contained in:
parent
7e9ae0798d
commit
e015170e78
|
@ -13,11 +13,7 @@
|
|||
modules = import ./src;
|
||||
|
||||
forEachSystem = lib.attrs.generate [
|
||||
# "x86_64-linux"
|
||||
# "aarch64-linux"
|
||||
"i686-linux"
|
||||
# "x86_64-darwin"
|
||||
# "aarch64-darwin"
|
||||
];
|
||||
in {
|
||||
extras = let
|
||||
|
|
|
@ -17,7 +17,7 @@ in {
|
|||
|
||||
config = {
|
||||
aux.foundation.builders.bash.boot = {
|
||||
build = lib.modules.overrides.default (settings @ {
|
||||
build = settings @ {
|
||||
name,
|
||||
script,
|
||||
meta ? {},
|
||||
|
@ -71,7 +71,7 @@ in {
|
|||
package
|
||||
// {
|
||||
inherit meta extras;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ in {
|
|||
|
||||
config = {
|
||||
aux.foundation.builders.bash = {
|
||||
build = lib.modules.overrides.default (settings @ {
|
||||
build = settings @ {
|
||||
name,
|
||||
script,
|
||||
meta ? {},
|
||||
|
@ -73,7 +73,7 @@ in {
|
|||
package
|
||||
// {
|
||||
inherit meta extras;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ in {
|
|||
|
||||
config = {
|
||||
aux.foundation.builders.file.text = {
|
||||
build = lib.modules.overrides.default (settings @ {
|
||||
build = settings @ {
|
||||
name,
|
||||
contents,
|
||||
isExecutable ? false,
|
||||
|
@ -63,7 +63,7 @@ in {
|
|||
package
|
||||
// {
|
||||
inherit meta extras;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ in {
|
|||
|
||||
config = {
|
||||
aux.foundation.builders.kaem = {
|
||||
build = lib.modules.overrides.default (settings @ {
|
||||
build = settings @ {
|
||||
name,
|
||||
script,
|
||||
meta ? {},
|
||||
|
@ -59,7 +59,7 @@ in {
|
|||
package
|
||||
// {
|
||||
inherit meta extras;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
|
||||
config = {
|
||||
aux.foundation.builders.raw = {
|
||||
build = lib.modules.overrides.default (settings @ {
|
||||
build = settings @ {
|
||||
pname,
|
||||
version,
|
||||
executable,
|
||||
|
@ -36,7 +36,7 @@ in {
|
|||
package
|
||||
// {
|
||||
inherit meta extras;
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
mescc-tools-extra = config.aux.foundation.stages.stage0.mescc-tools-extra;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.kaem = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for kaem.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -40,9 +35,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +43,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -106,11 +106,6 @@
|
|||
};
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.mescc-tools = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for mescc-tools.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -134,9 +129,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
else builtins.throw "Unsupported system for stage0: ${system}";
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.hex0 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for hex0.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -46,10 +41,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.nullish lib.types.string;
|
||||
default = {
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.hex1 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for hex0.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -39,9 +34,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.hex2-0 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for hex2-0.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -40,9 +35,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.catm = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for catm.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -41,9 +36,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.M0 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for M0.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -41,9 +36,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -14,11 +14,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.cc_arch = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for cc_arch.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -42,9 +37,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -15,11 +15,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.M2 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for M2.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -43,9 +38,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.blood-elf = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for blood-elf.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -44,9 +39,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -17,11 +17,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.M1-0 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for M1-0.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -45,9 +40,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.hex2-1 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for hex2-1.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -46,9 +41,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.M1 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for M1.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -47,9 +42,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.hex2 = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for hex2.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -46,9 +41,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
architecture = config.aux.foundation.stages.stage0.architecture;
|
||||
in {
|
||||
options.aux.foundation.stages.stage0.kaem-unwrapped = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for kaem-unwrapped.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -46,9 +41,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.bash.boot = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for bash-boot.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -37,10 +32,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Version of the package.";
|
||||
|
|
|
@ -14,21 +14,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,7 +37,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -61,6 +46,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -51,6 +36,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,6 +37,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -14,21 +14,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,9 +37,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -14,21 +14,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -61,6 +46,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -16,6 +16,33 @@ in {
|
|||
];
|
||||
|
||||
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 {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gcc.";
|
||||
|
@ -84,33 +111,6 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -9,21 +9,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -47,7 +32,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -56,6 +41,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -51,6 +36,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -14,11 +14,6 @@ in {
|
|||
];
|
||||
|
||||
options.aux.foundation.stages.stage1.gnumake = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gnumake.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -42,10 +37,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Version of the package.";
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.gnupatch = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gnupatch.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -37,10 +32,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Version of the package.";
|
||||
|
|
|
@ -14,21 +14,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,7 +37,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -61,6 +46,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -15,21 +15,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -53,7 +38,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -62,6 +47,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -9,32 +9,17 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
description = "Description for the package.";
|
||||
default.value = "GNU implementation of the Unix grep command";
|
||||
default.value = "GNU zip compression program.";
|
||||
};
|
||||
|
||||
homepage = lib.options.create {
|
||||
type = lib.types.string;
|
||||
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 {
|
||||
|
@ -47,9 +32,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -15,21 +15,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -66,6 +51,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -45,6 +30,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,11 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.ln-boot = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for ln-boot.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -38,9 +33,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -42,6 +37,11 @@ in {
|
|||
default.value = ["i686-linux"];
|
||||
};
|
||||
};
|
||||
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for the mes compiler.";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.mes.libc = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for mes-libc.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -37,9 +32,14 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.mes.libs = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for mes libs.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
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 {
|
||||
type = lib.types.package;
|
||||
description = "Source for the package.";
|
||||
|
|
|
@ -14,21 +14,6 @@ in {
|
|||
];
|
||||
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -56,6 +41,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
version = "1.00.2";
|
||||
in {
|
||||
options.aux.foundation.stages.stage1.nyacc = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for nyacc.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -40,7 +35,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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;
|
||||
description = "Source for the package.";
|
||||
};
|
||||
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for nyacc.";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -51,6 +36,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -13,20 +13,6 @@ args @ {
|
|||
helpers = lib.fp.withDynamicArgs (import ./helpers.nix) args;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Source for the package.";
|
||||
|
|
|
@ -38,7 +38,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -54,6 +39,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -51,6 +36,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,7 +33,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -57,6 +42,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -11,21 +11,6 @@
|
|||
stage2 = config.aux.foundation.stages.stage2;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,6 +37,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,6 +37,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -57,6 +42,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,6 +10,33 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gcc.";
|
||||
|
@ -78,33 +105,6 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -11,21 +11,6 @@
|
|||
stage2 = config.aux.foundation.stages.stage2;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,6 +37,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,7 +33,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -57,6 +42,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -11,11 +11,6 @@
|
|||
stage2 = config.aux.foundation.stages.stage2;
|
||||
in {
|
||||
options.aux.foundation.stages.stage2.gnumake = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gnumake.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -39,10 +34,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Version of the package.";
|
||||
|
|
|
@ -10,11 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
options.aux.foundation.stages.stage2.gnupatch = {
|
||||
package = lib.options.create {
|
||||
type = lib.types.package;
|
||||
description = "The package to use for gnupatch.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -38,10 +33,15 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 {
|
||||
type = lib.types.string;
|
||||
description = "Version of the package.";
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,7 +33,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -57,6 +42,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,7 +33,7 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
description = "Platforms the package supports.";
|
||||
default.value = ["x86_64-linux" "aarch64-linux" "i686-linux"];
|
||||
default.value = ["i686-linux"];
|
||||
};
|
||||
|
||||
mainProgram = lib.options.create {
|
||||
|
@ -57,6 +42,21 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -10,21 +10,6 @@
|
|||
stage1 = config.aux.foundation.stages.stage1;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -48,9 +33,24 @@ in {
|
|||
platforms = lib.options.create {
|
||||
type = lib.types.list.of lib.types.string;
|
||||
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 = {
|
||||
|
|
|
@ -11,21 +11,6 @@
|
|||
stage2 = config.aux.foundation.stages.stage2;
|
||||
in {
|
||||
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 = {
|
||||
description = lib.options.create {
|
||||
type = lib.types.string;
|
||||
|
@ -52,6 +37,21 @@ in {
|
|||
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 = {
|
||||
|
|
Loading…
Reference in a new issue