From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: a GUIX_PACKAGE_PATH / modules puzzle Date: Thu, 10 May 2018 22:27:26 +0000 Message-ID: <20180510222726.46zv7dsm32ufgyhj@abyayala> References: <20180501223951.whoj67yv2h3t6wyl@abyayala> <87bmdxwc6y.fsf@gmail.com> <20180503053613.dffmd6ag57x26fdt@abyayala> <87a7thxkw2.fsf@gmail.com> <20180503083033.457tdfmh5qmauqb4@abyayala> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bmzrjgsebcu2ffa5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGu1c-0005Nn-7C for guix-devel@gnu.org; Thu, 10 May 2018 18:27:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGu1b-0008AL-By for guix-devel@gnu.org; Thu, 10 May 2018 18:27:00 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:60522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fGu1b-00089c-1K for guix-devel@gnu.org; Thu, 10 May 2018 18:26:59 -0400 Content-Disposition: inline In-Reply-To: <20180503083033.457tdfmh5qmauqb4@abyayala> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich , guix-devel@gnu.org --bmzrjgsebcu2ffa5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Okay, here's what I learned: * except for source code, the modules itself in Guile aren't very * detailed documented. The documentation is good, but... ... it's * nowhere mentioned that you can have a module (foo bar baz) and * possibly also (foo bar baz kim) but (foo baz bar bar) will lead to * the error I described. So until I read into the core of Guile, I have 2 questions: 1. Is there a module name maximum length? -> So far I have encountered very short module names in the wild, 3 the longest. 2. Is this really a module length problem? -> I have a functional set of packages elsewhere, my non-core packages, named like (ports editors foo foo) and so forth and they cause no problems. It's just weird to me that the modules in ports and elsewhere work but in pkgs I can't dissect the exact problem so far. I'm okay with any namespace, so I'll simply remove the last element of the module names. I'd like to improve documentations or other relevant places if what I experienced is some kind of corner case in module naming, be it in Guix or Guile... or just to note what to avoid with regards to modules. --bmzrjgsebcu2ffa5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlr0x0oACgkQ4i+bv+40 hYj5qRAAoHzRasBNCcB54dXm9vdCct8ABtNR2aYNVbqQ4URkBf/wjxn6Yf9G8CLn lkCXHw1EWSI778WioTA2Pi2CPdBuizyF/AzCPvH/xDU/buNRV4TgH0/VL9QV6qn5 bg0WpsLGqfupSIN6P87rxRgcLNgfeKhzb9eOETD4xzWfY0ARTV2M1LkL10FpUcfA L/0LxA+yeCGqe/o3mShJqHZlH+s0aHQPR5y9gF+PRYG0EYqDEzK9hSFXkVcj5D5d OWqERYQhHXa1PcHior8ArLqeiyl3N8/iibBsL5fIALYBqDfOaFTqkYZ0gxUAqLuT 6XXacJZgqqENrG2GFclZVv6xQjVg7P7VRh+ERo1oSEhy6tA/I7pGxBvsiiHf7tgW wDYXabib9NzVQh/K8HUDPY0iRqcM2gVCDaA1hV9t3OXYrnO2cYtr4u0k5+sAR8Ks 8ZC/HxkLF2yWNeqE4vjHdOzLbeG3Kt2RkpyOiOQWg8QpU0n5O5SDFlYjkmkwng6H KxGVjMTlgN6i5/KRWIjv38Pcu3PBy2r3QrMX9kUo5PqRnWQpe0he5ZAaJAH4Go8n 6LOh0I7dkw8LiUDvekwcBxda7fVQswMVcp4VXTeNKLaSrtxkLHJsIL+Os2VRbYwj V9Rq7eKeBdXtC265tCBGzJzYD/2engQrzRTAwgSrJ0nk3nV4Su8= =uYE3 -----END PGP SIGNATURE----- --bmzrjgsebcu2ffa5--