Skip to content

Commit f294b86

Browse files
committed
develop: docs: user cp over mv. fix line break
1 parent 925136e commit f294b86

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/introduction-to-nix/derivations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ stdenv.mkDerivation {
5858
installPhase = ''
5959
# Install the compiled program into the output directory ($out)
6060
mkdir -p $out/bin
61-
mv hello $out/bin/hello
61+
cp hello $out/bin/hello
6262
'';
6363
}
6464
```

docs/introduction-to-nix/nixos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ It's primarily used for referencing options *within* the configuration.
9292
## The Module System
9393

9494
NixOS uses a powerful *module system*. A module is a Nix expression that declares:
95+
9596
- **`options`**: What configurable parameters this module exposes.
9697
- **`config`**: How this module sets those parameters (and potentially other system parameters).
9798
- **`imports`**: Other modules to include.

0 commit comments

Comments
 (0)