hydra: don't support Nix 1.x

The component `hydra-evaluator` requires `pool.hh` from Nix which isn't
provided by Nix 1.x and thus fails with the following error in this
case:

```
hydra-evaluator.cc:3:10: fatal error: pool.hh: No such file or directory
 #include "pool.hh"
          ^~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:443: hydra_evaluator-hydra-evaluator.o] Error 1
```

As the commit is from 2016 and fairly hard to revert for Nix 1.x
support, it's easier to drop that.

This has been tested with fixed perl-bindings for Nix1 as done in #55146.
This commit is contained in:
Maximilian Bosch 2019-02-04 23:56:39 +01:00
parent 8fb7706847
commit acfc1c1535
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -8,6 +8,10 @@
with stdenv;
if lib.versions.major nix.version == "1"
then throw "This Hydra version doesn't support Nix 1.x"
else
let
isGreaterNix20 = with lib.versions;
let