about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@yahoo.com>2017-04-23 14:12:42 -0400
committerGitHub <noreply@github.com>2017-04-23 14:12:42 -0400
commitb59fdc4289f52d4e59e938f66d7181f6a28f98a1 (patch)
tree043404ec8ace8159ecb7f3529e1fd2363c09d263 /doc
parent749d495cb3a8d0d704fc157c92307c08a1a39f99 (diff)
parent863d79b36446bb2dbcc34d4f57c832ac2dc57f68 (diff)
Merge pull request #25099 from obsidiansystems/cross-lib-foundation
Changes to nixpkgs infra to prepare to better package some pesky cross-compilers

No hashes (native or cross) should be changed
Diffstat (limited to 'doc')
-rw-r--r--doc/cross-compilation.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml
index 06a8919c2a19e..728616a9f2635 100644
--- a/doc/cross-compilation.xml
+++ b/doc/cross-compilation.xml
@@ -167,6 +167,11 @@
       Because of this, a best-of-both-worlds solution is in the works with no splicing or explicit access of <varname>buildPackages</varname> needed.
       For now, feel free to use either method.
     </para>
+    <note><para>
+      There is also a "backlink" <varname>__targetPackages</varname>, yielding a package set whose <varname>buildPackages</varname> is the current package set.
+      This is a hack, though, to accommodate compilers with lousy build systems.
+      Please do not use this unless you are absolutely sure you are packaging such a compiler and there is no other way.
+    </para></note>
   </section>
 
 </section>