summary refs log tree commit diff
path: root/doc/cross-compilation.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-03-25manual: Fix typos John Ericson1-17/+17
Thanks @matthewbauer! Co-Authored-By: Ericson2314 <git@JohnEricson.me>
2019-03-24manual: Document `pkgsFooBar` and moreJohn Ericson1-83/+291
There was a bunch of stuff in the cross section that haddn't had any attention in a while. I might need to slim it down later, but this is good for now.
2019-03-08doc: format the documentation (#57102)Wael Nasreddine1-78/+80
2019-02-26doc/cross-compilation: fix typoLorenzo1-1/+1
Add missing verb.
2018-11-28doc: fix incorrect exampleMatthew Bauer1-1/+1
For whatever reason, nix-build ... --argstr a.b "c" doesn't work. It fails quitely so it's best to use an example here that works.
2018-11-19doc/cross-compilation: remove reference to old wikiMatthew Bauer1-7/+0
The link doesn’t work and it’s not very important to the documentation anyway.
2018-11-19doc/cross-compilation: fixupMatthew Bauer1-94/+94
More cleanups and stuff. May need to be split up.
2018-11-19doc: typo fixesMatthew Bauer1-2/+2
2018-10-02nixpkgs docs: ReformatGraham Christensen1-3/+4
2018-09-23doc: Don't mention top-level `{build, host, target}Platform`John Ericson1-7/+3
For technical reasons, we cannot easily add a warning to top-level definitions, so 2a6e4ae49a891adc7c0562fda08b17d60beb1b4f and e51f736076548459f36a1250de4bf6867f880b66 reverted the deprecation. But we can still remove mention of the would-be deprecated definitions to steer people towards using the preferred alternatives.
2018-09-11Revert "top-level: Deprecate top-level `{build,host,target}Platform`"Sarah Brofeldt1-3/+7
This reverts commit e51f736076548459f36a1250de4bf6867f880b66.
2018-09-05top-level: Deprecate top-level `{build,host,target}Platform`John Ericson1-7/+3
I don't know when we can/should remove them, but this at least gets people to stop using them. The preferred alternatives also date back to 17.09 so writing forward-compatable code without extra conditions is easy. Beginning with these as they are the least controversial.
2018-09-01nixpkgs docs: give linked things IDsGraham Christensen1-3/+3
2018-09-01Add section IDsGraham Christensen1-3/+3
2018-07-06nixpkgs docs: correct misspellworldofpeace1-1/+1
2018-05-31doc: ran `make format`Samuel Dionne-Riel1-9/+18
With visual inspection that nothing got worse.
2018-05-01nixpkgs docs: format =)Graham Christensen1-264/+425
2018-04-27doc: fix typo in cross-compilation docsLéo Gaspard1-1/+1
2018-01-26doc: Cross chapter: Add note on why use example platformsJohn Ericson1-0/+10
2018-01-26doc: chap cross: Make example command stick out moreJohn Ericson1-1/+2
It should be in a <programlisting>, not <command>, tag.
2018-01-11doc/cross-compilation: fixes typosJörg Thalheim1-2/+2
2017-12-30doc: Add cross cookbookJohn Ericson1-0/+39
An excellent suggestion from @bgamari
2017-12-30doc: Add "Specifying Dependencies" section to the stdenv chapterJohn Ericson1-1/+1
This accounts for all the new dependencies and propagation logic changes I'm about to add. Fixes #1915---with this change I think the distinction is finally clear enough.
2017-11-13Merge pull request #29418 from vanschelven/small-documentation-improvementsJohn Ericson1-25/+35
documentation: cross-compilation - partial rewrite
2017-11-09documentation: fix typosOrivej Desh1-2/+2
2017-11-09documentation: cross-compilation - partial rewriteKlaas van Schelven1-25/+35
2017-11-05Rename `__targetPackages` to `targetPackages`John Ericson1-1/+1
2017-07-07doc: Update cross compilation chapter for stdenv.{build,host,target}PlatformJohn Ericson1-2/+3
2017-06-28top-level: stdenv.cross vanquishedhsloan1-5/+0
2017-05-31lib and doc: Use "libSystem" as identifier for that libc in platformsJohn Ericson1-1/+1
2017-05-29lib: Consolidate platform configurations (used for crossSystem)John Ericson1-8/+44
This is good for maintenance and education.
2017-05-24doc/cross-compilation: change cross to targetMatthew Bauer1-1/+1
thanks to @bjornfor for catching this
2017-05-23doc/cross-compilation: cleanup some grammarMatthew Bauer1-4/+4
These all should be uncontroversial changes. Just some awkward wording and double words, etc.
2017-04-23top-level: Introduce targetPackages and a "double link fold"John Ericson1-0/+5
Each bootstrapping stage ought to just depend on the previous stage, but poorly-written compilers break this elegence. This provides an easy-enough way to depend on the next stage: targetPackages. PLEASE DO NOT USE IT UNLESS YOU MUST! I'm hoping someday in a pleasant future I can revert this commit :)
2017-04-18doc: Document the structure of `{build,host,target}Platforms`John Ericson1-8/+51
Worthwhile to do now that #24610 makes it less abysmal.
2017-02-08top-level: Allow nixpkgs to take localSystem directlyJohn Ericson1-3/+17
This is instead of both system and platform, which is kind of ugly.
2017-02-05cross stdenv: let build package's build deps resolve to native packagesJohn Ericson1-5/+6
This fixes the "sliding window" principle: 0. Run packages: build = native; host = foreign; target = foreign; 1. Build packages: build = native; host = native; target = foreign; 2. Vanilla packages: build = native; host = native; target = native; 3. Vanilla packages: build = native; host = native; target = native; n+3. ... Each stage's build dependencies are resolved against the previous stage, and the "foreigns" are shifted accordingly. Vanilla packages alone are built against themsevles, since there are no more "foreign"s to shift away. Before, build packages' build dependencies were resolved against themselves: 0. Run packages: build = native; host = foreign; target = foreign; 1. Build packages: build = native; host = native; target = foreign; 2. Build packages: build = native; host = native; target = foreign; n+2. ... This is wrong because that principle is violated by the target platform staying foreign. This will change the hashes of many build packages and run packages, but that is OK. This is an unavoidable cost of fixing cross compiling. The cross compilation docs have been updated to reflect this fix.
2017-01-24nixpkgs docs: Cross compilation docsJohn Ericson1-0/+153