This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

linux, busybox: fix build failure

switching the shell to bash broke the alias

+11 -8
+7 -5
packages/busybox/package.nix
··· 24 24 ]; 25 25 } 26 26 '' 27 - alias make="make -j$NIX_BUILD_CORES \ 28 - ARCH=wasm32 \ 29 - HOSTCC=${clang-host}/bin/clang \ 30 - CC=${clang}/bin/clang \ 31 - CFLAGS_busybox=\"${musl}/lib/crt1.o -g -Wl,--import-memory\"" 27 + make() { 28 + command make -j$NIX_BUILD_CORES \ 29 + ARCH=wasm32 \ 30 + HOSTCC=${clang-host}/bin/clang \ 31 + CC=${clang}/bin/clang \ 32 + CFLAGS_busybox="${musl}/lib/crt1.o -g -Wl,--import-memory" "$@" 33 + } 32 34 33 35 config() { 34 36 sed -i "/CONFIG_$1=/d" .config
+4 -3
packages/linux/package.nix
··· 43 43 ]; 44 44 } 45 45 '' 46 - alias make="make -j$NIX_BUILD_CORES HOSTCC=${clang-host}/bin/clang TSC=true" 46 + make() { 47 + command make -j$NIX_BUILD_CORES HOSTCC=${clang-host}/bin/clang TSC=true "$@" 48 + } 47 49 48 - make defconfig 49 - ${if enableDebug then "make debug.config" else ""} 50 + make defconfig ${if enableDebug then "debug.config" else ""} 50 51 51 52 # this is a horrible dirty hack but there's some non-deterministic build failure 52 53 for i in $(seq 1 3); do