fix: don't use bash to call the builds allow them to infer from the shebang

This commit is contained in:
isabel roses 2024-06-22 10:39:58 +01:00
parent 5671e5368d
commit e1ca419046
Signed by: isabelroses
GPG key ID: 08A97B9A107A1798
37 changed files with 74 additions and 37 deletions

View file

@ -109,7 +109,8 @@ in
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export AR="tcc -ar"
export LD=tcc
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -133,7 +133,8 @@ in
export AR="tcc -ar"
export lt_cv_sys_max_cmd_len=32768
export CFLAGS="-D__LITTLE_ENDIAN__=1"
bash ./configure ${builtins.concatStringsSep " " configureFlags}
chmod +x ./configure
./configure ${builtins.concatStringsSep " " configureFlags}
# Build
make -j $NIX_BUILD_CORES all-libiberty all-gas all-bfd all-libctf all-zlib all-gprof

View file

@ -89,7 +89,8 @@ in
cd bison-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -101,7 +101,8 @@ in
# Configure
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export LD=tcc
bash ./configure ${builtins.concatStringsSep " " configureFlags}
chmod +x ./configure
./configure ${builtins.concatStringsSep " " configureFlags}
# Build
make -j $NIX_BUILD_CORES AR="tcc -ar" MAKEINFO="true"

View file

@ -90,7 +90,8 @@ in
# Configure
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export LD=tcc
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host}

View file

@ -95,7 +95,8 @@ in
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export AR="tcc -ar"
export LD=tcc
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host}

View file

@ -68,7 +68,8 @@ in
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib"
export ac_cv_func_getpgrp_void=yes
export ac_cv_func_tzset=yes
bash ./configure \
chmod +x ./configure
./configure \
--build=${platform.build} \
--host=${platform.host} \
--disable-nls \

View file

@ -96,7 +96,8 @@ in
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export AR="tcc -ar"
export LD=tcc
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host}

View file

@ -200,7 +200,8 @@ in
export CFLAGS_FOR_TARGET="-Wl,-dynamic-linker -Wl,${stage1.musl.package}/lib/libc.so"
export LIBRARY_PATH="${stage1.musl.package}/lib"
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -162,7 +162,8 @@ in
export CPLUS_INCLUDE_PATH="$C_INCLUDE_PATH"
export LIBRARY_PATH="${stage1.musl.package}/lib"
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -163,7 +163,8 @@ in
export ac_cv_func_memcpy=yes
export ac_cv_func_strerror=yes
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -167,7 +167,8 @@ in
export CPLUS_INCLUDE_PATH="$C_INCLUDE_PATH"
export LIBRARY_PATH="${stage1.musl.package}/lib"
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -88,7 +88,8 @@ in
cd m4-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -104,7 +104,8 @@ in
# Configure
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export LD=tcc
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host}

View file

@ -58,7 +58,8 @@ in
# Configure
export CC="tcc -B ${stage1.tinycc.mes.libs.package}/lib"
bash ./configure \
chmod +x ./configure
./configure \
--build=${platform.build} \
--host=${platform.host} \
--disable-nls \

View file

@ -98,7 +98,8 @@ in
cd tar-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -59,7 +59,8 @@ in
export ac_cv_sizeof_unsigned_long=4
export ac_cv_sizeof_long_long=8
export ac_cv_header_netdb_h=no
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -118,7 +118,8 @@ in
src/misc/wordexp.c
# Configure
bash ./configure \
chmod +x configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -98,7 +98,8 @@ in
src/misc/wordexp.c
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -107,7 +107,8 @@ in
export C_INCLUDE_PATH="${stage1.zlib.package}/include"
export LIBRARY_PATH="${stage1.zlib.package}/lib"
export LD_LIBRARY_PATH="$LIBRARY_PATH"
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host}

View file

@ -91,7 +91,8 @@ in
export CC="tcc -B ${stage1.tinycc.musl.libs.package}/lib"
export AR="tcc -ar"
export LD=tcc
bash ./configure \
chmod +x configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -86,7 +86,8 @@ in
# Configure
export CC=musl-gcc
bash ./configure --prefix=$out
chmod +x configure
./configure --prefix=$out
# Build
make -j $NIX_BUILD_CORES

View file

@ -97,7 +97,8 @@ in
cd bash-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -123,7 +123,8 @@ in
${lib.strings.concatMapSep "\n" (file: "patch -Np1 -i ${file}") patches}
# Configure
bash ./configure ${builtins.concatStringsSep " " configureFlags}
chmod +x ./configure
./configure ${builtins.concatStringsSep " " configureFlags}
# Build
make -j $NIX_BUILD_CORES

View file

@ -102,7 +102,8 @@ in
cd coreutils-${cfg.version}
# Configure
bash ./configure ${builtins.concatStringsSep " " configureFlags}
chmod +x ./configure
./configure ${builtins.concatStringsSep " " configureFlags}
# Build
make -j $NIX_BUILD_CORES

View file

@ -89,7 +89,8 @@ in
cd diffutils-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -89,7 +89,8 @@ in
cd findutils-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -95,7 +95,8 @@ in
cd gawk-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -194,7 +194,8 @@ in
export CFLAGS_FOR_TARGET="-Wl,-dynamic-linker -Wl,${stage1.musl.package}/lib/libc.so"
export LIBRARY_PATH="${stage1.musl.package}/lib"
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -94,7 +94,8 @@ in
cd build
# libstdc++.so is built against musl and fails to link
export CXX=false
bash ../configure \
chmod +x ../configure
../configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -94,7 +94,8 @@ in
cd grep-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -105,7 +105,8 @@ in
${lib.strings.concatMapSep "\n" (file: "patch -Np1 -i ${file}") patches}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -90,7 +90,8 @@ in
cd patch-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -96,7 +96,8 @@ in
cd sed-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -95,7 +95,8 @@ in
cd tar-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -88,7 +88,8 @@ in
cd gzip-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \

View file

@ -89,7 +89,8 @@ in
cd patchelf-${cfg.version}
# Configure
bash ./configure \
chmod +x ./configure
./configure \
--prefix=$out \
--build=${platform.build} \
--host=${platform.host} \