summary refs log tree commit diff
path: root/doc/cross-compilation.xml
Commit message (Collapse)AuthorAge
* manual: Fix typos John Ericson2019-03-25
| | | | | Thanks @matthewbauer! Co-Authored-By: Ericson2314 <git@JohnEricson.me>
* manual: Document `pkgsFooBar` and moreJohn Ericson2019-03-24
| | | | | | 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.
* doc: format the documentation (#57102)Wael Nasreddine2019-03-08
|
* doc/cross-compilation: fix typoLorenzo2019-02-26
| | | Add missing verb.
* doc: fix incorrect exampleMatthew Bauer2018-11-28
| | | 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.
* doc/cross-compilation: remove reference to old wikiMatthew Bauer2018-11-19
| | | | The link doesn’t work and it’s not very important to the documentation anyway.
* doc/cross-compilation: fixupMatthew Bauer2018-11-19
| | | | More cleanups and stuff. May need to be split up.
* doc: typo fixesMatthew Bauer2018-11-19
|
* nixpkgs docs: ReformatGraham Christensen2018-10-02
|
* doc: Don't mention top-level `{build, host, target}Platform`John Ericson2018-09-23
| | | | | | | | 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.
* Revert "top-level: Deprecate top-level `{build,host,target}Platform`"Sarah Brofeldt2018-09-11
| | | | This reverts commit e51f736076548459f36a1250de4bf6867f880b66.
* top-level: Deprecate top-level `{build,host,target}Platform`John Ericson2018-09-05
| | | | | | | | | 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.
* nixpkgs docs: give linked things IDsGraham Christensen2018-09-01
|
* Add section IDsGraham Christensen2018-09-01
|
* nixpkgs docs: correct misspellworldofpeace2018-07-06
|
* doc: ran `make format`Samuel Dionne-Riel2018-05-31
| | | | With visual inspection that nothing got worse.
* nixpkgs docs: format =)Graham Christensen2018-05-01
|
* doc: fix typo in cross-compilation docsLéo Gaspard2018-04-27
|
* doc: Cross chapter: Add note on why use example platformsJohn Ericson2018-01-26
|
* doc: chap cross: Make example command stick out moreJohn Ericson2018-01-26
| | | | It should be in a <programlisting>, not <command>, tag.
* doc/cross-compilation: fixes typosJörg Thalheim2018-01-11
|
* doc: Add cross cookbookJohn Ericson2017-12-30
| | | | An excellent suggestion from @bgamari
* doc: Add "Specifying Dependencies" section to the stdenv chapterJohn Ericson2017-12-30
| | | | | | | | 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.
* Merge pull request #29418 from vanschelven/small-documentation-improvementsJohn Ericson2017-11-13
|\ | | | | documentation: cross-compilation - partial rewrite
| * documentation: fix typosOrivej Desh2017-11-09
| |
| * documentation: cross-compilation - partial rewriteKlaas van Schelven2017-11-09
| |
* | Rename `__targetPackages` to `targetPackages`John Ericson2017-11-05
|/
* doc: Update cross compilation chapter for stdenv.{build,host,target}PlatformJohn Ericson2017-07-07
|
* top-level: stdenv.cross vanquishedhsloan2017-06-28
|
* lib and doc: Use "libSystem" as identifier for that libc in platformsJohn Ericson2017-05-31
|
* lib: Consolidate platform configurations (used for crossSystem)John Ericson2017-05-29
| | | | This is good for maintenance and education.
* doc/cross-compilation: change cross to targetMatthew Bauer2017-05-24
| | | | thanks to @bjornfor for catching this
* doc/cross-compilation: cleanup some grammarMatthew Bauer2017-05-23
| | | | | These all should be uncontroversial changes. Just some awkward wording and double words, etc.
* top-level: Introduce targetPackages and a "double link fold"John Ericson2017-04-23
| | | | | | | | | 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 :)
* doc: Document the structure of `{build,host,target}Platforms`John Ericson2017-04-18
| | | | Worthwhile to do now that #24610 makes it less abysmal.
* top-level: Allow nixpkgs to take localSystem directlyJohn Ericson2017-02-08
| | | | This is instead of both system and platform, which is kind of ugly.
* cross stdenv: let build package's build deps resolve to native packagesJohn Ericson2017-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* nixpkgs docs: Cross compilation docsJohn Ericson2017-01-24