From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 19:49:47 2016 Received: (at submit) by debbugs.gnu.org; 13 Oct 2016 23:49:47 +0000 Received: from localhost ([127.0.0.1]:54589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bupkx-0004HY-69 for submit@debbugs.gnu.org; Thu, 13 Oct 2016 19:49:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bupjr-0004FY-5X for submit@debbugs.gnu.org; Thu, 13 Oct 2016 19:48:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bupjl-0003eH-1m for submit@debbugs.gnu.org; Thu, 13 Oct 2016 19:48:33 -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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bupjk-0003e3-UR for submit@debbugs.gnu.org; Thu, 13 Oct 2016 19:48:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bupji-0007DG-O0 for bug-guix@gnu.org; Thu, 13 Oct 2016 19:48:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bupjg-0003dZ-Sz for bug-guix@gnu.org; Thu, 13 Oct 2016 19:48:29 -0400 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:33757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bupjg-0003dT-Ld for bug-guix@gnu.org; Thu, 13 Oct 2016 19:48:28 -0400 Received: by mail-lf0-x233.google.com with SMTP id x79so166967539lff.0 for ; Thu, 13 Oct 2016 16:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=yPej6YO1as9v7+4ra/1LrRw2BTA6wBoQ7ed3xKiwZAM=; b=RrZk5V9OP/oGDDi9hfhiWVY5mZp5BK8CsCFSJCjJzRromd5DZGr+5+RGL83HY3FvFW PJcmd6A/DKwaWffVBs3U1AYYO3TpXd/JVAcvUzad36CtWuScBXyQLOuyA3S/NkdIyPOS f6qlJuLaypjN4Q84ighAwvIyCQV87CI8Ewvze+GEezw8b0YefiL7umNw+LkGNPgItPN4 nY+v1DaRos3YSCD97RlwePdjlcJu+68oxLHJadun0rpp1zhNlAE6pzAwnEN8GevbCqvS 6o6YWHLpG7oEZw0zAX08FectCti8i1x6LlN2S0Hx2mJxzb0LPAUqZmN3FmhxOkXl92YD fFpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yPej6YO1as9v7+4ra/1LrRw2BTA6wBoQ7ed3xKiwZAM=; b=i9FAfZSJ8jr7MYMHC6zy8LVN8vobZ03PzmjZHxC1nKxqTO3li1rbjZfnZdYPpXXRy/ wETw7nptaRKC7LbVKkbEi+unnaTqj3swZ7sG5KE+aAcNTr7F/cc6xs7ct/GXs9S88z2O Ss6pKc6vMwGjo8tq5yefxsdugcewxTWW6B3BfhAtVXT6EVB6TDgXZctGtMrFe9PG/SK4 JgNlqb1ZwNKQHWSIBYGTBkSlYEmw4Dd2ABGJX2UsD1SWphkb/MbBmX3bB/CNAp2EJ849 clb/no8NmZFbcUQ43HM9YDpzbzbRSUKY0PKOgoK7LynZAGk9Xt0dn46hLacYaa1xaxHT PYSw== X-Gm-Message-State: AA6/9RnM3oMP+Bnv3xGr/egASYU0tveRKGmY/PPRJ/uM8d9U9DfJ3ONxQ537xvH2XpBM9fb7i2dVXttesK8sqg== X-Received: by 10.194.107.162 with SMTP id hd2mr153683wjb.0.1476402507224; Thu, 13 Oct 2016 16:48:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.40.7 with HTTP; Thu, 13 Oct 2016 16:48:26 -0700 (PDT) From: Blah Blahh Date: Thu, 13 Oct 2016 18:48:26 -0500 Message-ID: Subject: --load-path not honored by guix system To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary=e89a8f92417cfd1bd8053ec7be12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 13 Oct 2016 19:49:46 -0400 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: -4.0 (----) --e89a8f92417cfd1bd8053ec7be12 Content-Type: text/plain; charset=UTF-8 Worked fine when I set GUIX_PACKAGE_PATH, did not when I tried using --load-path to pass the exact same directory. According to mark_weaver from #guix it should, so here I am to mention it. Specifically I used "guix system reconfigure --load-path=/root/guix-modules /etc/config.scm" and it did not search in that directory, then I set GUIX_PACKAGE_PATH to /root/guix-modules and ran the command without the --load-path part and it found the package defined in a module in a subdirectory of it. --e89a8f92417cfd1bd8053ec7be12 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Worked fine when I set GUIX_PACKAGE_PATH, did not when I t= ried using --load-path to pass the exact same directory. According to mark_= weaver from #guix it should, so here I am to mention it. Specifically I use= d "guix system reconfigure --load-path=3D/root/guix-modules /etc/confi= g.scm" and it did not search in that directory, then I set GUIX_PACKAG= E_PATH to /root/guix-modules and ran the command without the --load-path pa= rt and it found the package defined in a module in a subdirectory of it.
--e89a8f92417cfd1bd8053ec7be12-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 15:25:05 2016 Received: (at 24686) by debbugs.gnu.org; 16 Oct 2016 19:25:05 +0000 Received: from localhost ([127.0.0.1]:35497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvr3Q-0000kA-Qu for submit@debbugs.gnu.org; Sun, 16 Oct 2016 15:25:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvr3P-0000jd-Dz for 24686@debbugs.gnu.org; Sun, 16 Oct 2016 15:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvr3H-0005Z1-6E for 24686@debbugs.gnu.org; Sun, 16 Oct 2016 15:24:58 -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]:32858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvr3H-0005Yw-2v; Sun, 16 Oct 2016 15:24:55 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59110 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bvr3F-0005pt-MD; Sun, 16 Oct 2016 15:24:54 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Blah Blahh Subject: Re: bug#24686: --load-path not honored by guix system References: Date: Sun, 16 Oct 2016 21:24:51 +0200 In-Reply-To: (Blah Blahh's message of "Thu, 13 Oct 2016 18:48:26 -0500") Message-ID: <87y41of664.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 (-----) Hello, Blah Blahh skribis: > Worked fine when I set GUIX_PACKAGE_PATH, did not when I tried using - > -load-path to pass the exact same directory. According to mark_weaver > from #guix it should, so here I am to mention it. Specifically I used > "guix system reconfigure --load-path=3D/root/guix-modules > /etc/config.scm" and it did not search in that directory, then I set > GUIX_PACKAGE_PATH to /root/guix-modules and ran the command without > the --load-path part and it found the package defined in a module in a > subdirectory of it. I just tried and it Works for Me with current master. What does =E2=80=98guix --version=E2=80=99 return? What makes you think = =E2=80=98--load-path=E2=80=99 is not honored, perhaps because you=E2=80=99re using =E2=80=98specification= ->package=E2=80=99 in config.scm? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 15:28:32 2016 Received: (at control) by debbugs.gnu.org; 16 Oct 2016 19:28:32 +0000 Received: from localhost ([127.0.0.1]:35508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvr6m-0000pL-Ai for submit@debbugs.gnu.org; Sun, 16 Oct 2016 15:28:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvr6k-0000p7-VZ for control@debbugs.gnu.org; Sun, 16 Oct 2016 15:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvr6c-0007Wt-MJ for control@debbugs.gnu.org; Sun, 16 Oct 2016 15:28:25 -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_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvr6c-0007Wp-In for control@debbugs.gnu.org; Sun, 16 Oct 2016 15:28:22 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59124 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bvr6b-0000OC-QE for control@debbugs.gnu.org; Sun, 16 Oct 2016 15:28:22 -0400 Date: Sun, 16 Oct 2016 21:28:20 +0200 Message-Id: <87wph8f60b.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #24686 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: control 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 (-----) tags 24686 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 04:25:25 2016 Received: (at 24686) by debbugs.gnu.org; 17 Oct 2016 08:25:25 +0000 Received: from localhost ([127.0.0.1]:36024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw3Eb-0008Ky-EG for submit@debbugs.gnu.org; Mon, 17 Oct 2016 04:25:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw3EZ-0008Kf-9M for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw3ES-0002iD-Pi for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:25:18 -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,HTML_MESSAGE, TVD_RCVD_SPACE_BRACKET,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw3ES-0002i6-MI for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:25:16 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:36610 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bw3EQ-0003kr-Tk for 24686@debbugs.gnu.org; Mon, 17 Oct 2016 04:25:15 -0400 Resent-To: 24686@debbugs.gnu.org Resent-From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Resent-Date: Mon, 17 Oct 2016 10:25:13 +0200 Resent-Message-ID: <87y41nfkly.fsf@gnu.org> Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus v2.4.16-Debian-2.4.16-4+deb7u2) with LMTPA; Mon, 17 Oct 2016 03:34:33 +0200 X-Sieve: CMU Sieve 2.4 Received: by solo.fdn.fr (Postfix) id 93DA8D092B; Mon, 17 Oct 2016 03:34:33 +0200 (CEST) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:4830:134:3::10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 3583BD0909 for ; Mon, 17 Oct 2016 03:34:33 +0200 (CEST) Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvwov-0001oL-P6 for ludovic.courtes@fdn.fr; Sun, 16 Oct 2016 21:34:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvwov-0001oH-Ln for ludovic.courtes@fdn.fr; Sun, 16 Oct 2016 21:34:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40305) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bvwov-00062T-C6 for ludo@gnu.org; Sun, 16 Oct 2016 21:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvwot-0001o4-Mb for ludo@gnu.org; Sun, 16 Oct 2016 21:34:29 -0400 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]:34313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvwot-0001np-Et for ludo@gnu.org; Sun, 16 Oct 2016 21:34:27 -0400 Received: by mail-lf0-x229.google.com with SMTP id b81so257971202lfe.1 for ; Sun, 16 Oct 2016 18:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jU29rVg3erlqDPAuPWykQ+5LMUsyQ8de3gWarFejIPo=; b=FTkxRJuLkLkTt/y7bxD2IBgG4H6hnhqV8jVyfIFIMiQZ0dS3JIJGOEV+q3Z+f35ekv SS+lZYqwSXlO7T/0RaE8dxDjv20Q2bfw7FSSTk62lWTusKaVYB6Hs0AIbBllWQ4zrU2f K6v8KIbWbGD8TZeORyw9R6Fbrf12fjVwMZt/LlDnkIsJYkZeuhB9QK9Fqq5EG4HnOW61 dFeWVv0taRPw/QEQTf8hfCdNSbKf+X0/OxhyiqyZbrcxzteAum2OM5jLg0vDDK0A1xaE 8AitxBhtoUrqTJIEZv5hX4rlyrDUTrEnwCPnu+n+H0VPgX79OBEs9lko5QTwr2UkydPw icTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jU29rVg3erlqDPAuPWykQ+5LMUsyQ8de3gWarFejIPo=; b=VwlpoKCqIedymfzecfinZHUIcjtRDknpmr3FKeuAL+KVho99NsrTRs0qt4QCJiQAak d2EAMsVpWFDm+EPTRuy5X6pwaEx/LwjY6nk+t3VZfBJeEXI/Wj32vi+TATHjF5/qKvT6 ZcQQ+QQ/2rPomRdwVU/hHCJaTwDm7ohT5RakuD0C/q43wftzBv2TTNSsxxYB59fw3x4O n6V6m4VstPiWvuzfQRUvDIHXXXAUj0TKC8KFSo1Ax/LMwpvV2K0EdG2QBsBQ8chY5M/Y Ivv2GdH/7DITKl61RNWAddSX7sjdo1u3hNo8Q/ectH2LrQWMc5UNLTx+YM//M4QqMY3R SJKg== X-Gm-Message-State: AA6/9Rl4SOKPkv0O2Yj32O567uBp34YOlMmcTKFT8pI/hBEfSQj4MY7hYo9oUxMU0Dj2Rq3OgD/Rx89fjH7Bnw== X-Received: by 10.194.229.7 with SMTP id sm7mr11422866wjc.150.1476668065538; Sun, 16 Oct 2016 18:34:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.40.7 with HTTP; Sun, 16 Oct 2016 18:34:25 -0700 (PDT) In-Reply-To: <87y41of664.fsf@gnu.org> References: <87y41of664.fsf@gnu.org> From: Reepca Russelstein Date: Sun, 16 Oct 2016 20:34:25 -0500 Message-ID: Subject: Re: bug#24686: --load-path not honored by guix system To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/alternative; boundary=001a113655767f69eb053f059359 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: -4.0 (----) X-Debbugs-Envelope-To: 24686 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: -4.0 (----) --001a113655767f69eb053f059359 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 the 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 not find openfwwf-firmware. I then ran "export GUIX_PACKAGE_PATH=3D/root/guix-modules" and then ran "guix system reconfigu= re /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'm guessing that to reproduce, I should boot to the system configuration I had at the time and try the same thing. So I tried rebooting to the system I had at that time, but it seems to have failed to successfully boot... screen is stuck black right now, will try some more later. Just wanted to provide more details in the meantime. On Sun, Oct 16, 2016 at 2:24 PM, Ludovic Court=C3=A8s wrote: > Hello, > > Blah Blahh skribis: > > > Worked fine when I set GUIX_PACKAGE_PATH, did not when I tried using - > > -load-path to pass the exact same directory. According to mark_weaver > > from #guix it should, so here I am to mention it. Specifically I used > > "guix system reconfigure --load-path=3D/root/guix-modules > > /etc/config.scm" and it did not search in that directory, then I set > > GUIX_PACKAGE_PATH to /root/guix-modules and ran the command without > > the --load-path part and it found the package defined in a module in a > > subdirectory of it. > > I just tried and it Works for Me with current master. > > What does =E2=80=98guix --version=E2=80=99 return? What makes you think = =E2=80=98--load-path=E2=80=99 > is not honored, perhaps because you=E2=80=99re using =E2=80=98specificati= on->package=E2=80=99 in > config.scm? > > Thanks, > Ludo=E2=80=99. > --001a113655767f69eb053f059359 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
guix --version returns "guix (GNU Guix) 20161013= .22". My config.scm included (firmware (cons openfwwf-firmware %base-f= irmware)). I was using a patch provided by bavier from irc to provide openf= wwf-firmware (here is the patch http://paste.lisp.org/display/328373). I created /root/guix-modul= es/gnu/packages/firmware.scm, which was the patched version. When I tried r= unning "guix system reconfigure --load-path=3D/root/guix-modules /etc/= config.scm" it said that it could not find openfwwf-firmware. I then r= an "export GUIX_PACKAGE_PATH=3D/root/guix-modules" and then ran &= quot;guix system reconfigure /etc/config.scm" and it successfully foun= d openfwwf-firmware and reconfigured the system. That's why I think --l= oad-path is not being honored.

I'm guessing that to repro= duce, I should boot to the system configuration I had at the time and try t= he same thing. So I tried rebooting to the system I had at that time, but i= t seems to have failed to successfully boot... screen is stuck black right = now, will try some more later. Just wanted to provide more details in the m= eantime.

On Sun, Oct 16, 2016 at 2:24 PM, Ludovic Court=C3=A8s &l= t;ludo@gnu.org> wrote:
Hello,

Blah Blahh <anotherreepca@gma= il.com> skribis:

> Worked fine when I set GUIX_PACKAGE_PATH, did not when I tried using -=
> -load-path to pass the exact same directory. According to mark_weaver<= br> > from #guix it should, so here I am to mention it. Specifically I used<= br> > "guix system reconfigure --load-path=3D/root/guix-modules
> /etc/config.scm" and it did not search in that directory, then I = set
> GUIX_PACKAGE_PATH to /root/guix-modules and ran the command without > the --load-path part and it found the package defined in a module in a=
> subdirectory of it.

I just tried and it Works for Me with current master.

What does =E2=80=98guix --version=E2=80=99 return?=C2=A0 What makes you thi= nk =E2=80=98--load-path=E2=80=99
is not honored, perhaps because you=E2=80=99re using =E2=80=98specification= ->package=E2=80=99 in
config.scm?

Thanks,
Ludo=E2=80=99.

--001a113655767f69eb053f059359-- 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 04:27:56 2016 Received: (at control) by debbugs.gnu.org; 18 Oct 2016 08:27:56 +0000 Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwPkZ-0006mu-OR for submit@debbugs.gnu.org; Tue, 18 Oct 2016 04:27:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwPkX-0006mg-EJ for control@debbugs.gnu.org; Tue, 18 Oct 2016 04:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwPkP-0002Z0-MW for control@debbugs.gnu.org; Tue, 18 Oct 2016 04:27:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwPkP-0002Ym-Iz for control@debbugs.gnu.org; Tue, 18 Oct 2016 04:27:45 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:55046 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bwPkO-00086x-VP for control@debbugs.gnu.org; Tue, 18 Oct 2016 04:27:45 -0400 Date: Tue, 18 Oct 2016 10:27:43 +0200 Message-Id: <87lgxmoydc.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #24686 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: control 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 (-----) tags 24686 notabug close 24686 From unknown Sat Jun 21 03:26:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Nov 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator