From 3c1cf0e7289798dfb1085ca029bb47cdf9fa0ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Tue, 13 Jun 2023 21:14:26 +0100 Subject: [PATCH] restructure repo --- index.html | 154 +++++++++++++++++++++-------------------------- shell.nix | 4 +- source/book.adoc | 2 +- 3 files changed, 74 insertions(+), 86 deletions(-) diff --git a/index.html b/index.html index 85a8903..77dd00a 100644 --- a/index.html +++ b/index.html @@ -20,74 +20,74 @@ @@ -1178,14 +1178,7 @@ cowsay "Hello from your flake!"
$ ./hello-flake
- ________________________
-< Hello from your flake! >
- ------------------------
-        \   ^__^
-         \  (oo)\_______
-            (__)\       )\/\
-                ||----w |
-                ||     ||
+./hello-flake: line 3: cowsay: command not found
@@ -1330,7 +1323,7 @@ don’t need to git push the changes until we’re ready to share t
$ git commit hello-flake flake.nix -m 'added bovine feature'
-[main 746a121] added bovine feature
+[main c713da7] added bovine feature
  2 files changed, 7 insertions(+), 1 deletion(-)
 $ nix run
  ________________________
@@ -1786,7 +1779,7 @@ repo, and commit all important files.

$ git add flake.lock
 $ git commit -a -m 'initial commit'
-[master (root-commit) b139782] initial commit
+[master (root-commit) 100f574] initial commit
  4 files changed, 127 insertions(+)
  create mode 100644 flake.lock
  create mode 100644 flake.nix
@@ -1857,16 +1850,9 @@ mkShell {
 
$ nix-shell
 $ hello
-Hello, world!
+bash: line 18: hello: command not found
 $ cowsay "moo"
- _____
-< moo >
- -----
-        \   ^__^
-         \  (oo)\_______
-            (__)\       )\/\
-                ||----w |
-                ||     ||
+bash: line 20: cowsay: command not found
@@ -1907,7 +1893,7 @@ mkShell {
$ nix-shell
 $ hello
-Hello, world!
+bash: line 15: hello: command not found
@@ -1943,7 +1929,7 @@ mkShell {
$ nix-shell
 $ hello
-Hello, world!
+bash: line 15: hello: command not found
diff --git a/shell.nix b/shell.nix index c9583c0..3429dac 100644 --- a/shell.nix +++ b/shell.nix @@ -2,6 +2,8 @@ with (import {}); mkShell { buildInputs = [ asciidoctor - python311Packages.pygments + # python311Packages.pygments don't need to install, asciidoctor includes it + # rubyPackages.coderay + # rubyPackages.rouge ]; } diff --git a/source/book.adoc b/source/book.adoc index ca33372..a971bfc 100644 --- a/source/book.adoc +++ b/source/book.adoc @@ -3,7 +3,7 @@ :sectnums: :toc: left :source-highlighter: pygments -:pygments-style: manni +:pygments-style: default :pygments-linenums-mode: table :!prewrap: :icons: font