diff options
Diffstat (limited to 'src/content/pastebins')
8 files changed, 13 insertions, 13 deletions
diff --git a/src/content/pastebins/2018/07/13/guixbuilder.adoc b/src/content/pastebins/2018/07/13/guixbuilder.adoc index e8a8dd5..35057f9 100644 --- a/src/content/pastebins/2018/07/13/guixbuilder.adoc +++ b/src/content/pastebins/2018/07/13/guixbuilder.adoc @@ -1,7 +1,7 @@ = Guix builder user creation commands :categories: guix -[source,shell] +[source,sh] ---- groupadd --system guixbuild for i in `seq -w 1 10`; diff --git a/src/content/pastebins/2019/06/08/inconsistent-hash.adoc b/src/content/pastebins/2019/06/08/inconsistent-hash.adoc index 32ebaec..8dc5794 100644 --- a/src/content/pastebins/2019/06/08/inconsistent-hash.adoc +++ b/src/content/pastebins/2019/06/08/inconsistent-hash.adoc @@ -37,7 +37,7 @@ terraform-godaddy = pkgs.buildGoModule rec { == Local build: -[source,shell] +[source,sh] ---- $ nix-build -A terraform-godaddy these derivations will be built: @@ -191,7 +191,7 @@ error: build of '/nix/store/y5961vv6y9c0ps2sbd8xfnpqvk0q7qhq-terraform-godaddy-1 The `setup.sh` script contains a call to `nix-shell` which in turns build the same `terraform-godaddy` derivation: -[source,shell] +[source,sh] ---- $ cd vps/ $ ./scripts/ci/setup.sh diff --git a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc index 0337ad8..50dd841 100644 --- a/src/content/pastebins/2019/12/29/raku-tuple-type.adoc +++ b/src/content/pastebins/2019/12/29/raku-tuple-type.adoc @@ -1,7 +1,7 @@ = Raku tuple type annotation :categories: raku programming-languages -[source,perl] +[source,raku] ---- # Single Str return value: this works sub f1(Str $in --> Str) { @@ -21,7 +21,7 @@ sub f2(Str $in --> (Str, Str)) { Error log is: -[source,perl] +[source,raku] ---- ===SORRY!=== Error while compiling /path/to/my/file Malformed return value diff --git a/src/content/pastebins/2020/01/04/guix-import-failure.adoc b/src/content/pastebins/2020/01/04/guix-import-failure.adoc index 08c6ea1..5896645 100644 --- a/src/content/pastebins/2020/01/04/guix-import-failure.adoc +++ b/src/content/pastebins/2020/01/04/guix-import-failure.adoc @@ -1,7 +1,7 @@ = Failure on Guix TeX Live importer :categories: guix -[source,shell] +[source,sh] ---- $ guix import texlive fontspec redirection vers « https://ctan.org/xml/1.2/pkg/fontspec »... diff --git a/src/content/pastebins/2020/02/14/guix-shebang.adoc b/src/content/pastebins/2020/02/14/guix-shebang.adoc index 0dcbe54..d415d36 100644 --- a/src/content/pastebins/2020/02/14/guix-shebang.adoc +++ b/src/content/pastebins/2020/02/14/guix-shebang.adoc @@ -1,7 +1,7 @@ = Guix shebang :categories: guix -[source,shell] +[source,sh] ---- #!/usr/bin/env -S guix environment --ad-hoc bash -- bash set -Eeuo pipefail diff --git a/src/content/pastebins/2020/11/27/guix-build-local.adoc b/src/content/pastebins/2020/11/27/guix-build-local.adoc index 6fe5089..1a18d4b 100644 --- a/src/content/pastebins/2020/11/27/guix-build-local.adoc +++ b/src/content/pastebins/2020/11/27/guix-build-local.adoc @@ -36,7 +36,7 @@ Inside a file named `build.scm`: A plain build command didn't work: -[source,shell] +[source,sh] ---- $ guix build -L. my-hello guix build: error: my-hello : paquet inconnu @@ -44,7 +44,7 @@ guix build: error: my-hello : paquet inconnu But with an eval expression it did: -[source,shell] +[source,sh] ---- $ guix build -L. -e '(@ (build) my-hello)' # works diff --git a/src/content/pastebins/2020/12/15/guix-pack-fail.adoc b/src/content/pastebins/2020/12/15/guix-pack-fail.adoc index 369cae4..3631fbc 100644 --- a/src/content/pastebins/2020/12/15/guix-pack-fail.adoc +++ b/src/content/pastebins/2020/12/15/guix-pack-fail.adoc @@ -9,7 +9,7 @@ FIXED: Use `GUIX_PROFILE= source etc/profile` The example from the {post}[blog post] fails. -[source,shell] +[source,sh] ---- $ tar xf `guix pack --relocatable -S /bin=bin -S /etc=etc guile gnutls guile-json` $ source etc/profile @@ -75,7 +75,7 @@ no code for module (gnutls) My Guix version if fairly recent: -[source,shell] +[source,sh] ---- $ guix describe Génération 83 14 déc. 2020 00:28:16 (actuelle) diff --git a/src/content/pastebins/2021/06/22/curl-wget.adoc b/src/content/pastebins/2021/06/22/curl-wget.adoc index 08caf12..97f55c7 100644 --- a/src/content/pastebins/2021/06/22/curl-wget.adoc +++ b/src/content/pastebins/2021/06/22/curl-wget.adoc @@ -2,7 +2,7 @@ `curl`: -[source,shell] +[source,sh] ---- $ pushd `mktemp -d` /tmp/tmp.AZkwvk7azD ~/ @@ -55,7 +55,7 @@ SUM: 1309 39501 56083 25 `wget`: -[source,shell] +[source,sh] ---- $ pushd `mktemp -d` /tmp/tmp.NX0udlJMiz ~/ |