You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The URL mentioned in default.nix when Nix is too old is broken #15344
I remember a thread about improving that mechanism, but even if we don't do something fancy, we should have the URLs actually work. Now that the wiki is read-only, I'm not sure how best to fix it.
changed the title [-]The URL mentioned in default.nix when one's Nix is too old is broken[/-][+]The URL mentioned in default.nix when Nix is too old is broken[/+]on May 10, 2016
What is being done to provide .nixpkg files? What happened to them in the first place? Is it some kind of joke that Hydra still has links for these files?
Being unable to update old Nix-based systems quickly is completely unacceptable and reflects poor attention to infrastructure.
Thank you! I have to say, I'm quite surprised that worked. One possible resolution would be to update the manual to include instructions for finding the current hash from Hydra and following this procedure. The disadvantage of the curl-based procedure is that its failures are... opaque.
@domenkozar I don't think so. I've tried with 1.11 and 1.12 on this machine. The workaround is to disable Firefox from my configuration; now it seems to be working. But, I use the same configuration on a different machine without any problems, so it's more subtle than sha512 simply being broken...
I got error message on old system with Nix, went to wiki page, tried it's commands, they failed, installed Nix from scratch, then found this thread. This experience is really confusing for me as a user, please do something with misleading message.
Activity
[-]The URL mentioned in default.nix when one's Nix is too old is broken[/-][+]The URL mentioned in default.nix when Nix is too old is broken[/+]domenkozar commentedon May 10, 2016
I think we should just move it to the manuals.
domenkozar commentedon May 11, 2016
This is really important, I'll put it on my high-pri todo.
domenkozar commentedon May 11, 2016
Latest release .nixpkgs are 404-ing at https://hydra.nixos.org/release/nix/nix-1.11.2
cc @edolstra
vcunat commentedon May 12, 2016
We had an issue open already: #13186.
vcunat commentedon May 12, 2016
And I suppose Nix manual is the best place.
domenkozar commentedon May 12, 2016
Releases are now at http://nixos.org/releases/nix/, but there is no
.nixpkgas we have advised so far.ttuegel commentedon May 30, 2016
What is being done to provide
.nixpkgfiles? What happened to them in the first place? Is it some kind of joke that Hydra still has links for these files?Being unable to update old Nix-based systems quickly is completely unacceptable and reflects poor attention to infrastructure.
domenkozar commentedon May 30, 2016
@ttuegel I'll dig into this tomorrow.
domenkozar commentedon May 30, 2016
Btw for now best workaround is:
nix-env -i /nix/store/356dj8w9171dajl0wq32m41dhg2ngq35-nix-1.11.2(64bit linux)ttuegel commentedon May 30, 2016
Thank you! I have to say, I'm quite surprised that worked. One possible resolution would be to update the manual to include instructions for finding the current hash from Hydra and following this procedure. The disadvantage of the
curl-based procedure is that its failures are... opaque.ttuegel commentedon May 31, 2016
Actually, that didn't work; now it fails with
error: unknown hash algorithm 'sha512'. I have also triednix-1.12with no success.4 remaining items
ttuegel commentedon May 31, 2016
@domenkozar I don't think so. I've tried with
1.11and1.12on this machine. The workaround is to disable Firefox from my configuration; now it seems to be working. But, I use the same configuration on a different machine without any problems, so it's more subtle than sha512 simply being broken...vcunat commentedon Jun 20, 2016
I think your running nix-daemon also needs to be new enough, which is basically driven by
nixos-version.maximvl commentedon Aug 8, 2016
I got error message on old system with Nix, went to wiki page, tried it's commands, they failed, installed Nix from scratch, then found this thread. This experience is really confusing for me as a user, please do something with misleading message.
domenkozar commentedon Aug 10, 2016
@maximvl did following help:
domenkozar commentedon Aug 10, 2016
I'm sorry it took so long, but see #17631
matthewbauer commentedon Apr 15, 2017
Can this be closed? also for issue #23013.
dezgeg commentedon Aug 16, 2017
Fixed in 2e91b2d.
Provide correct instructions how to upgrade Nix without nixpkgs.