mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
5eaea6cee0
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. |
||
---|---|---|
.. | ||
languages-frameworks | ||
old | ||
coding-conventions.xml | ||
configuration.xml | ||
contributing.xml | ||
cross-compilation.xml | ||
default.nix | ||
functions.xml | ||
introduction.md | ||
manual.xml | ||
meta.xml | ||
multiple-output.xml | ||
overlays.xml | ||
package-notes.xml | ||
quick-start.xml | ||
release-notes.xml | ||
reviewing-contributions.xml | ||
stdenv.xml | ||
style.css | ||
submitting-changes.xml |