Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put native system in extra platforms if --system is used #5003

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewbauer
Copy link
Member

When we use a custom --system arg, we want Nix to also be able to utilize it’s native architecture for builds.

The best use case for this is M1 macOS users who want to prefer x86_64 for compatibility, but sometimes use
aarch64-darwin too. They can now add:

system = x86_64-darwin

to $HOME/.config/nix/nix.conf without sacrificing ability to build aarch64-darwin.

When we use a custom --system arg, we want Nix to also be able to utilize it’s native architecture for builds.

The best use case for this is M1 macOS users who want to prefer x86_64 for compatibility, but sometimes use
aarch64-darwin too. They can now add:

  system = x86_64-darwin

to $HOME/.config/nix/nix.conf without sacrificing ability to build aarch64-darwin.
@matthewbauer
Copy link
Member Author

/cc @edolstra

@stale
Copy link

stale bot commented Apr 16, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Apr 16, 2022
@fricklerhandwerk fricklerhandwerk added the UX The way in which users interact with Nix. Higher level than UI. label Sep 9, 2022
@stale stale bot removed the stale label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX The way in which users interact with Nix. Higher level than UI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants