1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Yann Hamdaoui 62db5ba51d
Remove superfluous variation of a snippet (#732)
The cross compilation documentation is showing, at some point, two
variations on how to get a cross-compiled package out of Nixpkgs. Those
two versions are strictly equivalent (the only difference is what part
of the full attribute set paths is put in the variable named `pkgs`) and
don't really improve understanding - arguably, rather hurts it.
2023-09-20 21:51:32 +02:00
Graham Christensen c703c92234
Apply review nits
Co-authored-by: Alexander Groleau <alex@proof.construction>
2023-08-25 20:31:20 -04:00
Graham Christensen 3fbc19b874
Add the Magic Nix Cache as an option to the GitHub Actions page
Not sure if this is the right place for it, but it seemed like the most direct place to add it.
I'm open to other suggestions as well.
2023-08-24 14:44:36 -04:00
Charles Ellis 2067612bb3
NIX_PATH includes nixpkgs in cross-compilation.md 2023-03-23 17:47:45 -07:00
Yuki Langley ac06c07360 Make code blocks consistent
Illustration of shell sessions or terminals should use shell-session.

Entire expressions should be encapsulated in code blocks, not inline code.
2022-11-08 17:37:41 +01:00
worktheclock fe84721779
Cross compilation RITZA edit 2022-09-26 13:13:01 +02:00
Domen Kožar e59cbb3638 fix build 2022-06-27 10:35:35 -05:00
Valentin Gagarin dbd0b8cfc4 more detail on specifying host platform
- explain mechanism of combining build and host platform in `nixpkgs` configuration
- add examples how to specify host platform in different ways
2021-12-15 12:03:44 +01:00
Valentin Gagarin 671e1d464d clarify platform attr vs. config string 2021-12-15 12:03:44 +01:00
Valentin Gagarin 12004ac36f add note on historicity platform encoding
there have been discussions around migrating the platform description to a more structured representation like an attribute set (cannot find relevant issue for reference right now), and it is worth noting that this string encoding is fairly arbitrary.
2021-12-15 12:03:44 +01:00
Valentin Gagarin c3fe9d754c reword distinction of target and host
use shorter sentences, emphasize keywords
2021-12-15 12:03:44 +01:00
Valentin Gagarin dd2b939f89
reword note on Nix community
make clear `nixpkgs` is the package collection, which is not the same as `nix` the package manager or the broader Nix community
2021-12-15 10:37:01 +01:00
Nejc Zupan 205e31841c Convert cross-compilation.rst
Note that the footnotes are now really in the foot of the document,
not at the foot of the paragraph.
2021-12-10 14:38:32 +00:00