diff options
Diffstat (limited to 'locale/pt/LC_MESSAGES/_pastebins/2020-11-27-guix-build-local-module.po')
-rw-r--r-- | locale/pt/LC_MESSAGES/_pastebins/2020-11-27-guix-build-local-module.po | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/locale/pt/LC_MESSAGES/_pastebins/2020-11-27-guix-build-local-module.po b/locale/pt/LC_MESSAGES/_pastebins/2020-11-27-guix-build-local-module.po new file mode 100644 index 0000000..047d848 --- /dev/null +++ b/locale/pt/LC_MESSAGES/_pastebins/2020-11-27-guix-build-local-module.po @@ -0,0 +1,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 "" |