lol

buildGoPackage: Fix parallel test pid computation

+2 -2
+2 -2
pkgs/development/go-modules/generic/default.nix
··· 120 120 if [ -n "$subPackages" ] ; then 121 121 for p in $subPackages ; do 122 122 go test -p $NIX_BUILD_CORES -v $goPackagePath/$p & 123 + PIDS+=("$!") 123 124 done 124 - PIDS+=("$!") 125 125 else 126 126 pushd go/src 127 127 while read d; do 128 128 go test -p $NIX_BUILD_CORES -v $d & 129 + PIDS+=("$!") 129 130 done < <(find $goPackagePath -type f -name \*_test.go -exec dirname {} \; | sort | uniq) 130 131 popd 131 - PIDS+=("$!") 132 132 fi 133 133 134 134 # Exit on error from the parallel process