[Nix-dev] force nix-build without binary caches?

Oliver Charles ollie at ocharles.org.uk
Mon Dec 1 14:58:32 CET 2014


> On Mon, Dec 1, 2014 at 11:21 AM, Domen Kožar <domen at dev.si> wrote:
>
>> nix-build --option binary-caches ""

Rob Vermaas <rob.vermaas at gmail.com> writes:

> Or use (taken from 'man nix.conf'):
>
>        build-use-substitutes
>            If set to true (default), Nix will use binary substitutes if
> available. This option can be disabled to force
>            building from source.
>
> E.g. nix-build --option build-use-substitutes false

Another option is to use `nix-biuld --option use-binary-caches false`


More information about the nix-dev mailing list