$ rm result
$ nix-store --delete /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrf
y7-qscintilla-2.8.3
$ nix-build '<nixpkgs>' -K -A qscintilla --option build-use-substitutes
false

On Mon, Dec 1, 2014 at 11:32 AM, Daniel Hlynskyi <abcz2.upr...@gmail.com>
wrote:

> Thanks guys, but that doesn't help
>
> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla
> --option build-use-substitutes false
> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3
>
> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla
> --option binary-caches ""
> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3
>
> [danbst@master:/tmp/scibuild]$
>
> I have 'gc-keep-outputs = true' option enabled. Can this be a problem?
>
> 2014-12-01 11:29 GMT+01:00 Rob Vermaas <rob.verm...@gmail.com>:
>
>> 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
>>
>> Cheers,
>> Rob
>>
>>
>> On Mon, Dec 1, 2014 at 11:21 AM, Domen Kožar <do...@dev.si> wrote:
>>
>>> nix-build --option binary-caches ""
>>>
>>> On Mon, Dec 1, 2014 at 11:08 AM, Daniel Hlynskyi <abcz2.upr...@gmail.com
>>> > wrote:
>>>
>>>> hi, I'm trying to use -K option for nix-build, but it doesn't generate
>>>> unpacked directory in /tmp, it simply finds it somewhere in cache (or
>>>> binary cache.nixos.org or hydra.nixos.org). How to force it to build
>>>> without using cache and generated /tmp/nix-build-* directory?
>>>>
>>>> [danbst@master:/tmp/scibuild]$ nix-build '<nixpkgs>' -K -A qscintilla
>>>> /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3
>>>> [danbst@master:/tmp/scibuild]$
>>>>
>>>> _______________________________________________
>>>> nix-dev mailing list
>>>> nix-dev@lists.science.uu.nl
>>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>>
>> --
>> Rob Vermaas
>>
>> [email] rob.verm...@gmail.com
>>
>
>
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to