unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Nadya Voronova <voronovank@gmail.com>
To: help-guix@gnu.org
Subject: Re: Trouble with adding a package
Date: Tue, 27 Mar 2018 04:10:19 +0300	[thread overview]
Message-ID: <CAJrBrdPeAJrLB_wdpVeV7x3pGjK5tuZYu=RW-E+feKxbM44Gig@mail.gmail.com> (raw)
In-Reply-To: <87605ih78h.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]

Yep, i tried to do it.
I tried to add it to another file (with (define-public tcal)). And i tried
to add my file to "" (and it appeared in the Makefile). In both cases,
nothing happened, still unknown package.
So i tried "./pre-inst-env guix build hello" to confirm that this is the
problem of my package. And my terminal just froze. It seems that this is
not what should have happened.
Also, while I was experimenting I tried "sudo ./pre-inst-env guix-daemon
--build-users-group = guixbuild". And it froze my terminal too.



2018-03-27 0:11 GMT+03:00 Ricardo Wurmus <rekado@elephly.net>:

>
> Hi Nadya,
>
> > I've got guix source code from repository, added my definition in
> > "gnu/package" and run "guix environment guix", "./bootstrap",
> "./configure
> > --localstatedir=/var" and "make" and then tried "./pre-inst-env guix
> build
> > my-package". And it doesn't see my package.
>
> Please add the package to an existing package module (one of the files
> in “gnu/packages/”).  Modules usually hold more than a single package.
>
> To make this work with your package definition you need to bind your
> package expression to a public variable:
>
>     (define-public tcalc
>       (package
>         (name "tcalc")
>         …))
>
> > Also i have this thing appear almost every time i use guix:
> > guile: warning: failed to install locale
> > warning: failed to install locale: Invalid argument
> > Don't think that's relevant but it's a little bit annoying.
>
> This is unrelated.  You should be able to remove these warnings by
> installing the glibc-locales package and setting the GUIX_LOCPATH
> environment variable to “$HOME/.guix-profile/lib/locale”.
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>

[-- Attachment #2: Type: text/html, Size: 2524 bytes --]

  reply	other threads:[~2018-03-27  1:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 17:49 Trouble with adding a package Nadezhda Voronova
2018-03-26 19:07 ` Leo Famulari
2018-03-26 21:11 ` Ricardo Wurmus
2018-03-27  1:10   ` Nadya Voronova [this message]
2018-03-27  7:41     ` Ricardo Wurmus
2018-03-28  0:56       ` Nadya Voronova
2018-03-28 20:01         ` Ricardo Wurmus

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='CAJrBrdPeAJrLB_wdpVeV7x3pGjK5tuZYu=RW-E+feKxbM44Gig@mail.gmail.com' \
    --to=voronovank@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).