nixpkgs/pkgs/development
Andrew Dunham 274afc4932 go: build each package single-threaded (#53390)
I noticed that I was seeing the Go compiler build things in parallel even when I'd set `-j1 --cores 1`. It appears that the compiler, by default, uses the number of CPUs that are available to perform a build, while nixpkgs parallelizes at the directory level.

In order to change the fewest assumptions, this explicitly tells the Go compiler to run single-threaded. The flag's documentation is:

```
-p n
	the number of programs, such as build commands or
	test binaries, that can be run in parallel.
	The default is the number of CPUs available.
```

So this should function as expected. Feedback appreciated!
2019-02-07 14:39:53 +00:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
compilers Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
coq-modules coqPackages.equations: 1.2-beta-8.9 for coq_8_9 2019-01-31 11:56:07 -08:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules go: build each package single-threaded (#53390) 2019-02-07 14:39:53 +00:00
guile-modules
haskell-modules haskellPackages.posix-pty: dontCheck 2019-01-30 19:00:27 +11:00
idris-modules
interpreters perl: make reproducible 2019-02-04 09:10:22 -05:00
java-modules
libraries Merge pull request #50773 from veprbl/pr/epoxy153 2019-02-01 17:41:39 -05:00
lisp-modules Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
lua-modules lua: add withPackages function (#54460) 2019-01-30 14:13:15 +00:00
misc
mobile androidenv: move licenseAccepted condition to androidsdk 2019-01-29 21:13:41 -05:00
node-packages
ocaml-modules
perl-modules
pharo
pure-modules
python-modules Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
r-modules
ruby-modules Use "${vips}" instead of "${vips.out}" 2019-01-31 18:42:05 +03:00
tools Merge pull request #55046 from FlorianFranzen/cmake_no_pkg_reg 2019-02-03 08:32:43 +00:00
web now-cli: 13.0.4 -> 13.1.2 2019-01-27 23:46:17 -08:00