Commit Graph
100 Commits
Author SHA1 Message Date
Dan Peebles 0f1753b1d3 pants13-pre: 1.3.0rc2 -> 1.3.0rc4 2017-06-01 13:53:19 +00:00
Dan Peebles 594829ddfc msieve: update and enable on Darwin 2017-05-26 18:18:39 -04:00
Dan Peebles 1df505fc36 ecm: enable on Darwin 2017-05-26 18:14:31 -04:00
Dan Peebles 7c3253e519 Simple proof of concept for how to do other types of services 2017-05-26 18:14:31 -04:00
Dan Peebles c05461fde6 pants13-pre: make it actually work on Linux
Third time's a charm. Not sure how I thought that three different files
would download and have the same hash, but that's what the old code did.
This one should have the three distinct platform hashes.
2017-05-24 07:52:58 -04:00
Dan Peebles a43e104ada pants13-pre: fix on non-Darwin platforms 2017-05-24 00:05:20 -04:00
Dan Peebles b0adb09b32 pants13-pre: pre-download the native engine
This saves pants 1.3 from having to download it at startup. Eventually
we'll build it ourselves (it's a rust binary) but for now this works.
2017-05-23 22:29:33 -04:00
Dan Peebles 9d5c28d22c pants: fix buggy pathspec version
When transplanting the expression in 845d1b28bf
I accidentally switched pants 1.3 to use the old pathspec, which breaks
at runtime. This should fix it.
2017-05-22 15:34:46 -04:00
Dan Peebles 845d1b28bf pants{,13-pre}: move from pythonPackages to top level
That means it'll build in Hydra and we don't really care which version of
Python it builds against.
2017-05-22 12:22:13 -04:00
Dan Peebles bd831b4a07 flamegraph: 182b24fb -> 6b2a446d
Also, add a more predictable alias to all-packages.nix
2017-05-11 01:28:44 -04:00
Dan Peebles c217f59344 darwin.make-bootstrap-tools.test: fix build breakage
In the extremely unlikely case that our store hash path ends in several
digits (as is the case right now), the Darwin ld will try to interpret
those digits as a version number and barf. To avoid that, we pass in the
SDK version explicitly to stop it from trying to figure it out from iffy
context.
2017-05-05 21:34:28 -04:00
Dan Peebles f3a05a0fb3 stdenv: disable checkMeta by default until issues resolved
https://github.com/NixOS/nixpkgs/pull/25304#issuecomment-298385426
2017-05-01 13:51:12 -04:00
Dan Peebles 90b9719f4f treewide: fix the remaining issues with meta attributes 2017-04-29 04:24:34 +00:00
Dan Peebles 1a4ca220e1 treewide: fix assorted issues revealed by the meta checker
Turns out a couple of the licenses were wrong, as well as being strings.
2017-04-28 23:07:42 -04:00
Dan Peebles 32ae4bfc20 stdenv-generic: add meta attribute checking
This is turned off by default but I think we should fix all packages to
respect it and then turn it on by default
2017-04-28 18:12:18 -04:00
Dan Peebles 7c2419df76 shibboleth-sp: minor fixes 2017-04-27 14:06:41 -04:00
Dan Peebles 5d5c1ac8e5 opensaml-cpp: minor fixes to meta fields and parallel building 2017-04-27 14:06:28 -04:00
Dan Peebles 61f0c5e05e xml-tooling-c: minor fixes to meta fields 2017-04-27 14:06:11 -04:00
Dan Peebles 14d8ce79ee log4cpp: minor fixes to meta fields 2017-04-27 14:05:51 -04:00
Dan Peebles 9e764af72f fetchs3: init simple S3 downloader 2017-04-25 22:01:32 -04:00
Dan Peebles b2ce7fd3a9 xml-security-c: should work on any unix
In practice its xalanc dependency will fail on platforms other than Linux
and Darwin, but if that gets fixed there's no reason this shouldn't work.
2017-04-25 17:50:02 -04:00
Dan Peebles 91f55f4e8a xalanc: enable on Darwin 2017-04-25 17:49:12 -04:00
Dan Peebles 9046e54f6d qt5: fix to work on LLVM 4
(this is reapplying 6b1957d17a, which got
lost in a merge)

Including apple_sdk.sdk is generally a recipe for a bad time on LLVM 3.8
and above, since you end up with bad headers in the wrong place that hurt
the new libc++ in 3.8 and above. In this case, qt only wanted the super-
generic SDK for CUPS headers, which we can just depend on directly now.
2017-04-25 09:37:36 -04:00
Dan Peebles ee2cffbdb4 azure-image: switch to use the common make-disk-image.nix 2017-04-25 02:59:13 +00:00
Dan Peebles 9fae0f3f38 google-compute-image: switch to use the common make-disk-image.nix 2017-04-24 18:38:10 +00:00
Dan Peebles f1708a9d7d make-disk-image: change to be less VM-centric
This changes much of the make-disk-image.nix logic (and thus most NixOS
image building) to use LKL to set up the target directory structure rather
than a Linux VM. The only work we still do in a VM is less IO-heavy stuff
that while still time-consuming, is less of the overall load. The goal is
to kill more of that stuff, but that will require deeper changes to NixOS
activation scripts and switch-to-configuration.pl, and I don't want to
bite off too much at once.
2017-04-24 02:30:00 +00:00
Dan Peebles d990aa7163 Refactor nixos-install to separate out filesystem build logic
The key distinction I'm drawing is that there's a component that deals
with the store of the machine being built, and another component for
the store building it. The inner part of it assumes nothing from the
builder (doesn't need chroot or root powers) so it can run comfortably
inside a Nix build, as well as nixos-rebuild. I have some upcoming work
that will use that to significantly speed up and streamline image builds
for NixOS, especially on virtualized hosts like EC2, but it's also a
reasonable speedup on native hosts.
2017-04-16 16:09:41 +00:00
Dan Peebles 1fd7bf9ee3 nano: remove unnecessary Darwin-specific behavior
It seems to compile just fine without this now that we're on 2.8.1
2017-04-12 20:30:07 -04:00
Dan Peebles 0b034797e1 bonnie: fix on Darwin 2017-04-10 23:08:14 -04:00
Dan Peebles c595d5ed3d cctools-port: 886 -> 895 2017-04-09 17:32:37 -04:00
Dan Peebles d93f2c3865 darwin.libSystem: fix intermittent impurity bug
If you've seen issues with libsystem_symptoms.dylib,
this should fix that.
2017-04-09 09:39:30 -04:00
Dan Peebles ec674a6372 nix: fix evaluation
Sorry!
2017-04-08 21:15:21 -04:00
Dan Peebles fbdc4616ab nix: fix on LLVM 4.0 2017-04-08 16:54:16 -04:00
Dan Peebles 72d9016b8b darwin.make-bootstrap-tools: fix to use LLVM 4
This should now roughly match the bootstrap tools we're using on Darwin
2017-04-08 16:38:48 -04:00
Dan Peebles 9ae3f39e8e p7zip: fix purity on Darwin
This should (I hope) get Hydra to build it. Fixes #24714
2017-04-07 16:51:23 -04:00
Dan Peebles b9e558597d stdenv-darwin: bump to use LLVM 4.0 & new bootstrap tools 2017-04-07 14:36:21 -04:00
Dan Peebles 57e25171a5 Merge branch 'master' into staging 2017-04-07 08:28:07 -04:00
Dan Peebles 27cec397b1 itk: 4.10 -> 4.11
Also includes a patch to work against clang 4, which was my original
motivation for the 4.10 -> 4.11 upgrade (since it fixed another issue)
2017-04-07 08:23:08 -04:00
Dan Peebles 1be61d1921 podofo: fix on LLVM 4
Not sure if the things I made optional on Darwin are really worth keeping
at all, but I don't have a Linux box handy so I'm minimizing potential
damage.
2017-04-06 23:33:14 -04:00
Dan Peebles 0cacae6a5f gcc6: fix for LLVM 4.0 2017-04-06 23:20:35 -04:00
Dan Peebles 81352b2cb5 Merge branch 'master' into staging 2017-04-06 21:26:24 -04:00
Dan Peebles 6f0a2af5bc brotli: fix on Darwin 2017-04-06 21:17:32 -04:00
Dan Peebles 6e58719b1b nano: fix on Darwin
The latest update broke it
2017-04-06 21:09:32 -04:00
Dan Peebles 6b1957d17a qt5: fix to work on LLVM 4
Including apple_sdk.sdk is generally a recipe for a bad time on LLVM 3.8
and above, since you end up with bad headers in the wrong place that hurt
the new libc++ in 3.8 and above. In this case, qt only wanted the super-
generic SDK for CUPS headers, which we can just depend on directly now.
2017-04-06 21:00:28 -04:00
Dan Peebles aa31d4b803 cups: fix on Darwin
Kinda fix, anyway. Enough to proceed with other stuff :)
2017-04-06 20:13:33 -04:00
Dan Peebles 3a9c217804 rtags: fix for clang/libc++ 4
This also fixes a missing header in the SDK that rtags needs to work
properly. The underlying cause is that C++ headers got shuffled around a
lot in libc++ 3.8 (I believe) and became more standards-compliant, which
led to a lot of C-compatible passthrough header files being added to it
like math.h, which defines some C++-compatible versions of standard
functions like signbit, while #include_next'ing the system math.h. In
this case, including the SDK was stuffing another math.h in front of the
libc++ shim, which led to all sorts of mysterious failures.
2017-04-04 08:07:52 -04:00
Dan Peebles 8b65437aae Merge branch 'master' into staging 2017-03-30 12:54:41 -04:00
Dan Peebles 8636ce283f caf: fix on clang4
Also, enable parallel builds because I got sick of waiting :)
2017-03-30 11:36:30 -04:00
Dan Peebles 409fe12f76 qt4: fix to work on clang 4
The new clang is more strict about signed comparisons against pointers,
so this adds a couple of ad-hoc patches to appease it.
2017-03-30 11:03:05 -04:00
Dan Peebles c46600d47b iperf2: 2.0.5 -> 2.0.9
This also fixes the build on clang 4
2017-03-26 21:41:22 -04:00
Dan Peebles 167aba003a capnproto: fix on clang 4
Embedding the patch because the way they build their source releases
changes the paths, so fetchpatch against GitHub doesn't apply cleanly
2017-03-26 18:15:59 -04:00
Dan Peebles 306f2c65fe zsnes: only build on Linux
It uses callPackage_i686 which forces Linux anyway, and the current setup
just means that we end up with a weird i686-linux job under Darwin.
2017-03-23 22:41:45 -04:00
Dan Peebles 3263d02626 xcbuild: assorted fixes and cleanups
This is in preparation for the LLVM 4 upgrade (which gets more strict
about e.g., return false in xcbuild itself) and also for using xcbuild
more extensively in the Darwin stdenv bootstrap process, which is why I
killed the unnecessary gcc dependency in the toolchain. llvm-cov pretends
to be gcov anyway, so we're fine.
2017-03-21 23:22:15 -04:00
Dan Peebles 5561abd556 libauto: more obscene hackery to make it work on LLVM 4
This sort of thing is going to get revamped to be less hackish soon but
for now I want it to work. In this particular case, libc++ 4 (and maybe
earlier) gets very upset if we're imprecise about our const markers, and
I guess libauto was careless. This fixes it (PtrPtrMap) to be correct.
2017-03-21 22:24:12 -04:00
Dan Peebles a2a82db7cf gfortran/gcc: simplify & clean up on Darwin
This should eliminate the branched logic for gfortran on Darwin, as well
as preventing accidental inclusion of impure paths in gcc and gfortran
builds.
2017-03-21 01:36:28 -04:00
Dan Peebles 7ad3fd7ca7 neuron: fix on clang 3.8 and above
This is in preparation for upgrading Darwin stdenv to LLVM 4
2017-03-21 01:00:18 -04:00
Dan Peebles 93005b82dc google-gflags: fix on Darwin
e721905d0f updated to a version that added
a BUILD file that breaks on case-insensitive filesystems.
2017-03-21 00:42:26 -04:00
Dan Peebles 972f51a2da llvmPackages_37.libcxxabi: fix with more recent versions of libc++
The build breaks on libc++ 3.8 and above, which hinders our upgrade to
LLVM 4 for the Darwin stdenv.
2017-03-19 20:51:58 -04:00
Dan Peebles d80a7210bb nasm: 2.11.08 -> 2.12.02
Upgrading primarily because it works with newer LLVM (for the big Darwin
stdenv LLVM bump) but a newer version probably helps for other reasons :)
2017-03-19 16:34:05 -04:00
Dan Peebles 6ea3eefdfc gcc5: fix for libc++ 3.8 and above
This is in preparation for the big Darwin LLVM 4.0 stdenv switchover
2017-03-19 16:22:12 -04:00
Dan Peebles de0849d180 erlangR14: delete unreferenced ancient file 2017-03-19 14:59:58 -04:00
Dan Peebles 5a81c66906 erlang: patch all versions to work with clang 4 2017-03-19 14:59:58 -04:00
Dan Peebles f3aeb3b0ab llvm-39: a couple of improvements
Splits outputs in clang like we do in 3.8 and 4.0 to avoid runtime
dependency on Python in the main derivation.

I also disable TSAN on Darwin to maintain consistency with 4.0, which
disables it because it forces an unfree dependency in the stdenv.
2017-03-18 15:08:58 -04:00
Dan Peebles 2cb440df72 llvm-4: small improvements on Darwin and elsewhere
Split outputs because there's no point in keeping a reference to Python
and it causes trouble during the Darwin stdenv bootstrap. There's also
an unnecessary dependency on LLVM in libc++ which causes us to rebuild
LLVM several more times than necessary during bootstrap, and an awkward
dependency on XPC in the TSAN that we turn off. This is in preparation
for using LLVM 4 in the Darwin stdenv and by default across nixpkgs.
2017-03-18 13:07:52 -04:00
Dan Peebles 504b596e55 pythonPackages.pathspec_0_5: init
The pre-release version of pants needs it. I'll kill the duplicated copy
once the new version of pants is final.
2017-03-16 11:01:14 -04:00
Dan Peebles e3abe9c6fa pythonPackages.pants13-pre: init 2017-03-15 22:22:02 -04:00
Dan Peebles 0cfa1b0dde openjdk-darwin: use a sensible crypto policy
We should really move to a source build of openjdk on Darwin, but that's
tricky so for now we continue to hack around it and do stuff like this,
even though crypto export polices are stupid and make no sense. No, I'm
not bitter at all that I need to do this 😩
2017-03-15 16:37:57 -04:00
Dan Peebles 2ffda66f11 go1.8: patch test to work with recent tzdata 2017-03-15 15:17:11 -04:00
Dan Peebles e6a5ab85b4 go1.7: patch test to work with recent tzdata 2017-03-15 15:17:11 -04:00
Dan Peebles 08314598bb go1.6: patch test to work with recent tzdata 2017-03-15 15:17:11 -04:00
Dan Peebles 331f5a886d go1.4: patch test to work with recent tzdata 2017-03-15 15:17:11 -04:00
Dan Peebles dc61ff31a7 xhyve: update and fix to use our Hypervisor framework
(this is a cherry-picked version of f3b65f67d9,
which got reverted because it depended on my 10.11 frameworks, which were
flawed)
2017-03-14 22:38:35 -04:00
Dan Peebles 59b795c590 apple-sdk: 10.9 -> 10.10
This is a slightly less ambitious version of the (now reverted) commit
377cef8d16, which had a bunch of issues
that I don't have time to resolve right now.
2017-03-14 22:36:21 -04:00
Dan Peebles 25e75cd580 kube-aws: 0.8.1 -> 0.9.4
Also, enable on Darwin
2017-03-13 22:20:52 -04:00
Dan Peebles cf7d4bf8af kubernetes: 1.5.2 -> 1.5.4 2017-03-12 23:02:34 -04:00
Dan Peebles 23e4e32b91 kops: enable on Darwin 2017-03-12 22:35:20 -04:00
Dan Peebles fe339d281b minikube: switch to build from source & fix on Darwin
Linux behavior should be largely unchanged but we now build minikube
ourselves. Unfortunately localkube is still tricky to build so I pull in
a binary version from upstream.
2017-03-13 02:29:18 +00:00
Dan Peebles 7dff6a8689 kubernetes: fix on Darwin
Also bump its Go version to 1.7, since 1.6 is fatally flawed on macOS 10.12
2017-03-10 13:31:16 -05:00
Dan Peebles 1309b0883d buildbot-plugins: use callPackages, since it contains several
This should allow Hydra to build those plugins.
2017-03-10 01:08:01 -05:00
Dan Peebles c390cec122 buildbot NixOS modules: switch to not daemonize
1) The forking behavior of `buildbot start` is temporarily broken for
   mysterious reasons that I'm still looking into
2) Let systemd do the forking: no point in using two different process
   startup wait loops
2017-03-10 00:11:57 -05:00
Dan Peebles 8e61b7fefa pythonPackages.pyopenssl: disable tests on Darwin 2017-03-09 21:56:54 -05:00
Dan Peebles 0b0b3b8021 pythonPackages.webcolors: enable on Darwin and other unixes
Seemed to work fine on Darwin
2017-03-09 15:12:33 -05:00
Dan Peebles a4f8b67783 pythonPackages.funcparserlib: enable on Darwin and other unixes
Seemed to work fine on Darwin
2017-03-09 15:12:32 -05:00
Dan Peebles cdfa92184d pythonPackages.blockdiag: enable on Darwin and other unixes
Seemed to work fine on Darwin
2017-03-09 15:12:32 -05:00
Dan Peebles c3939cbcf5 buildbot modules: don't put BB users in nixbld group
The nixbld group belongs to nix-daemon and you really don't want to be
in it. If you are in it, nix-daemon will kill your processes when you
least expect it :)
2017-03-09 11:46:26 -05:00
Dan Peebles 15a1743d87 libuv: disable tests (temporarily) on Darwin
They're flaky, break Hydra builds regularly, and lots of stuff depends
transitively on libuv.
2017-03-09 07:45:50 -05:00
Dan Peebles 7c3699b0f6 fsharp: enable on Darwin
Seems to work just fine based on my simple tests
2017-03-08 23:39:56 -05:00
Dan Peebles ccf7640a4b openjdk: stop defaulting Darwin to version 7
Let's just be consistent with 8. At some point we'll get a proper build
of it from source but until then we might as well standardize on 8, which
has been out for years now and seems to work fine on Darwin.
2017-03-08 23:28:45 -05:00
Dan Peebles 4ae5f4d3cc pythonPackages.cryptography: fix test on macOS 10.12
Hydra didn't notice because it's running 10.11.
2017-03-08 14:14:40 -05:00
Dan Peebles ca5a1d927f buildbot: fix .withPlugins to propagate inputs
Before I was just grabbing the immediate dependencies. I _think_ this
will do the right thing by using the pre-existing setup hook to avoid
having to compute the transitive closure myself.
2017-03-08 12:39:44 -05:00
Dan Peebles 49b20e5569 buildbot: assorted cleanups
Some changes to be more idiomatic and use stdenv building blocks more.
I also added a `buildbot.withPlugins` instead of the current plugins
mechanism, which forces an unnecessary rebuild of the package and reruns
all the tests. This should be equivalent and more pleasant to use in
practice.
2017-03-08 11:28:44 -05:00
Dan Peebles 3f116702cc buildbot-master module: fix overly restrictive option type for masterCfg 2017-03-03 01:33:18 +00:00
Dan Peebles 8def08a56c apache-kafka.service: pass in log4j config more explicitly
The implicit behavior of pulling it out of the classpath seemed not
to work properly and could be thrown off by other things on the
classpath also providing the properties file. This guarantees that
our settings stick.
2017-02-27 18:32:12 +00:00
Dan Peebles 6018cf4a69 amazon-init.service: fix starting services at startup
We now make it happen later in the boot process so that multi-user
has already activated, so as to not run afoul of the logic in
switch-to-configuration.pl. It's not my favorite solution, but at
least it works. Also added a check to the VM test to catch the failure
so we don't break in future.

Fixes #23121
2017-02-27 16:51:36 +00:00
Dan Peebles e798f573f0 make-disk-image.nix: set last fsck time on ext4 images to enable resize-on-startup 2017-02-26 02:02:22 +00:00
Dan Peebles 15c05ad213 google-compute-image.nix: fix evaluation failure 2017-02-22 23:51:57 +00:00
Dan Peebles 49641e0de0 make-disk-image.nix: support additional filesystem contents
This makes make-disk-image.nix slightly more consistent with other image
builders we have. Unfortunately I duplicated some code in doing so, but
this is temporary duplication on the path to consolidating everything.
See https://github.com/NixOS/nixpkgs/issues/23052 for more details on that.

I'm also exposing the option in the amazon-image.nix maintainer module.
2017-02-22 23:49:49 +00:00
Dan Peebles 7a113e9e83 fakechroot: 2.17.2 -> 2.19 (with modification)
There's a PR I need merged so this is currently pointing at a fork
on my GitHub but I'll repoint it to mainline once that gets merged.
2017-02-17 19:21:33 +00:00
Dan Peebles b172684c17 amazon-init NixOS module: fix (I think) race condition with network
The initialization code is now a systemd service that explicitly
waits for network-online, so the occasional failure I was seeing
because the `nixos-rebuild` couldn't get anything from the binary
cache should stop. I hope!
2017-02-16 16:03:58 +00:00
Dan Peebles e63d15f173 ecs-agent NixOS module: enable docker 2017-02-13 04:06:31 +00:00