From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadezhda Voronova Subject: Trouble with adding a package Date: Mon, 26 Mar 2018 20:49:28 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000046f2a7056854653e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0WFR-0007pL-1z for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0WFO-0000wP-KW for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:33 -0400 Received: from mail-ot0-x22f.google.com ([2607:f8b0:4003:c0f::22f]:33857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0WFO-0000vi-Dl for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:30 -0400 Received: by mail-ot0-x22f.google.com with SMTP id m7-v6so21585738otd.1 for ; Mon, 26 Mar 2018 10:49:30 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --00000000000046f2a7056854653e Content-Type: text/plain; charset="UTF-8" Hi! I'm trying to add one simple package. I've already know that it installes by "guix package -f" so it seems like my package definition is ok. Or not? (definition for "guix package -f" https://paste.debian.net/1016791/ , definition https://paste.debian.net/ 1016770/) 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. Also when i looked into Makefile i've seen a bunch of "gnu/packages/---.scm" and there was not "gnu/packages/my-package.scm" and it doesn't look right. Anyway, after that i tried to add my definition to some random existing definition with right dependencies (this idea sounds terribly wrong but i wanted to give it a shot) and repeated all starting from "./bootstrap" again. And it did not work. Also i tried "./pre-inst-env guix build my-package --keep-failed". Still no effects, unknown package. So right now i'm totally confused about what i'm doing wrong and don't even understand what's output may be relevant to problem and i'll be very glad for help. 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. Thanks, Nadya --00000000000046f2a7056854653e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

I'm trying to add one simple package.<= /div>
I've already know that it installes by "guix package -f&= quot; so it seems like my package definition is ok. Or not? (definition for= "guix package -f" = https://paste.debian.net/1016791/ , definition https://paste.debian.net/10167= 70/)

I've got guix source code from reposi= tory, added my definition in "gnu/package" and run "guix env= ironment guix", "./bootstrap", "./configure --localstat= edir=3D/var" and "make" and then tried "./pre-inst-env = guix build my-package". And it doesn't see my package. Also when i= looked into Makefile i've seen a bunch of "gnu/packages/---.scm&q= uot; and there was not "gnu/packages/my-package.scm" and it doesn= 't look right. Anyway, after that i tried to add my definition to some = random existing definition with right dependencies (this idea sounds terrib= ly wrong but i wanted to give it a shot) and repeated all starting from &qu= ot;./bootstrap" again. And it did not work.
Also i tried &qu= ot;./pre-inst-env guix build my-package --keep-failed". Still no effec= ts, unknown package.

So right now i'm totally = confused about what i'm doing wrong and don't=C2=A0even=C2=A0unders= tand what's output may be relevant to problem and i'll be very glad= for help.


Also i have this thing appear almost every tim= e i use guix:
guile: warning: failed to install locale
wa= rning: failed to install locale: Invalid argument
Don't think that&#= 39;s relevant but it's a little bit=C2=A0annoying.


Th= anks,=C2=A0
Nadya
--00000000000046f2a7056854653e--