You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble building Hydra on nixpkgs master. Bumping hydra-unstable to 6318866 and building shows:
g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++17 -I/nix/store/2xhb4hlskn33pbyph36v4wxcan56dnrw-boehm-gc-8.0.4-dev/include -I/nix/store/5rjgsqjdm71cflfb68q7m771a1rqcsk3-nix-2.4pre20200719_a79b6dd-dev/include/nix -Wall -I ../libhydra -Wno-deprecated-declarations -g -O2 -std=c++17 -include nix/config.h -c -o hydra_queue_runner-build-remote.o `test -f 'build-remote.cc' || echo './'`build-remote.cc
build-remote.cc: In member function 'void State::buildRemote(nix::ref<nix::Store>, Machine::ptr, Step::ptr, unsigned int, unsigned int, unsigned int, RemoteResult&, std::shared_ptr<State::ActiveStep>, std::function<void(StepState)>)':
build-remote.cc:447:70: error: no matching function for call to 'nix::Store::importPaths(nix::FdSource&, std::shared_ptr<nix::FSAccessor>&, nix::CheckSigsFlag)'
447 | destStore->importPaths(from, result.accessor, NoCheckSigs);
| ^
In file included from /nix/store/5rjgsqjdm71cflfb68q7m771a1rqcsk3-nix-2.4pre20200719_a79b6dd-dev/include/nix/parsed-derivations.hh:1,
from state.hh:13,
from build-remote.cc:9:
/nix/store/5rjgsqjdm71cflfb68q7m771a1rqcsk3-nix-2.4pre20200719_a79b6dd-dev/include/nix/store-api.hh:628:16: note: candidate: 'nix::StorePaths nix::Store::importPaths(nix::Source&, nix::CheckSigsFlag)'
628 | StorePaths importPaths(Source & source, CheckSigsFlag checkSigs = CheckSigs);
| ^~~~~~~~~~~
/nix/store/5rjgsqjdm71cflfb68q7m771a1rqcsk3-nix-2.4pre20200719_a79b6dd-dev/include/nix/store-api.hh:628:16: note: candidate expects 2 arguments, 3 provided
make[3]: *** [Makefile:546: hydra_queue_runner-build-remote.o] Error 1
nixpkgs hydra-unstable depends on nixFlakes which now includes Remove 'accessor' from addToStore()NixOS/nix@545bb2e, but Hydra was not updated for that change.
The text was updated successfully, but these errors were encountered:
Another option I can think of is to add a third Nix package which is proven to work with Hydra (i.e. the nixUnstable from Hydra's flake.lock). While this isn't the prettiest solution, it fixes the situation in nixpkgs until we can get rid of all of this when flakes become stable.
I am having trouble building Hydra on nixpkgs master. Bumping hydra-unstable to 6318866 and building shows:
nixpkgs
hydra-unstable
depends onnixFlakes
which now includesRemove 'accessor' from addToStore()
NixOS/nix@545bb2e, but Hydra was not updated for that change.The text was updated successfully, but these errors were encountered: