From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add sg3_utils. Date: Sun, 14 Aug 2016 15:21:55 -0400 Message-ID: <20160814192155.GA3327@jasmine> References: <87fuq9xawl.fsf@gmail.com> <87bn0xxafb.fsf@gmail.com> <20160814012743.GB17421@jasmine> <871t1skp8l.fsf@gmail.com> <20160814164632.GA1754@jasmine> <87h9anw5hj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ0z7-0005PY-DE for guix-devel@gnu.org; Sun, 14 Aug 2016 15:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZ0z1-0000E1-DR for guix-devel@gnu.org; Sun, 14 Aug 2016 15:22:12 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:38978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ0z0-0000DG-3O for guix-devel@gnu.org; Sun, 14 Aug 2016 15:22:07 -0400 Content-Disposition: inline In-Reply-To: <87h9anw5hj.fsf@gmail.com> 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 Cc: guix-devel@gnu.org --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 14, 2016 at 11:49:28AM -0700, Chris Marusich wrote: > Leo Famulari writes: >=20 > >> >> + #:use-module ((guix licenses) > >> >> + #:select (gpl2+ bsd-3)) > >> > > >> > Do we need to use #:select here? How about using a license prefix? W= hat > >> > are the pros and cons? > > > > I'll leave this as is. >=20 > Oh, sorry, I missed this comment. What is the difference? I'm > unfamiliar with what it means to "use a license prefix"; where can I > find more info about that? Generally, we have the problem of using different variables named 'expat', 'zlib', 'openssl', and possibly others. For those 3, there are both package and license variables sharing the name. So, if we want to refer to both the package and license variables of, for example, expat, we have to distinguish them somehow. So, we sometimes "prefix" the licenses when they are used, to distinguish them =66rom the packages. There is a good example in 'gnu/packages/admin.scm'. Check line 33, where the license module is imported: 33 #:use-module ((guix licenses) #:prefix license:) and line 107, where you can see it in action: 107 (license license:gpl2+))) Using #:select to only import specific licenses can help, but you still have a problem when it's time to #:select the expat license. --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXsMTPAAoJECZG+jC6yn8IK6IP+wVyrr0Aytg6ZfebLar/ogVY kwDNnQQlEsls00utCTOlubblKrxWs28Pw3RaYrDC5IzHBkqUUfHdDjlp4jPu2JY7 HgcLKkJ463t22f9F/GDt6FBL75ebmjSwWx41aqrnjPV3eLXgGYAlghmADNvrhb61 73oUEfEjg/f3cr5sfbFR0w8VaI+XGxt+CfzxxriO1GAhD9+R7u70KjIGVFJXpum6 izlvLzhWe3wWhmwVwWEpf0EkAOWEyxsuNbhEmHWFMbcZzbm3BxBX1eudrV1iIAKI BrYi5HlAyLa35trQPomfRxa5vdoHM1V8h36/a9tLviqRYMul3Eyl7D+5GPg7+KYE 4Pj9lBTmjeAOLDD7VSJx8u+Qb8g80PEzhydnQdhhgErABV0wu+FJbyDYD0KQNttK FDSZ2ChEPUWxOO8x8L0q23ENrtQWsuL8PNugWtggtW21tu7z0wJ404+yUM6kp9Lv 6HpfHPQbaK2WCTk3JnW7jOsNVpKutc9WXhHFaXDsvof0paVOh9uoleGa+v9VniC2 hCvDg/5SMy6LDB+chk0ZnQWMcc9UcO81Duyn21kP21I2k9W8SC5LIFQTSEVEJ5b/ 8yL9W/hgaIQnWc/i+twFyYk2pdt7iRa0rlQrSSqViYmdVfWXqEkcBsKsB9t8a47R RbqOzYd8g4vu/ZP/IvHy =tron -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--