Hydra, for Lix
Find a file
Bas van Dijk e9d032bfe9 Fix Linux build on Darwin
Without this patch running the following on MacOS:

  nix-build release.nix -A build.x86_64-linux

results in the following error during the configuration phase (note that Nix
should be configured with a x86_64-linux build machine):

  building '/nix/store/jb6ca1gmplyb69ayd43z7fb0y9npxd53-hydra-0.1.2581.8b5948f4cf12424c04df67a6eb136c9846fb2cfd.drv' on 'ssh://my-linux-build-machine'...
  ...
  checking whether /nix/store/s6bhdppx66bkgf741vk4d29hgsj1h1zp-hydra-perl-deps/bin/nix-store is recent enough... ./configure: line 16254: /nix/store/s6bhdppx66bkgf741vk4d29hgsj1h1zp-hydra-perl-deps/bin/nix-store: cannot execute binary file: Exec format error
  no
  configure: error: `/nix/store/s6bhdppx66bkgf741vk4d29hgsj1h1zp-hydra-perl-deps/bin/nix-store' doesn't support `--timeout'; please use a newer version.
  build time elapsed:  0m1.624s 0m1.774s 0m9.366s 0m6.110s
  builder for '/nix/store/jb6ca1gmplyb69ayd43z7fb0y9npxd53-hydra-0.1.2581.8b5948f4cf12424c04df67a6eb136c9846fb2cfd.drv' failed with exit code 1

This problem is that the `nix` dependency of hydra is selected from a nixpkgs
set configured with a default `system` parameter,
i.e. `builtin.currentSystem`. This means that the hydra derivation which is
build for and on Linux depends on the nix derivation build for Darwin.

The fix is to select nix from the nixpkgs set configured with a system specified
by the user.
2019-03-15 11:27:16 +01:00
datadog add space 2017-07-26 16:56:16 +01:00
doc Distinguish build step states 2017-12-07 15:35:31 +01:00
src Merge pull request #632 from nlewo/localhost-error-message 2019-01-23 10:46:30 +01:00
tests tests: disable sandbox 2019-02-01 04:31:11 +01:00
.gitignore Fixes NixOS/hydra#402 (#424) 2017-08-10 14:16:24 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Stops the pager from blocking at configurePhase (#618) 2018-12-01 22:01:40 +00:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
hydra-module.nix Fix Hydra VM tests 2018-07-31 21:49:05 +02:00
INSTALL hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
Makefile.am Install hydra-module.nix into $out/share/nix 2013-07-28 11:24:31 -04:00
README.md Fix link syntax in README.md (#511) 2017-09-30 22:39:36 +01:00
release.nix Fix Linux build on Darwin 2019-03-15 11:27:16 +01:00
shell.nix inNixShell considered harmful 2016-03-22 13:10:37 +01:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00

Hydra

Hydra is a continuous integration system based on the Nix package manager. For more information, see the manual.

For development see hacking instructions.


Icons provided free by EmojiOne.