GNU bug report logs - #37399
Guix subcommands from channels not found

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Julien Lepiller <julien@HIDDEN>; merged with #38795; dated Fri, 13 Sep 2019 11:58:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 37399 38795. Request was from Gábor Boskovits <boskovits@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Sep 2019 11:57:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 13 07:57:29 2019
Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i8kCe-00083s-OX
	for submit <at> debbugs.gnu.org; Fri, 13 Sep 2019 07:57:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:49356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1i8kCd-00083l-0G
 for submit <at> debbugs.gnu.org; Fri, 13 Sep 2019 07:57:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50051)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <julien@HIDDEN>) id 1i8kCa-0006Ul-RZ
 for bug-guix@HIDDEN; Fri, 13 Sep 2019 07:57:26 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <julien@HIDDEN>) id 1i8kCZ-0001DO-IN
 for bug-guix@HIDDEN; Fri, 13 Sep 2019 07:57:24 -0400
Received: from lepiller.eu ([2a00:5884:8208::1]:55692)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <julien@HIDDEN>) id 1i8kCY-0001Ae-VL
 for bug-guix@HIDDEN; Fri, 13 Sep 2019 07:57:23 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id ac663fc0
 for <bug-guix@HIDDEN>; Fri, 13 Sep 2019 11:57:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lepiller.eu; h=date
 :mime-version:content-type:content-transfer-encoding:subject:to
 :from:message-id; s=dkim; bh=pmafGFeav/Um6MQdtAiFLpH7WZA=; b=gic
 KCYysCP149z73m6gOvirQaqPJtE7anW/N7V/2E6Jx9tHvu2SGFV9QUqaaUx7DscH
 0CgjHcb4Dkdq4SI646bB5/Dmp3fZZzFTN/5uf5b5MOfOAznyxdFAXBTtWgJfAoTL
 joRDf751XJ41i6VxN2JcI06EmuLuVYIMC3rjzg62OIEP/2v/L//yyQCFrv5IODIn
 BN0LD3lnQnDSZEsRQVn5Gxh6+JeZq+uPQYo5NIiGmFJIkcop31n70AMSd07JTTfl
 u0qsu60/IkpIacLz4XUqFL+2+b0fXHKQcv0TFDbPG2C1wKvQfHCuQENl+yJYWr96
 Z33jrl66AO5cQTqpEQg==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=lepiller.eu; h=date
 :mime-version:content-type:content-transfer-encoding:subject:to
 :from:message-id; q=dns; s=dkim; b=cgGqWdDm18UwtfkfPkA8ghElEhwMc
 z2cOwNJ5CcUs2xc6nB50rmSEra68kk+dBsoGPhLgq+iV9WJHxIBDmB9CXF+ZtuTi
 JBwPwUeLznstuzbBzypuICfSLsZl8ndfsymsBEG86QCDA7uY6XpcpeXDsSTUOto+
 P2drmQqmvkGkzv1j69Ff/GSfPu+eJg5DZhVS+SvT7LJLvUdqnUmDgpaGWmYhgLOK
 m+uGYuDFs68dGj7X0MnUVY4FdPmjpDU9/+r8v/und//4qCd8rNBS1CRbWzhJu2/Y
 1AE/Mi7z2inBahwTJkird/fsiZ+9f4ykarbeMiXvHZQnUIlR+ZrX5IwPA==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 442b7267
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Fri, 13 Sep 2019 11:57:14 +0000 (UTC)
Date: Fri, 13 Sep 2019 13:57:08 +0200
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Guix subcommands from channels not found
To: bug-guix@HIDDEN
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <1E9B8AE4-D8C0-46F7-B1C1-1C0993FF59DA@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:5884:8208::1
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi guix=2E While working on my guix-home-manager experiment, I tried to cre=
ate a "guix home" subcommand in my channel, by creating the (guix scripts h=
ome) module=2E

However, after pulling the right branch, with this in my channels=2Escm:

(channel
  (name 'home)
  (url "https://framagit=2Eorg/tyreunom/guix-home-manager=2Egit")
  (branch "subcommand"))

I get "guix: home: command not found"=2E

Guix describes agrees that I have installed the right branch, and from gui=
x repl, I can run:

,m (guix ui)
(run-guix-command 'home)

And it prints the test message=2E

From=20stracing the guix home invocation, I found out that guix was looking =
for the module only inside guix-module-union and my guix profile, but not i=
nside "current"=2E So either guix-module-union should be extended to contai=
n channel code, or the load path modified to load a bigger union or multipl=
e directories=2E

For now, setting GUILE_LOAD_PATH to load from "current" works and I can ru=
n guix home=2E I think it should work by default though=2E




Acknowledgement sent to Julien Lepiller <julien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37399; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 5 Jan 2020 21:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.