Commit Graph

100 Commits

Author SHA1 Message Date
Kamil Chmielewski
93b9ebfde8 ngrok: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
a1f3808e2f lxd: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
d765026f99 go-upower-notify: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
e2e3d8802f go-sct: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
ce81a8a65d go-mtpfs: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
387246080b mongodb-tools: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
89a256e463 interlock: extracted from goPackages 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
81f3092e11 Reusing go libs in deis build 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
bfa32800c3 First programs extracted from go-packages: deis and gawp 2016-06-09 11:21:30 +02:00
Kamil Chmielewski
bf9f60fe74 buildGoPackage: we don't need to build vendored packages 2016-04-07 17:45:20 +02:00
Charles Strahan
d53d5048d8 goPackages: add ide-like packages
This adds the following packages:

 * errcheck
 * gotool
 * gometalinter
 * motion
 * shlex
2016-03-18 03:14:44 -04:00
Valérian Galliat
37d1dcd12d buildGoPackage: do not remove Go references if allowGoReferences is true
allowGoReference was only checked for disallowedReferences definition,
but the fixup of all output binaries removing references to the compiler
did not take this setting into account.
2016-02-28 22:42:58 -05:00
Lluís Batlle i Rossell
082f2e6938 go builder: respect enableParallelBuilding
It was parallelizing for $NIX_BUILD_CORES regardless of
enableParallelBuilding.
2016-01-21 17:11:28 +01:00
Emery Hemingway
2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
Luca Bruno
b080efe4dc goPackages.tools: add setup-hook for setting GOTOOLDIR 2015-10-28 11:01:26 +01:00
William A. Kennington III
043839368e goPackages: Exclude commonly useless go packages from being built 2015-08-29 19:10:24 -07:00
William A. Kennington III
26f9ea6dd5 goPackages: Fix tools 2015-08-29 13:25:00 -07:00
William A. Kennington III
83cf8b0cf8 goPackages: Split into multiple derivations
This should reduce the closure size for end users who only need go
binaries as well as reduce the size of closures hydra builders consume.
2015-08-29 12:58:03 -07:00
William A. Kennington III
3afc3494bb goPackages: Use parallel instead of forking in bash 2015-08-29 11:51:26 -07:00
William A. Kennington III
d0880a27dd go-modules: Fix the application of reference removal on packages like mongo-tools 2015-08-27 01:02:20 -07:00
William A. Kennington III
c2ae91a413 buildGoPackage: Fix parallel test pid computation 2015-08-26 11:17:56 -07:00
Luca Bruno
08a6b7aa46 Revert "goPackages: disable parallel builds"
This reverts commit 75ed15e174.

Turns out it was just a missing &

cc @wkennington
2015-08-26 12:13:57 +02:00
Luca Bruno
75ed15e174 goPackages: disable parallel builds
It breaks cascadia tests. If a process terminates before wait,
the PID is non-existant and wait fails.
Using & and wait in bash is just broken and shouldn't be used.
We shall probably use GNU parallel for this job.

cc @wkennington
2015-08-26 12:11:27 +02:00
William A. Kennington III
bf0da55a8c gotools: Fix build and update to 2015-08-19 2015-08-19 13:54:54 -07:00
William A. Kennington III
c1338b3b06 buildGoPackage: Remove references to the go compiler to reduce closure size for binaries 2015-08-05 16:23:03 -07:00
William A. Kennington III
2856d4701e buildGoPackage: Support nativeBuildInputs 2015-08-05 16:22:36 -07:00
Anton Fedotov
f0269dd8b0 go-modules: This patch fixes an error with copying sources during installPhase if src of go module conatins file with spaces 2015-08-02 07:09:34 +03:00
William A. Kennington III
a4707aed55 go: Run builds in parallel 2015-07-29 18:16:56 -07:00
William A. Kennington III
c6bb486641 go: govers is a native input 2015-07-29 18:16:35 -07:00
William A. Kennington III
dabd9ec29c goPackages: Build on hydra 2015-05-22 15:58:51 -07:00
William A. Kennington III
f247481b5d buildGoPackage: Only install files from the goPackagePath 2015-05-20 02:44:09 -07:00
William A. Kennington III
8cbb97e6f3 buildGoPackage: Don't include private directories in the search 2015-05-19 20:14:03 -07:00
William A. Kennington III
414b3f2909 consul: Move into the go-packages framework 2015-05-18 19:45:19 -07:00
William A. Kennington III
1dbd67ee82 buildGoPackage: Don't print blank lines 2015-05-18 19:45:19 -07:00
William A. Kennington III
c2a85e04e8 buildGoPackage: Take into account propagatedBuildInputs during rename 2015-05-18 19:45:18 -07:00
William A. Kennington III
e89f90cd33 buildGoPackage: Only create if needed 2015-05-18 10:13:33 -07:00
William A. Kennington III
2f897aad70 buildGoPackage: Allow excluding of specific modules 2015-05-18 10:13:33 -07:00
Luca Bruno
1a3de46417 go: also remove disabled from the derivation 2015-05-18 12:47:24 +02:00
Luca Bruno
a43bd6bbcd go: add disabled flag for packages 2015-05-18 12:46:22 +02:00
Luca Bruno
58b865cfc6 go: remove renameImports and use goPackageAliases 2015-05-15 11:16:59 +02:00
William A. Kennington III
0ff12d88ea buildGoPackage: Skip directories which don't have buildable go packages 2015-05-14 17:58:30 -07:00
William A. Kennington III
1a045673f6 go-modules: Cleanup submodule detection
Also, only build the sources that matter for distribution
2015-05-14 17:58:30 -07:00
William A. Kennington III
fecf412767 buildGoPackage: Fix spacing 2015-05-14 17:58:30 -07:00
William A. Kennington III
3a5e10e37f buildGoPackage: Support adding extra sources 2015-05-14 17:58:30 -07:00
Luca Bruno
23a92ba43c pond: fix build by renaming imports, also add renameImports to goBuildPackage 2015-04-16 18:43:37 +02:00
Luca Bruno
10e7572d17 Use go1.4 instead of go-1.4 in derivation names. Closes #6243
I chose meta.branch because go 1.1 and 1.2 had this already.
2015-02-09 10:16:14 +01:00
Luca Bruno
3f718a743d Add dontInstallSrc flag to buildGoPackage 2015-02-05 18:07:28 +01:00
Luca Bruno
e6e4c867e5 Port syncthing to buildGoPackage 2015-02-05 13:12:10 +01:00
Luca Bruno
b3dd66dee1 buildGoPackage: add $makeFlags to go install call 2015-02-03 18:16:21 +01:00
Emery Hemingway
faa5dccab8 new Go support function 'buildGoPackage'
add a setupHook to the Go compiler that builds a GOPATH
new buildGoPackage function that overides the phases of stdenv
2015-02-03 14:21:48 +01:00