Added needed chmod'ing to fix stage1

I'm pretty sure this is the minimal set of files to make things work, but feel free to experiment.

We still need to figure out why I'm the only one this failed for, and write some tests. I suspect it may be that I had to run as root, due to lix not allowing the `--system` argument when run by an ordinary user. I don't think we, uh, have a test framework yet, so I'm leaving that for another CL...
This commit is contained in:
Irene Knapp 2025-05-28 10:41:18 -07:00
parent 47707c015d
commit ec6ba87775
Signed by: Irenes
GPG key ID: E457C097BEB7A005
4 changed files with 12 additions and 0 deletions

View file

@ -61,6 +61,8 @@ in
rm gawk.tar
cd gawk-${cfg.version}
chmod 0644 awk.h
# Patch
${lib.strings.concatMapSep "\n" (file: "patch -Np0 -i ${file}") patches}

View file

@ -56,6 +56,10 @@ in
rm tar.tar
cd tar-${cfg.version}
chmod 0755 src intl
chmod 0644 src/* intl/*
chmod 0755 missing mkinstalldirs install-sh
# Configure
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib"
chmod 0755 missing

View file

@ -53,6 +53,10 @@ in
rm tar.tar
cd tar-${cfg.version}
chmod 0755 src intl
chmod 0644 src/* intl/*
chmod 0755 missing mkinstalldirs install-sh
# Configure
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export LD=tcc

View file

@ -81,6 +81,8 @@ in
rm gzip.tar
cd gzip-${cfg.version}
chmod 0644 gzip.c
# Configure
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib -Dstrlwr=unused"
bash ./configure --prefix=$out