From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45531) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iD7mx-0006pX-7p for guix-patches@gnu.org; Wed, 25 Sep 2019 09:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iD7mw-0004u2-CM for guix-patches@gnu.org; Wed, 25 Sep 2019 09:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33374) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iD7mw-0004tw-8m for guix-patches@gnu.org; Wed, 25 Sep 2019 09:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iD7mw-0004jz-5f for guix-patches@gnu.org; Wed, 25 Sep 2019 09:57:02 -0400 Subject: [bug#37478] [PATCH] Support canonical guix environment -l guix.scm. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rw88u5s.fsf@gnu.org> Date: Wed, 25 Sep 2019 15:28:06 +0200 In-Reply-To: <871rw88u5s.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 22 Sep 2019 13:09:03 +0200") Message-ID: <871rw4mro9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jan Nieuwenhuizen Cc: 37478@debbugs.gnu.org Hello, Jan Nieuwenhuizen skribis: > I often find myself typing `guix environment -l guix.scm' in the Guix > source root and thought IWBN no make that "just work". WYDT? IWBN, but=E2=80=A6 > -(define-module (guix)) > +(define-module (guix) > + #:use-module (guix git-download) > + #:use-module (guix gexp) > + #:use-module (guix packages) > + #:use-module (gnu packages package-management)) =E2=80=A6 the (guix) module is a public module, and it must not depend on anything but the (guix =E2=80=A6) modules it imports. So unfortunately we can=E2=80=99t just do that. Perhaps we could have a =E2=80=98.guix.scm=E2=80=99 file though, or =E2=80=98build-aux/guix.scm=E2=80=99, something like that? Thanks, Ludo=E2=80=99.