Skip to content

The URL mentioned in default.nix when Nix is too old is broken #15344

Closed

Description

@copumpkin

https://github.com/NixOS/nixpkgs/blob/master/default.nix#L5 mentions https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs, which points people to Hydra URLs that no longer work.

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.

Activity

  1. added
    9.needs: reporter feedback
    on May 10, 2016
  2. 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
  3. domenkozar commented on May 10, 2016

    @domenkozar
    Member

    I think we should just move it to the manuals.

  4. self-assigned this
    on May 11, 2016
  5. domenkozar commented on May 11, 2016

    @domenkozar
    Member

    This is really important, I'll put it on my high-pri todo.

  6. vcunat commented on May 12, 2016

    @vcunat
    Member

    We had an issue open already: #13186.

  7. vcunat commented on May 12, 2016

    @vcunat
    Member

    And I suppose Nix manual is the best place.

  8. domenkozar commented on May 12, 2016

    @domenkozar
    Member
  9. ttuegel commented on May 30, 2016

    @ttuegel
    Member

    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.

  10. domenkozar commented on May 30, 2016

    @domenkozar
    Member

    @ttuegel I'll dig into this tomorrow.

  11. domenkozar commented on May 30, 2016

    @domenkozar
    Member

    Btw for now best workaround is:

    nix-env -i /nix/store/356dj8w9171dajl0wq32m41dhg2ngq35-nix-1.11.2 (64bit linux)

  12. ttuegel commented on May 30, 2016

    @ttuegel
    Member

    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.

  13. ttuegel commented on May 31, 2016

    @ttuegel
    Member

    Actually, that didn't work; now it fails with error: unknown hash algorithm 'sha512'. I have also tried nix-1.12 with no success.

  14. 4 remaining items

  15. ttuegel commented on May 31, 2016

    @ttuegel
    Member

    @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...

  16. vcunat commented on Jun 20, 2016

    @vcunat
    Member

    I think your running nix-daemon also needs to be new enough, which is basically driven by nixos-version.

  17. maximvl commented on Aug 8, 2016

    @maximvl

    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.

  18. domenkozar commented on Aug 10, 2016

    @domenkozar
    Member

    @maximvl did following help:

    nix-env -i /nix/store/356dj8w9171dajl0wq32m41dhg2ngq35-nix-1.11.2
    
  19. domenkozar commented on Aug 10, 2016

    @domenkozar
    Member

    I'm sorry it took so long, but see #17631

  20. added
    6.topic: user experience
    9.needs: community feedback
    and removed
    9.needs: reporter feedback
    on Oct 20, 2016
  21. matthewbauer commented on Apr 15, 2017

    @matthewbauer
    Member

    Can this be closed? also for issue #23013.

  22. dezgeg commented on Aug 16, 2017

    @dezgeg
    Contributor

    Fixed in 2e91b2d.

  23. added a commit that references this issue on May 31, 2024
    3e966de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

6.topic: user experience9.needs: community feedback

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions