summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2020/11/27
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
committerEuAndreh <eu@euandre.org>2025-03-31 21:51:40 -0300
commit570ec471d1605318aeefb030cd78682ae442235b (patch)
tree51e17eabe37c6689f8799b55e6875c3480329a2c /src/content/pastebins/2020/11/27
parentMakefile, mkdeps.sh: Derive index.html and feed.xml from more static "sortdat... (diff)
downloadeuandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.gz
euandre.org-570ec471d1605318aeefb030cd78682ae442235b.tar.xz
src/content/: Update all files left to asciidoc
Diffstat (limited to 'src/content/pastebins/2020/11/27')
-rw-r--r--src/content/pastebins/2020/11/27/guix-build-local.adoc38
1 files changed, 14 insertions, 24 deletions
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 350d50f..e703ba6 100644
--- a/src/content/pastebins/2020/11/27/guix-build-local.adoc
+++ b/src/content/pastebins/2020/11/27/guix-build-local.adoc
@@ -1,25 +1,14 @@
----
+= Guix build local module
-title: Guix build local module
+FIXED: rename `name` on line 9 of the first snippet, and use `"my-hello"`
+instead of `"hello"`.
-date: 2020-11-27
-
-layout: post
-
-lang: en
-
-eu_categories: guix
-
-ref: guix-build-local-module
-
----
-
-FIXED: rename `name` on line 9 of the first snippet, and use `"my-hello"` instead of `"hello"`.
-
----
+'''''
Inside a file named `build.scm`:
-```scheme
+
+[source,scheme]
+----
(define-module (build)
#:use-module (guix packages)
#:use-module (guix download)
@@ -42,19 +31,20 @@ Inside a file named `build.scm`:
(description "")
(home-page "")
(license gpl3+)))
-
-```
+----
A plain build command didn't work:
-```shell
+[source,shell]
+----
$ guix build -L. my-hello
guix build: error: my-hello : paquet inconnu
-```
+----
But with an eval expression it did:
-```shell
+[source,shell]
+----
$ guix build -L. -e '(@ (build) my-hello)'
# works
-```
+----