Compare commits

..

2 commits

66 changed files with 94 additions and 97 deletions

View file

@ -16,7 +16,7 @@
forEachSystem = lib.attrs.generate [ forEachSystem = lib.attrs.generate [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
in in
{ {

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -44,7 +44,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -127,7 +127,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -43,7 +43,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -37,7 +37,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -37,7 +37,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -38,7 +38,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -39,7 +39,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -40,7 +40,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -41,7 +41,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -42,7 +42,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -43,7 +43,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -42,7 +42,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -42,7 +42,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -33,7 +33,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -40,7 +40,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -33,7 +33,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -33,7 +33,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,44 +34,41 @@ in
sha256 = "02m6gajm647n8l9a5bnld6fnbgdpyi4i3i83p7xcwv0kif47xhy6"; sha256 = "02m6gajm647n8l9a5bnld6fnbgdpyi4i3i83p7xcwv0kif47xhy6";
}; };
package = package = builders.bash.boot.build {
let name = "gnutar-boot-${cfg.version}";
in
builders.bash.boot.build {
name = "gnutar-boot-${cfg.version}";
meta = stage1.gnutar.meta; meta = stage1.gnutar.meta;
deps.build.host = [ deps.build.host = [
stage1.tinycc.mes.compiler.package stage1.tinycc.mes.compiler.package
stage1.gnumake.boot.package stage1.gnumake.boot.package
stage1.gnused.boot.package stage1.gnused.boot.package
stage1.gnugrep.package stage1.gnugrep.package
]; ];
script = '' script = ''
# Unpack # Unpack
ungz --file ${cfg.src} --output tar.tar ungz --file ${cfg.src} --output tar.tar
untar --file tar.tar untar --file tar.tar
rm tar.tar rm tar.tar
cd tar-${cfg.version} cd tar-${cfg.version}
# Configure # Configure
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib" export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib"
chmod +x ./configure chmod +x ./configure
./configure \ ./configure \
--build=${platform.build} \ --build=${platform.build} \
--host=${platform.host} \ --host=${platform.host} \
--disable-nls \ --disable-nls \
--prefix=$out --prefix=$out
# Build # Build
make AR="tcc -ar" make AR="tcc -ar"
# Install # Install
make install make install
''; '';
}; };
}; };
}; };
} }

View file

@ -39,7 +39,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -33,7 +33,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -47,7 +47,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -55,7 +55,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -28,7 +28,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -33,7 +33,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -37,7 +37,7 @@ in
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -36,7 +36,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

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

View file

@ -39,7 +39,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -37,7 +37,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
# TODO: Support more platforms. # TODO: Support more platforms.
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };

View file

@ -34,7 +34,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };

View file

@ -35,7 +35,7 @@ in
description = "Platforms the package supports."; description = "Platforms the package supports.";
default.value = [ default.value = [
"i686-linux" "i686-linux"
"x86-64_linux" "x86_64-linux"
]; ];
}; };
}; };