aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-04-05 13:06:59 +0200
committerGitHub <noreply@github.com>2023-04-05 13:06:59 +0200
commitbbdb5a58c7204893119ed8c13c55d0dea0f82e35 (patch)
treee1cdec5b696f4696a7d31fd9de507889e43ed6f8 /doc
parent3586e97e232a85f0791708ab8e1b6d8ddfab7fad (diff)
parent1ac10808baf878267eba8e758d985f24349f18c5 (diff)
Merge pull request #7849 from milahu/fix-man-nix-shell
docs: fix nix-shell commands
Diffstat (limited to 'doc')
-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 9f36929f7..576e5ba0b 100644
--- a/doc/manual/src/command-ref/nix-shell.md
+++ b/doc/manual/src/command-ref/nix-shell.md
@@ -120,7 +120,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