help-guix
[Top][All Lists]
Advanced

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

Re: How do I define a package?


From: Pierre Neidhardt
Subject: Re: How do I define a package?
Date: Wed, 15 Aug 2018 00:32:26 +0200
User-agent: mu4e 1.0; emacs 26.1

From `guix package --help`

--8<---------------cut here---------------start------------->8---
  -f, --install-from-file=FILE
                         install the package that the code within FILE
                         evaluates to
--8<---------------cut here---------------end--------------->8---

In your file, the last top-level expression
is not a package, so `guix package --install-from-file=FILE` does nothing.

Add this last line

--8<---------------cut here---------------start------------->8---
doses
--8<---------------cut here---------------end--------------->8---

and you should be good to go!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

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