blob: 047d848f5a9104599fc3655301999aaaccc2e7cb (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#
msgid ""
msgstr ""
msgid ""
"title: Guix build local module\n"
"date: 2020-11-27\n"
"layout: pastebin\n"
"lang: en"
msgstr ""
msgid "Inside a file named `build.scm`:"
msgstr ""
msgid ""
"(define-module (build)\n"
" #:use-module (guix packages)\n"
" #:use-module (guix download)\n"
" #:use-module (guix build-system gnu)\n"
" #:use-module (guix licenses))\n"
"\n"
"(define-public my-hello\n"
" (package\n"
" (name \"hello\")\n"
" (version \"2.10\")\n"
" (source (origin\n"
" (method url-fetch)\n"
" (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
" \".tar.gz\"))\n"
" (sha256\n"
" (base32\n"
" \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
" (build-system gnu-build-system)\n"
" (synopsis \"\")\n"
" (description \"\")\n"
" (home-page \"\")\n"
" (license gpl3+)))\n"
"\n"
msgstr ""
msgid "A plain build command didn't work:"
msgstr ""
msgid ""
"$ guix build -L. my-hello\n"
"guix build: error: my-hello : paquet inconnu\n"
msgstr ""
msgid "But with an eval expression it did:"
msgstr ""
msgid ""
"$ guix build -L. -e '(@ (build) my-hello)'\n"
"# works\n"
msgstr ""
msgid ""
"FIXED: rename `name` on line 9 of the first snippet, and use `\"my-hello\"` "
"instead of `\"hello\"`."
msgstr ""
|