aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-shell.md
diff options
context:
space:
mode:
authormilahu <milahu@gmail.com>2023-02-16 10:51:54 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-04-05 12:38:36 +0200
commit1ac10808baf878267eba8e758d985f24349f18c5 (patch)
tree87bce089c8159d8b5a8da7b3da8ca54f69ed956e /doc/manual/src/command-ref/nix-shell.md
parent601849b95afc3d173ea34ff5dba6353f9b71b495 (diff)
docs: fix nix-shell commands
Diffstat (limited to 'doc/manual/src/command-ref/nix-shell.md')
-rw-r--r--doc/manual/src/command-ref/nix-shell.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/nix-shell.md b/doc/manual/src/command-ref/nix-shell.md
index 840bccd25..6e5a198a8 100644
--- a/doc/manual/src/command-ref/nix-shell.md
+++ b/doc/manual/src/command-ref/nix-shell.md
@@ -118,7 +118,8 @@ shell in which to build it:
```console
$ nix-shell '<nixpkgs>' -A pan
[nix-shell]$ eval ${unpackPhase:-unpackPhase}
-[nix-shell]$ cd pan-*
+[nix-shell]$ cd $sourceRoot
+[nix-shell]$ eval ${patchPhase:-patchPhase}
[nix-shell]$ eval ${configurePhase:-configurePhase}
[nix-shell]$ eval ${buildPhase:-buildPhase}
[nix-shell]$ ./pan/gui/pan