aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Pelz <pelzflorian@pelzflorian.de>2022-11-27 18:20:42 +0100
committerFlorian Pelz <pelzflorian@pelzflorian.de>2022-11-27 19:00:01 +0100
commit39f88ee29faa98d0b9b9761f2db8dc7721200fe5 (patch)
treebec4869d71576e4d958f5fbfd49bfc73b993af1f
parentf085755bb8af01065f5b8a2dba1ff93993e615fb (diff)
downloadguix-39f88ee29faa98d0b9b9761f2db8dc7721200fe5.tar.gz
guix-39f88ee29faa98d0b9b9761f2db8dc7721200fe5.zip
doc: cookbook: Fix commands in example.
Fixes <https://issues.guix.gnu.org/59463>. Reported by Luca Cirrottola <luca.cirrottola@inria.fr>. * doc/guix-cookbook.texi (Reproducible profiles): Make it work.
-rw-r--r--doc/guix-cookbook.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index af08d4ed54..795e7d3b25 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -3503,8 +3503,8 @@ to reproduce the exact same profile:
GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
GUIX_EXTRA=$HOME/.guix-extra
-mkdir "$GUIX_EXTRA"/my-project
-guix pull --channels=channel-specs.scm --profile "$GUIX_EXTRA/my-project/guix"
+mkdir -p "$GUIX_EXTRA"/my-project
+guix pull --channels=channel-specs.scm --profile="$GUIX_EXTRA/my-project/guix"
mkdir -p "$GUIX_EXTRA_PROFILES/my-project"
"$GUIX_EXTRA"/my-project/guix/bin/guix package --manifest=/path/to/guix-my-project-manifest.scm --profile="$GUIX_EXTRA_PROFILES"/my-project/my-project