mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-26 16:24:56 +08:00
temp
This commit is contained in:
parent
2dbd4bcc03
commit
0c2092d74c
4 changed files with 10 additions and 7 deletions
|
|
@ -90,8 +90,10 @@ Below is a list of some functions that are commonly used in
|
|||
this section.
|
||||
|
||||
General-purpose::
|
||||
The standard environment provides `mkDerivation`, which is especially
|
||||
useful for the typical `./configure; make; make install` scenario.
|
||||
The standard environment provides
|
||||
https://noogle.dev/f/pkgs/stdenv/mkDerivation[`mkDerivation`],
|
||||
which is especially useful for the typical
|
||||
`./configure; make; make install` scenario.
|
||||
It's customisable.
|
||||
Python::
|
||||
`buildPythonApplication`, `buildPythonPackage`.
|
||||
|
|
@ -102,6 +104,6 @@ Haskell::
|
|||
|
||||
[NOTE]
|
||||
====
|
||||
The https://noogle.dev/[Noogλe] search
|
||||
makes it easy to find documentation for Nix functions and other definitions.
|
||||
https://noogle.dev/[Noogλe] allows you to search for
|
||||
documentation for Nix functions and other definitions.
|
||||
====
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ see what it does.
|
|||
};
|
||||
....
|
||||
|
||||
This flake uses `mkDerivation` `❶` which is a very useful
|
||||
general-purpose package builder provided by the Nix standard
|
||||
This flake uses https://noogle.dev/f/pkgs/stdenv/mkDerivation[`mkDerivation`] `❶`
|
||||
which is a very useful general-purpose package builder provided by the Nix standard
|
||||
environment. It's especially useful for the typical
|
||||
`./configure; make; make install` scenario, but for this flake we don't
|
||||
even need that.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
= The Nix REPL
|
||||
|
||||
The Nix REPL footnote:[REPL is an acronym for (Read-Eval-Print-Loop).]
|
||||
The Nix REPL (REPL is an acronym for Read-Eval-Print-Loop)
|
||||
is an interactive environment for evaluating and debugging Nix code.
|
||||
It's also a good place to begin learning Nix.
|
||||
Enter it using the command `nix repl`.
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ See the section on https://nixos.org/manual/nixpkgs/stable/#chap-trivial-builder
|
|||
in the Nixpkgs reference manual, particularly
|
||||
https://nixos.org/manual/nixpkgs/stable/#trivial-builder-writeShellScript[writeShellScript]
|
||||
and https://nixos.org/manual/nixpkgs/stable/#trivial-builder-writeShellScriptBin[writeShellScriptBin].
|
||||
|
||||
////
|
||||
Good adoc0 scripts clean up after themselves.
|
||||
$ cd .. ; rm -rf tempwork # clean up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue