unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How do I define a package?
@ 2018-08-14 22:22 Luther Thompson
  2018-08-14 22:32 ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Luther Thompson @ 2018-08-14 22:22 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-29 22:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 22:22 How do I define a package? Luther Thompson
2018-08-14 22:32 ` Pierre Neidhardt
2018-08-16 22:34   ` Luther Thompson
2018-08-22  6:01     ` Leo Famulari
2018-08-29 22:40       ` Luther Thompson

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).