feat: inital support for x86_64-linux

This commit is contained in:
isabel roses 2024-06-13 22:40:41 +01:00
parent a707b0f06b
commit 5671e5368d
Signed by: isabelroses
GPG key ID: 08A97B9A107A1798
67 changed files with 284 additions and 94 deletions

View file

@ -14,7 +14,10 @@
modules = import ./src; modules = import ./src;
forEachSystem = lib.attrs.generate [ "i686-linux" ]; forEachSystem = lib.attrs.generate [
"i686-linux"
"x86-64_linux"
];
in in
{ {
extras = extras =

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -42,7 +42,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -125,7 +125,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -41,7 +41,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -35,7 +35,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -35,7 +35,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -36,7 +36,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -37,7 +37,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -38,7 +38,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -39,7 +39,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -40,7 +40,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -41,7 +41,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -40,7 +40,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -40,7 +40,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -31,7 +31,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ in
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.";
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -38,7 +38,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -31,7 +31,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -31,7 +31,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -37,7 +37,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -31,7 +31,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };
@ -60,10 +63,7 @@ in
sha256 = "0ryr5b00qz3xcdcv03qwjdfji8pasp0007ay3ppmk71wl8c1i90w"; sha256 = "0ryr5b00qz3xcdcv03qwjdfji8pasp0007ay3ppmk71wl8c1i90w";
}; };
package = package = builders.bash.boot.build {
let
in
builders.bash.boot.build {
name = "gzip-${cfg.version}"; name = "gzip-${cfg.version}";
meta = cfg.meta; meta = cfg.meta;
@ -83,7 +83,8 @@ in
# Configure # Configure
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib -Dstrlwr=unused" export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib -Dstrlwr=unused"
bash ./configure --prefix=$out chmod +x ./configure
./configure --prefix=$out
# Build # Build
make make

View file

@ -45,7 +45,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -53,7 +53,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };
}; };

View file

@ -26,7 +26,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -31,7 +31,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -131,7 +131,6 @@ in
# Install # Install
make install make install
cp ${stage1.tinycc.mes.libs.package}/lib/libtcc1.a $out/lib cp ${stage1.tinycc.mes.libs.package}/lib/libtcc1.a $out/lib
''; '';
}; };
}; };

View file

@ -35,7 +35,10 @@ in
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.";
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -34,7 +34,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -38,6 +38,7 @@ in
default.value = [ default.value = [
"x86_64-linux" "x86_64-linux"
"i686-linux" "i686-linux"
"x86-64_linux"
]; ];
}; };
}; };

View file

@ -37,7 +37,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -35,7 +35,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ in
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.";
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
mainProgram = lib.options.create { mainProgram = lib.options.create {

View file

@ -32,7 +32,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -33,7 +33,10 @@ 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 = [ "i686-linux" ]; default.value = [
"i686-linux"
"x86-64_linux"
];
}; };
}; };

View file

@ -3,7 +3,7 @@
options.aux = { options.aux = {
system = lib.options.create { system = lib.options.create {
type = lib.types.string; type = lib.types.string;
default.value = "i686-linux"; default.value = "x86_64-linux";
description = '' description = ''
The system to build packages for. This value can be provided as either The system to build packages for. This value can be provided as either
`config.aux.system` or by setting the `system` argument for modules. `config.aux.system` or by setting the `system` argument for modules.