From: Luther Thompson <lutheroto@gmail.com>
To: help-guix@gnu.org
Subject: How do I define a package?
Date: Tue, 14 Aug 2018 18:22:39 -0400 [thread overview]
Message-ID: <20180814182239.544a70f0@gmail.com> (raw)
I'm trying to define a package for a new program I'm writing. After
looking through the manual, this is my best guess for what to do:
I put this guix.scm in my source directory:
(define-module (gnu packages doses)
#:use-module (guix build-system scons)
#:use-module (guix gexp)
#:use-module (guix licenses)
#:use-module (guix packages))
(define-public doses
(package
(name "doses")
(version "0.0.0")
(source (local-file "." "doses" #:recursive? #t))
(build-system scons-build-system)
(synopsis "A program.")
(description "A description of a program.")
(license cc0)
(home-page "https://github.com/luther9")))
I then ran `guix package --install-from-file=guix.scm`. This gave no
output and did not create a new generation.
So, what do I do next?
Luther
next reply other threads:[~2018-08-14 22:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 22:22 Luther Thompson [this message]
2018-08-14 22:32 ` How do I define a package? Pierre Neidhardt
2018-08-16 22:34 ` Luther Thompson
2018-08-22 6:01 ` Leo Famulari
2018-08-29 22:40 ` Luther Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180814182239.544a70f0@gmail.com \
--to=lutheroto@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).