From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: [PATCH] gnu: Add sg3_utils. Date: Sun, 14 Aug 2016 19:15:06 -0700 Message-ID: <87d1lawzf9.fsf@gmail.com> References: <87fuq9xawl.fsf@gmail.com> <87bn0xxafb.fsf@gmail.com> <20160814012743.GB17421@jasmine> <871t1skp8l.fsf@gmail.com> <20160814164632.GA1754@jasmine> <87h9anw5hj.fsf@gmail.com> <20160814192155.GA3327@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ7Qr-00079D-35 for guix-devel@gnu.org; Sun, 14 Aug 2016 22:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZ7Qo-0007it-W6 for guix-devel@gnu.org; Sun, 14 Aug 2016 22:15:16 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:35876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ7Qo-0007io-Pa for guix-devel@gnu.org; Sun, 14 Aug 2016 22:15:14 -0400 Received: by mail-pf0-x241.google.com with SMTP id y134so2934971pfg.3 for ; Sun, 14 Aug 2016 19:15:14 -0700 (PDT) In-Reply-To: <20160814192155.GA3327@jasmine> (Leo Famulari's message of "Sun, 14 Aug 2016 15:21:55 -0400") 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: Leo Famulari Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > 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 > from 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. I see! That's useful. Thanks for the tip. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXsSWsAAoJEN1AmhXYIkadSHQQAJT2FotuxvxUi4RM2mq749Wd J/xyZAksWhHPzZv6rP5+v1V1QawSAu7ecOK5Q2TKQ+KZX7RfT58nmdw2GXrmOFUO v9SmnITGjIkDTq0w66Am8RgjsFd7WRSvM0er6U/RNBR+oP5sxNAknZWAS8FACIbh nin5hinHBHqUUV0oakZGvueF/Vr35FDB7ip/4/LzyqTTdP7U2jLh4/L7iiXW4LrX CER/77SH+2p/cX6ZvxDFQde/IdAJZFQE/RJAoXszp69PxxzNVYlRlk96vRZNZ9Ow Ml0EQy/7o8R2rgD5gBvSilRV7nOnc9AxPN5jr3emN13hDryFmLdCqYV4OEx3dO4l 8GOLXarw6qEGZd1tFnoMktA3DgoLIigw4cgDqibod/G7QhwYqBkC0iL0aZJfT1Vf Yq5PZ/9H1gLuLagNwZP/cXc+bcRQXgXKu8RtyRKPi7Nwx7BOb0k5aQJcKeiHEUAJ QL1u0C18cLYH0FrvWalJ1JYOkal88RtiITP3G4rFduanCYQzWwB2LxLHWSk2QBEn Y/p9aS6G2s16KGJ3IM5HmHhyvAUOeohDSNciKPvJHGYNSK/Aqdx8t81I80hcMuck DQm913J/zRNoltJcW6Eml2nD7d5fqNHyfsuedUz5q9gRQWcuhqgbfwb/DTo0vVue /pH9fWluh2SiB94MsFOv =lbmN -----END PGP SIGNATURE----- --=-=-=--