NixOS: Document impurity issues with boot.binfmt.emulatedSystems#142778
Merged
markuskowa merged 6 commits intoNixOS:masterfrom Nov 9, 2021
Merged
NixOS: Document impurity issues with boot.binfmt.emulatedSystems#142778markuskowa merged 6 commits intoNixOS:masterfrom
markuskowa merged 6 commits intoNixOS:masterfrom
Conversation
12 tasks
|
Result of 1 package failed to build:
|
Co-authored-by: Sandro <[email protected]>
Member
|
I think this is LGTM but I would appreciate if a native speaker could prove read it. |
mohe2015
reviewed
Oct 29, 2021
Co-authored-by: Moritz Hedtke <[email protected]>
Co-authored-by: Moritz Hedtke <[email protected]>
markuskowa
reviewed
Nov 1, 2021
Co-authored-by: markuskowa <[email protected]>
markuskowa
reviewed
Nov 1, 2021
Co-authored-by: markuskowa <[email protected]>
| description = '' | ||
| List of systems to emulate. Will also configure Nix to | ||
| support your new systems. | ||
| Warning: the builder can execute all emulated systems within the same build, which introduces impurities in the case of cross compilation. |
Member
There was a problem hiding this comment.
Suggested change
| Warning: the builder can execute all emulated systems within the same build, which introduces impurities in the case of cross compilation. | |
| Warning: the builder can execute all emulated systems within the same build, which can introduce impurities in the case of cross compilation. |
Contributor
Author
There was a problem hiding this comment.
It definitely does introduce impurity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
For cross compiled packages, we have to take care boot.binfmt.emulatedSystems is not set. This PR adds more some note to the NixOS option.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)