| 7 Mar 2024 |
Robert Hensing (roberth) | haven't seen those errors | 16:51:15 |
void | oh I have plenty. | 16:51:41 |
void |
euler | make[3]: Entering directory '/build/source/src/hydra-evaluator'
euler | g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++2a -I/nix/store/sayhfgaika0srb3d06ykn01svkg56264-nix-unstable-evrim-2.19.3-dev/include/nix -I/nix/store/a6gcj4anazwgqpn5nx7aqcw7f290xs89-boehm-gc-nix-evrim-8.2.4-dev/include -Wall -I ..\
/libhydra -Wno-deprecated-declarations -g -O2 -include nix/config.h -c -o hydra_evaluator-hydra-evaluator.o `test -f 'hydra-evaluator.cc' || echo './'`hydra-evaluator.cc
euler | In file included from hydra-evaluator.cc:1:
euler | ../libhydra/db.hh: In member function 'std::string Connection::getFlags()':
euler | ../libhydra/db.hh:15:18: error: 'getEnv' was not declared in this scope; did you mean 'getenv'?
euler | 15 | auto s = getEnv("HYDRA_DBI").value_or("dbi:Pg:dbname=hydra;");
euler | | ^~~~~~
euler | | getenv
euler | In file included from hydra-evaluator.cc:2:
euler | ../libhydra/hydra-config.hh: In constructor 'HydraConfig::HydraConfig()':
euler | ../libhydra/hydra-config.hh:16:32: error: 'getEnv' was not declared in this scope; did you mean 'getenv'?
euler | 16 | auto hydraConfigFile = getEnv("HYDRA_CONFIG");
euler | | ^~~~~~
euler | | getenv
euler | ../libhydra/hydra-config.hh:17:32: error: 'pathExists' was not declared in this scope
euler | 17 | if (hydraConfigFile && pathExists(*hydraConfigFile)) {
euler | | ^~~~~~~~~~
euler | ../libhydra/hydra-config.hh:19:54: error: 'readFile' was not declared in this scope
euler | 19 | for (auto line : tokenizeString<Strings>(readFile(*hydraConfigFile), "\n")) {
euler | | ^~~~~~~~
euler | hydra-evaluator.cc: In member function 'void Evaluator::run()':
euler | hydra-evaluator.cc:470:25: error: 'createInterruptCallback' was not declared in this scope
euler | 470 | auto callback = createInterruptCallback([&]() { std::_Exit(1); });
euler | | ^~~~~~~~~~~~~~~~~~~~~~~
euler | make[3]: *** [Makefile:443: hydra_evaluator-hydra-evaluator.o] Error 1
euler | make[3]: Leaving directory '/build/source/src/hydra-evaluator'
| 16:51:53 |
void | none of the branches compiles. | 16:51:58 |
void | maybe Im doing something strange. | 16:52:05 |
void | the above is with nix-2.19 hydra, 2.19-maintenance nix branch. | 16:52:42 |
void | though those branches are there to match but I guess Im wrong. | 16:53:37 |
void | * thought those branches are there to match but I guess Im wrong. | 16:53:43 |
void | could you point me in the right direction of branches to use? | 16:55:20 |
void | nix.url = "git+http://gitea/nix/nix.git?ref=2.18-maintenance";
nix.inputs.nixpkgs.follows = "nixpkgs";
hydra.url = "git+http://gitea/nix/hydra.git?ref=nix-2.18"; #"path:/home/void/hydra"; #"github:NixOS/hydra";
hydra.inputs.nixpkgs.follows = "nixpkgs";
hydra.inputs.nix.follows = "nix"; #inputs.nixpkgs.follows = "nixpkgs";
| 16:55:35 |
void | * nix.url = "git+http://gitea/nix/nix.git?ref=2.18-maintenance";
nix.inputs.nixpkgs.follows = "nixpkgs";
hydra.url = "git+http://gitea/nix/hydra.git?ref=nix-2.18";
hydra.inputs.nixpkgs.follows = "nixpkgs";
hydra.inputs.nix.follows = "nix"; #inputs.nixpkgs.follows = "nixpkgs";
| 16:55:44 |
void | * could you point me in the right direction of which branches to use? | 16:56:16 |
Robert Hensing (roberth) | I don't know. I'd assume the inputs of the hydra flake provide a working combination | 16:57:27 |
Robert Hensing (roberth) | maintaining hydra is not my job unfortunately :/ | 16:57:53 |
void | Its OK, just seen your PackageInfo patch on nix that's why I thought you mite have an idea. | 16:58:47 |
ma27 | In reply to @void68:matrix.org the above is with nix-2.19 hydra, 2.19-maintenance nix branch. fwiw nix build on 2.19 (with the flake pointing to nix 2.19-maintenance) works fine for me though. | 17:03:42 |