mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Update documentation-survey.md (#610)
* Update documentation-survey.md Summarise https://nixos.org/guides/nix-pills/working-derivation.html
This commit is contained in:
parent
bf577edc76
commit
567c92a8ab
|
@ -138,6 +138,12 @@ To better navigate the material and judge its relevance, every entry should prov
|
|||
### Nixpkgs
|
||||
- partially in chapter https://nixos.org/guides/nix-pills/our-first-derivation.html
|
||||
- https://nixos.org/guides/nix-pills/working-derivation.html
|
||||
Creating a working derivation. Using `nix repl`: `bash` as a builder; the `args` attribute; creating in `$out`; the builder environment; packaging a C program. Using a `.nix` file to define the derivation: `import` function; `inherit` keyword; using `nix-build`. Explains how to use `gcc`, `bash` and `coreutils` from nixpkgs.
|
||||
- Reading time: 15 min
|
||||
- Author: Luca Bruno
|
||||
- Created: 2015 (effectively unmaintained since 2017)
|
||||
|
||||
|
||||
- https://nixos.org/guides/nix-pills/inputs-design-pattern.html
|
||||
- https://nixos.org/guides/nix-pills/callpackage-design-pattern.html
|
||||
- https://nixos.org/guides/nix-pills/callpackage-design-pattern.html
|
||||
|
|
Loading…
Reference in a new issue