[Nix-dev] How to build all of nixpkgs?

Freddy Rietdijk freddyrietdijk at fridh.nl
Mon May 22 18:04:05 CEST 2017


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.forsman at gmail.com> wrote:

> On 22 May 2017 at 17:21, Tomasz Czyż <tomasz.czyz at 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 at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170522/f76db874/attachment-0001.html>


More information about the nix-dev mailing list