If I am correct Hydra first checks which jobs evaluate, and then builds those. It checks using the findJobs function in this file https://github.com/NixOS/hydra/blob/master/src/hydra-eval-jobs/hydra-eval-jobs.cc
On May 22, 2017 17:35, "Bjørn Forsman" <bjorn.fors...@gmail.com> wrote: > On 22 May 2017 at 17:21, Tomasz Czyż <tomasz.c...@gmail.com> wrote: > > Look there, that's how all packages are build by CI: > > http://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-configuration > > It uses pkgs/top-level/release.nix to build all of that. > > Also it passes nixpkgs. So maybe you need to do something like > > I have looked there. That's why I'm wondering what magic Hydra does, > because I cannot get this thing to work with nix-build: > > $ nix-build -I nixpkgs=/path/to/my/nixpkgs pkgs/top-level/release.nix > error: value is a set while a Boolean was expected > > $ nix-build pkgs/top-level/release.nix --arg nixpkgs \"./.\" --arg > officialRelease false > error: value is a set while a Boolean was expected > > Please let me know if you manage to build that with nix-build. > > Best regards, > Bjørn Forsman > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev