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

Bjørn Forsman bjorn.forsman at gmail.com
Mon May 22 17:35:31 CEST 2017


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


More information about the nix-dev mailing list