[Nix-dev] nix-channel --update
Mathijs Kwik
mathijs at bluescreen303.nl
Tue Sep 18 18:15:08 CEST 2012
I found the problem.
My own channel server replied "Unauthorized" to the
$url/binary-cache-url ping, which ends up in channels/binary-caches.
I dived a bit into the new binary-cache stuff. It's really useful :)
I see that manifests become a bit optional with the new nix-push too,
and they are no longer retrieved when a channel advertises
binary-cache-url.
Are you planning to get rid of them in the end or are they still useful?
One use of them I still see is for nix-generate-patches, at least for
the compare-phase. The patches themselves can probably fit into the
.narinfo somehow.
On Mon, Sep 17, 2012 at 11:40 PM, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> Cool, I'm anxious to learn what new goodies you have dreamed up for us :)
>
> For the moment, I found that nix-pull manually still does the trick.
>
> binary-cache substituter... I saw some errors related to that earlier
> (undefined "Unauthorized" in /nix/store/.....-binary-cache, something
> like that), which was why I emptied by manifests dir in the first
> place.
>
> But nothing serious all in all =)
>
> On Mon, Sep 17, 2012 at 11:31 PM, Eelco Dolstra
> <eelco.dolstra at logicblox.com> wrote:
>> Hi,
>>
>> On 17/09/12 17:06, Mathijs Kwik wrote:
>>
>>> I'm using nix-1.2pre2910_b674665, as Eelco mentioned using nixUnstable
>>> is needed on the systemd branch.
>>>
>>> When I use nix-channel --update, it seems only the nixexprs are
>>> retrieved, not the MANIFEST.
>>> I (thought I) had some trouble with manifests lately, so I removed
>>> everything in /nix/var/nix/manifests and hoped it would get
>>> regenerated by updating the channel, but it seems only an empty sqlite
>>> database (10k) gets created, lock and journal are 0 bytes.
>>
>> Ah yes, those are the wonderful features you get living on the bleeding edge :-)
>> The latest nixUnstable has the new "binary cache substituter" which basically
>> makes the old manifest-based substituter obsolete. I wanted to send an
>> announcement but didn't get around to it yet, will do so later.
>>
>> --
>> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list