[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I define a package?

From: Luther Thompson
Subject: How do I define a package?
Date: Tue, 14 Aug 2018 18:22:39 -0400

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
   (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 "";)))

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]