Re: [Nix-dev] firefox + Nix + sha512

2016-06-08 Thread Vladimír Čunát
On 06/08/2016 07:56 PM, Sergey Mironov wrote:
>
> https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs
> 
> I tried to add the advice Vladimir gave me, but my user (ierton) have
> no write permissions any more. Who can I ask to re-gain them?

The wiki is read-only on purpose, and the content is being migrated to
official documentation (though very slowly AFAIK). The problem is that
much of it was either rotten or poor quality anyway.
https://github.com/NixOS/nixpkgs/issues?milestone=8

> How should I know the right Nix hash to --realize in future?

I got the path on Hydra... but we *should* fix the nixpkgs evaluation
error to provide helpful information.

--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] firefox + Nix + sha512

2016-06-08 Thread Layus
The wiki is read-only and will remains so for an undefined period 
(forever ?).
The general idea is to update the documentation (via pull requests) and 
kill the outdated wiki pages.


You are most welcom to add up-to-date information to the manual.

-- Layus.

PS: Please, someone correct me if I am mistaken about the wiki state.

On 08/06/16 19:56, Sergey Mironov wrote:

Let me also note, that all Hydra links are 404 on the Wiki page, which
is referenced by the nix command line tools:

https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs

I tried to add the advice Vladimir gave me, but my user (ierton) have
no write permissions any more. Who can I ask to re-gain them?

2016-06-08 20:30 GMT+03:00 Sergey Mironov :

Thanks for the '--realize' command, it saved my day!
How should I know the right Nix hash to --realize in future?

Regards,
Sergey

2016-05-22 10:45 GMT+03:00 Vladimír Čunát :

Hi.

On 05/21/2016 04:00 PM, Sergey Mironov wrote:

[...] Unfortunately, all the one-click-install packages are 404.

Could you help me to understand what is happening? Which settings do
people normally use at the moment?

I've got no idea about what people normally use. Perhaps most of them
update more often.

Instead of one-click-install, I'd use the desired path directly
nix-store --realize /nix/store/mf9ha2d0yz599wx3aw5r0wdzyk5f8lf7-nix-1.11.2
(That should be possible since using binary caches.)


I expect it isn't enough to have new nix to evaluate the expressions but
also running as nix-daemon. Therefore, I suggest you first update your
system without firefox, getting rid of the error and then you can
continue normally, adding it, etc.

That should be possible in revisions after util-linux using sha256 again
https://github.com/NixOS/nixpkgs/pull/15048#issuecomment-219149502


--Vladimir



___
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


Re: [Nix-dev] firefox + Nix + sha512

2016-06-08 Thread Sergey Mironov
Let me also note, that all Hydra links are 404 on the Wiki page, which
is referenced by the nix command line tools:

   https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs

I tried to add the advice Vladimir gave me, but my user (ierton) have
no write permissions any more. Who can I ask to re-gain them?

2016-06-08 20:30 GMT+03:00 Sergey Mironov :
> Thanks for the '--realize' command, it saved my day!
> How should I know the right Nix hash to --realize in future?
>
> Regards,
> Sergey
>
> 2016-05-22 10:45 GMT+03:00 Vladimír Čunát :
>> Hi.
>>
>> On 05/21/2016 04:00 PM, Sergey Mironov wrote:
>>> [...] Unfortunately, all the one-click-install packages are 404.
>>>
>>> Could you help me to understand what is happening? Which settings do
>>> people normally use at the moment?
>>
>> I've got no idea about what people normally use. Perhaps most of them
>> update more often.
>>
>> Instead of one-click-install, I'd use the desired path directly
>> nix-store --realize /nix/store/mf9ha2d0yz599wx3aw5r0wdzyk5f8lf7-nix-1.11.2
>> (That should be possible since using binary caches.)
>>
>>
>> I expect it isn't enough to have new nix to evaluate the expressions but
>> also running as nix-daemon. Therefore, I suggest you first update your
>> system without firefox, getting rid of the error and then you can
>> continue normally, adding it, etc.
>>
>> That should be possible in revisions after util-linux using sha256 again
>> https://github.com/NixOS/nixpkgs/pull/15048#issuecomment-219149502
>>
>>
>> --Vladimir
>>
>>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] firefox + Nix + sha512

2016-06-08 Thread Sergey Mironov
Thanks for the '--realize' command, it saved my day!
How should I know the right Nix hash to --realize in future?

Regards,
Sergey

2016-05-22 10:45 GMT+03:00 Vladimír Čunát :
> Hi.
>
> On 05/21/2016 04:00 PM, Sergey Mironov wrote:
>> [...] Unfortunately, all the one-click-install packages are 404.
>>
>> Could you help me to understand what is happening? Which settings do
>> people normally use at the moment?
>
> I've got no idea about what people normally use. Perhaps most of them
> update more often.
>
> Instead of one-click-install, I'd use the desired path directly
> nix-store --realize /nix/store/mf9ha2d0yz599wx3aw5r0wdzyk5f8lf7-nix-1.11.2
> (That should be possible since using binary caches.)
>
>
> I expect it isn't enough to have new nix to evaluate the expressions but
> also running as nix-daemon. Therefore, I suggest you first update your
> system without firefox, getting rid of the error and then you can
> continue normally, adding it, etc.
>
> That should be possible in revisions after util-linux using sha256 again
> https://github.com/NixOS/nixpkgs/pull/15048#issuecomment-219149502
>
>
> --Vladimir
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] firefox + Nix + sha512

2016-05-22 Thread Vladimír Čunát
Hi.

On 05/21/2016 04:00 PM, Sergey Mironov wrote:
> [...] Unfortunately, all the one-click-install packages are 404.
> 
> Could you help me to understand what is happening? Which settings do
> people normally use at the moment?

I've got no idea about what people normally use. Perhaps most of them
update more often.

Instead of one-click-install, I'd use the desired path directly
nix-store --realize /nix/store/mf9ha2d0yz599wx3aw5r0wdzyk5f8lf7-nix-1.11.2
(That should be possible since using binary caches.)


I expect it isn't enough to have new nix to evaluate the expressions but
also running as nix-daemon. Therefore, I suggest you first update your
system without firefox, getting rid of the error and then you can
continue normally, adding it, etc.

That should be possible in revisions after util-linux using sha256 again
https://github.com/NixOS/nixpkgs/pull/15048#issuecomment-219149502


--Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] firefox + Nix + sha512

2016-05-21 Thread Sergey Mironov
Hi. I faced

  error: assertion failed at
/home/grwlf/proj/nixcfg/nixpkgs/pkgs/build-support/fetchurl/default.nix:90:1

when tried to upgrade NixOS from  older release to d541e0d. After
examining the assert condition I decided to upgrade Nix from 1.10 to
nix-1.12pre4591_c879a20.

The error changed from above assert to [error: unknown hash algorithm
‘sha512’]. Looks like only firefox packages are affected (probably,
because other packages still use sha256)

There is a Wiki page

  https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs

which contains a link to Hydra report page containing the latest built of Nix.

  
https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.nix.x86_64-linux/latest-finished

 Unfortunately, all the one-click-install packages are 404.

Could you help me to understand what is happening? Which settings do
people normally use at the moment?

Also, is there a possibility to install new Nix directly from latest nixpkgs?

Regards,
Sergey
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev