Skip to content

Upgrade/install wrong architecture builds? #169

Closed

Description

@zefhemel

I just did a nix-env -u nix (being subscribed to the nix channel on hydra) and I ended up with a FreeBSD version of Nix. The fix for this is to pass in a --system-filter x86_64-darwin flag to my nix-env, but I think it's kind of odd that this is necessary.

How often do I want to download a Linux or FreeBSD build on my Mac? If I would I'd be willing to pass in a flag for that, it should default to my current architecture/OS, no?

Activity

  1. vcunat commented on Oct 4, 2013

    @vcunat
    Member

    I recommend using attribute names, e.g. nix-env -uA nix in this case. It avoids similar "under-specifications" and it's faster, too.

  2. zefhemel commented on Oct 4, 2013

    @zefhemel
    Author

    That may work, but it's not really user friendly for newbies.

  3. vcunat commented on Oct 4, 2013

    @vcunat
    Member

    Sorry for me being unclear, I didn't mean it shouldn't be changed.

    As we already discussed in e-mails, I think it would be enough to have a same-platform attribute with high priority, which would shadow the other versions.

  4. added 2 commits that reference this issue on Jan 1, 2024
  5. added a commit that references this issue on Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions