From 3f5968e8e3786a8897dded150216a245502fe635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Mon, 12 Jun 2023 19:05:55 +0100 Subject: [PATCH] clean up afterward --- source/modify-hello-flake.adoc0 | 9 +++++++-- source/python-flake.adoc0 | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/source/modify-hello-flake.adoc0 b/source/modify-hello-flake.adoc0 index 1282de9..f78b5fb 100644 --- a/source/modify-hello-flake.adoc0 +++ b/source/modify-hello-flake.adoc0 @@ -5,9 +5,14 @@ opportunity to check your understanding of flakes. The first step is to enter a development shell. +//// +The user would have done this in an earlier section. +However, my adoc0 scripts clean up after themselves, so we need to do it again. +$ git clone https://codeberg.org/mhwombat/hello-flake +$ cd hello-flake +//// + .... -$# git clone https://codeberg.org/mhwombat/hello-flake -$# cd hello-flake $ nix develop .... diff --git a/source/python-flake.adoc0 b/source/python-flake.adoc0 index 569ad5f..84581ef 100644 --- a/source/python-flake.adoc0 +++ b/source/python-flake.adoc0 @@ -177,8 +177,8 @@ You can test that your package is properly configured by going to another directory and running it from there. .... -$ cd ~ -$ nix run ~/tutorial-practice/hello-python +$ cd .. +$ nix run ./hello-python .... If you move the project to a public repo, anyone can run it. Recall from @@ -194,5 +194,5 @@ Python flake. //// Good adoc0 scripts clean up after themselves. -$ cd .. ; rm -rf hello-python # clean up +$ rm -rf hello-python # clean up ////