aboutsummaryrefslogtreecommitdiff
path: root/_pastebins/2020-11-27-guix-build-local-module.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_pastebins/2020-11-27-guix-build-local-module.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/_pastebins/2020-11-27-guix-build-local-module.md b/_pastebins/2020-11-27-guix-build-local-module.md
index b1d242e..49bcd86 100644
--- a/_pastebins/2020-11-27-guix-build-local-module.md
+++ b/_pastebins/2020-11-27-guix-build-local-module.md
@@ -5,6 +5,10 @@ layout: pastebin
lang: en
---
+FIXED: rename `name` on line 9 of the first snippet, and use `"my-hello"` instead of `"hello"`.
+
+---
+
Inside a file named `build.scm`:
```scheme
(define-module (build)
@@ -37,7 +41,7 @@ A plain build command didn't work:
```shell
$ guix build -L. my-hello
guix build: error: my-hello : paquet inconnu
-```
+```
But with an eval expression it did:
@@ -45,5 +49,3 @@ But with an eval expression it did:
$ guix build -L. -e '(@ (build) my-hello)'
# works
```
-
-FIXED: rename `name` on line 9 of the first snippet, and use `"my-hello"` instead of `"hello"`.