-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Cross-compiled NixOS #36187
Merged
Merged
Cross-compiled NixOS #36187
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
085bfce
utillinux: Fix cross-compiling when building with systemd
shlevy a1e219e
bind: Fix cross-compilation
shlevy a5bb01b
libaio: Add generic cross-compilation patch
shlevy 1f27013
boost: Fix cross-compilation
shlevy 0221112
iputils: Fix cross compile
shlevy 5815c7d
sudo: Fix cross compilation
shlevy d61a22f
strace: Fix cross-compilation
shlevy a929301
nixos: kexec: Disable on non-keexecable systems.
shlevy c0e814a
nixos: udev: Generate hwdb with build-native udevadm.
shlevy ed5bd8a
fuse: Fix cross-compilation
shlevy aebb024
nixos: Take glibcLocales from buildPackages.
shlevy b28cb72
nixos: stage-1: Don't try to test binaries when cross-compiling.
shlevy cc81202
nixos: initrd-kmod-blacklist-ubuntu: Fix cross-compilation.
shlevy 6a32291
makeModulesClosure: Fix cross-compilation
shlevy 8e65205
nixos: keymap: Fix cross-compilation.
shlevy 306d5cd
perlPackages: Add cross-compilation support.
shlevy dd6c926
perlPackages.DBI: Stub out dbd_postamble for cross-compilation.
shlevy b0d6c67
perlPackages.JSON: Fix cross-compilation.
shlevy fe406d6
nixos: sudo: Use build-time visudo for syntax check.
shlevy e51a76c
make-dbus-conf: Fix cross-compilation.
shlevy 942855c
tzdata: Fix cross-compilation
shlevy 4d5be58
Merge remote-tracking branch 'origin/master' into cross-nixos
shlevy f66da15
Merge branch 'staging' into cross-nixos
shlevy c54730d
gobjectIntrospection: Enable building without X11 support.
shlevy bcb1bb5
groff: Fix cross-compilation
shlevy 20072d7
nixos: manual: Fix cross-compilation.
shlevy 897b7c7
nixos: Fix initrd dependency detection when cross-compiling.
shlevy 948e290
stage-2-init: Use the host bash as SHELL
shlevy e70f61f
Add top-level aliases for the runtime shell and its package.
shlevy fec5434
nixos: Move uses of stdenv.shell to runtimeShell.
shlevy c3bba10
dhcpcd: Fix cross-compilation.
shlevy a486cb1
systemd: Fix references to /usr/bin in cross-compilation
shlevy 95579af
Merge remote-tracking branch 'origin/staging' into cross-nixos
shlevy 3448794
nixos: Add nixpkgs.crossSystem option for cross-compilation
shlevy 600b08c
dhcpcd: Add TODO to cleanup after patchShebangs fix
shlevy 60c8c02
bind: Remove unnecessary environment defines.
shlevy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't let me forget about this when I return to #34444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a similar value for localSystem? O:).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes if
system
before is new in 18.03, it should be changed to local system instead. And the description of that config should in that case take into accountcrossSystem
: "for which NixOS should be built" isn't generally true, should be "on which".There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be happy to do this in a follow-up PR though.