From ecde5c5b9e8b8667ac589b6a5d07872cb092d44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Sun, 3 Dec 2023 20:04:39 +0000 Subject: [PATCH] apostrophe --- source/hello-flake/main.adoc0 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/hello-flake/main.adoc0 b/source/hello-flake/main.adoc0 index 7b39bc4..5b944e1 100644 --- a/source/hello-flake/main.adoc0 +++ b/source/hello-flake/main.adoc0 @@ -2,10 +2,10 @@ // TODO Need an intro explaining what flakes are. Move the "why flakes" section here. -Before learning to write Nix flakes, let’s learn how to use them. I’ve +Before learning to write Nix flakes, let's learn how to use them. I've created a simple example of a flake in this git https://codeberg.org/mhwombat/hello-flake[repository]. To run this -flake, you don’t need to install anything; simply run the command below. +flake, you don't need to install anything; simply run the command below. The first time you use a flake, Nix has to fetch and build it, which may take time. Subsequent invocations should be instantaneous. @@ -13,7 +13,7 @@ may take time. Subsequent invocations should be instantaneous. $ nix run "git+https://codeberg.org/mhwombat/hello-flake" .... -That’s a lot to type every time we want to use this package. Instead, we +That's a lot to type every time we want to use this package. Instead, we can enter a shell with the package available to us, using the `nix shell` command. @@ -28,10 +28,10 @@ command by name. $ hello-flake .... -Nix didn’t _install_ the package; it merely built and placed it in a +Nix didn't _install_ the package; it merely built and placed it in a directory called the "`Nix store`". Thus we can have multiple versions of a package without worrying about conflicts. We can find out the -location of the executable, if we’re curious. +location of the executable, if we're curious. .... $ which hello-flake @@ -47,7 +47,7 @@ sh: line 3: hello-flake: command not found .... However, we can still run the command using the store path we found -earlier. That’s not particularly convenient, but it does demonstrate +earlier. That's not particularly convenient, but it does demonstrate that the package remains in the store for future use. ....