From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: Building things other than Guix with Cuirass Date: Sun, 8 Oct 2017 14:02:24 +0100 Message-ID: <20171008140224.0a787f09@cbaines.net> References: <20170918215906.2c32b61d@cbaines.net> <20170919082445.GA26375@macbook42.flashner.co.il> <20170920065351.5054f5b3@cbaines.net> <87fubh28nx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/DBikHoH5t=AACOyPQSZeX_T"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1BE3-0004FH-Sh for guix-devel@gnu.org; Sun, 08 Oct 2017 09:02:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1BDz-0003fh-Ux for guix-devel@gnu.org; Sun, 08 Oct 2017 09:02:35 -0400 In-Reply-To: <87fubh28nx.fsf@gnu.org> 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: Jan Nieuwenhuizen Cc: guix-devel@gnu.org --Sig_/DBikHoH5t=AACOyPQSZeX_T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 20 Sep 2017 08:20:18 +0200 Jan Nieuwenhuizen wrote: > Christopher Baines writes: >=20 > > Providing these packages sit within the Guix repository, =20 >=20 > ...and if they don't you can set >=20 > (#:load-path . "/your/packages/directory") >=20 > (It says path, but means directory I think). >=20 > > I think there are configuration examples for building a subset of > > packages already (e.g. I think this is what the hello related > > examples do). =20 >=20 > I have just[0] added, next to the hardcoded "hello", the option to > build a list of packakges, to be used like so >=20 > (#:arguments (subset . ("hello" "sed" "grep"))) >=20 > Does that help? Thanks Jan. I've had another look at this, and I've got something working with my current guix environment approach. However, I've done this by getting the proc passed to cuirass to execute a command which outputs the job definitions (in the same format as the evaluate command). This isn't very elegant, as it means that the data goes through a rather convoluted path. I guess that the environment could be set at the point the specifications are created, but I'm not sure how to do that yet. --Sig_/DBikHoH5t=AACOyPQSZeX_T Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnaIeBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xcpdg//bPJTWriB4nii3K1jhvpmMh/2J/abaX5Un3XmiQ28G9XwsGM0Yy+lbiNT Gu3Waom8aIwnNjVxHftvgBHfyIZxwOfX2Tflgo8Slq+WvK0HSwfyLGUSHe5KuB2E +cThmSU0yFcnct/aWft9YpMBK2G1ttVji7LUCqd54h/gO0s++5W9XCuuh0JOXPOO 0zGhCeEdpclZ2R/O0yOHYccZ58XsHSBjB/xvZDYUjKF5pvPiY+GQRoPRB7QRAAq5 cv50alpCAZkdYdxInTl+jRpZewUr2ns/zANBN8phvLkAgrCMhAMi6oo8MRVPgJAh aP3FQIa358KjSuIG8b5K/ohFKgdDjT1d4mTDUp/oRlf1eSjzO50E2Co4I5r0h9cm rIyfS1v6lTnhl8I0y2N+TUISVvEZe3H/Ksvpf5nVuegZXJ3fcchaPDoZr4Ym/Wfz FImqdluCuEC9G9Ti6xPsMFB1drKDOXs4dkECCd6xZsYKsniGiFBufG2nhcLg07jI /Jpowassvlm9EHOJY38WnQd0auDnpvlhbAy6FmJOvyIspCCF3p7gWMW393NBTwwI G3GygND2PmjJRAxe0skXwc9CwdHXhHi7Yai1fMJFI4RmOt2yB+xtGH5rfPZ9MvEF rY0bjKZ8perNbaEbJIVwhKn1MtLfL2zPuVsntyPKMlQRwWX89KU= =4fzL -----END PGP SIGNATURE----- --Sig_/DBikHoH5t=AACOyPQSZeX_T--