From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 04:29:46 2016 Received: (at 24686) by debbugs.gnu.org; 17 Oct 2016 08:29:46 +0000 Received: from localhost ([127.0.0.1]:36031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw3Io-0008S3-M4 for submit@debbugs.gnu.org; Mon, 17 Oct 2016 04:29:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw3In-0008Rp-En for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:29:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw3Id-0004BM-3U for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:29:40 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw3Id-0004BI-09; Mon, 17 Oct 2016 04:29:35 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:36658 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bw3Ic-0006WJ-7Y; Mon, 17 Oct 2016 04:29:34 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Reepca Russelstein Subject: Re: bug#24686: --load-path not honored by guix system References: <87y41of664.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?utf-8?Q?Vend=C3=A9miaire?= an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 17 Oct 2016 10:29:32 +0200 In-Reply-To: (Reepca Russelstein's message of "Sun, 16 Oct 2016 20:34:25 -0500") Message-ID: <87mvi3fker.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24686 Cc: 24686@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Reepca Russelstein skribis: > guix --version returns "guix (GNU Guix) 20161013.22". My config.scm > included (firmware (cons openfwwf-firmware %base-firmware)). I was using a > patch provided by bavier from irc to provide openfwwf-firmware (here is t= he > patch http://paste.lisp.org/display/328373). I created > /root/guix-modules/gnu/packages/firmware.scm, which was the patched > version. When I tried running "guix system reconfigure > --load-path=3D/root/guix-modules /etc/config.scm" it said that it could n= ot > find openfwwf-firmware. I then ran "export > GUIX_PACKAGE_PATH=3D/root/guix-modules" and then ran "guix system reconfi= gure > /etc/config.scm" and it successfully found openfwwf-firmware and > reconfigured the system. That's why I think --load-path is not being > honored. I think there=E2=80=99s something subtle going on. %load-path is adjusted = when command-line arguments are processed, but that happens after (gnu system) and presumably (gnu packages firmware) have been loaded. Therefore, your own (gnu packages firmware) module isn=E2=80=99t =E2=80=9Cs= een=E2=80=9D. What I would suggest is to rename your (gnu packages firmware) module to, say, (my packages firmware), and to use that in your OS config (make sure to rename both the file and the module name that appears in the =E2=80=98define-module=E2=80=99 clause!). Could you try and report back? Thanks, Ludo=E2=80=99.