python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / nixos / modules / services / networking / ircd-hybrid / builder.sh
blob38312210df251296f1d23894409f4912f9cefc22
1 source $stdenv/setup
3 doSub() {
4 local src=$1
5 local dst=$2
6 mkdir -p $(dirname $dst)
7 substituteAll $src $dst
10 subDir=/
11 for i in $scripts; do
12 if test "$(echo $i | cut -c1-2)" = "=>"; then
13 subDir=$(echo $i | cut -c3-)
14 else
15 dst=$out/$subDir/$(stripHash $i | sed 's/\.in//')
16 doSub $i $dst
17 chmod +x $dst # !!!
19 done
21 subDir=/
22 for i in $substFiles; do
23 if test "$(echo $i | cut -c1-2)" = "=>"; then
24 subDir=$(echo $i | cut -c3-)
25 else
26 dst=$out/$subDir/$(stripHash $i | sed 's/\.in//')
27 doSub $i $dst
29 done
31 mkdir -p $out/bin