This repository has no description
0

Configure Feed

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

switch builder to bash

+12 -13
+11 -13
all-packages.nix
··· 7 7 8 8 let 9 9 mkRun = 10 - path: args: command: 10 + { path, builder }: 11 + args: command: 11 12 let 12 13 setup = 13 14 if args ? src then ··· 22 23 derivation ( 23 24 { 24 25 system = currentSystem; 25 - builder = "${pkgs.busybox}/bin/ash"; 26 + inherit builder; 26 27 args = [ 27 28 "-euc" 28 29 '' 29 30 if [ 0 -eq "$NIX_BUILD_CORES" ]; then 30 31 NIX_BUILD_CORES=$(${pkgs.busybox}/bin/nproc) 31 32 fi 32 - exec ${pkgs.busybox}/bin/ash -eux $commandPath 33 + exec ${builder} -eux $commandPath 33 34 '' 34 35 ]; 35 36 PATH = lib.makeBinPath ((args.path or [ ]) ++ path); ··· 39 40 // (removeAttrs args [ "srcPath" ]) 40 41 ); 41 42 42 - run0 = mkRun [ pkgs.busybox ]; 43 - 44 43 wasmpkgs = 45 44 { 46 45 inherit lib inputs; 47 - sh = run0 { name = "sh"; } '' 48 - mkdir -p $out/bin 49 - ln -s ${pkgs.busybox}/bin/ash $out/bin/sh 50 - ''; 51 - run = mkRun [ 52 - pkgs.busybox 53 - pkgs.sh 54 - ]; 46 + run = mkRun { 47 + path = [ 48 + pkgs.busybox 49 + pkgs.bash 50 + ]; 51 + builder = "${pkgs.bash}/bin/bash"; 52 + }; 55 53 } 56 54 // lib.packagesFromDirectoryRecursive { 57 55 callPackage = lib.callPackageWith pkgs;
+1
host-packages.nix
··· 11 11 clang-host = llvm.clang; 12 12 inherit (llvm) lld; 13 13 inherit (pkgs) 14 + bash 14 15 bc 15 16 bison 16 17 busybox