From f1019fa43a34a9cf5e394c86f8389dd6ce4b07dc Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 7 Dec 2022 09:33:21 +0100 Subject: [PATCH] reproducible-cran: Fix console syntax highlighting. * drafts/reproducible-cran.md: Add $ symbols to the beginning of line. --- drafts/reproducible-cran.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drafts/reproducible-cran.md b/drafts/reproducible-cran.md index c759b02..31e3e2a 100644 --- a/drafts/reproducible-cran.md +++ b/drafts/reproducible-cran.md @@ -32,7 +32,7 @@ in Guix proper, would look like this: 3. Run your code. ```console - guix shell -m manifest.scm -- R -e 'library(zoid)' + $ guix shell -m manifest.scm -- R -e 'library(zoid)' ``` Although Guix displays hints which modules are missing when trying to @@ -115,14 +115,14 @@ Using guix-cran requires the following steps: 3. Run: ```console - guix time-machine -C channels.scm -- shell -m manifest.scm -- R -e 'library(zoid)' + $ guix time-machine -C channels.scm -- shell -m manifest.scm -- R -e 'library(zoid)' ``` For true reproducibility it’s necessary to pin the channels to a specific commit by running ```console -guix time-machine -C channels.scm -- describe -f channels > channels.pinned.scm +$ guix time-machine -C channels.scm -- describe -f channels > channels.pinned.scm ``` once and using `channels.pinned.scm` instead of `channels.scm` from there on. -- 2.38.1