From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gACAHaG74V5HdAAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 05:05:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +I59GaG74V7BYgAA1q6Kng (envelope-from ) for ; Thu, 11 Jun 2020 05:05:37 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 185DC940AC5 for ; Thu, 11 Jun 2020 05:05:37 +0000 (UTC) Received: from localhost ([::1]:39880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjFPE-0004nm-1m for larch@yhetil.org; Thu, 11 Jun 2020 01:05:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjCDF-0000ff-Se for guix-devel@gnu.org; Wed, 10 Jun 2020 21:41:01 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:18652) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjCDB-0007fh-Fb for guix-devel@gnu.org; Wed, 10 Jun 2020 21:41:01 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1591839660; h=Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=+Ut0pv5099xJrfLv0pdxBepoV6Duz3xS6w35uKfFES0=; b=C/94lNGyePMdCn16Zq9mXfyZJkJc4fvaTP3vng1duZxcVWqcWzg3mductCyxYQjplevPeykv ADYIyqBmCAaqxtYE7rdi80JstNIkyGX22aEyuXE+4IaFd4PmkK4s3rpLNWr1k4ufnV+f0HM2 uu1anw2r97mOYnYodEAi723GMIUKBqHSte5FzH/Klc+NssrfwnykpgYtYbCSgp4jfNQ8To8D 5AQvddI8YJ8sSm9GD2T34vdEcjPUg0U3nL6V6Bdpste4Fb/4o+Mun0UxMk1XVTyFZJ/B1Ukw TYwH7hELl0qV5qDfoUHr8jgHSo0HV8HzOvYEwBmcFbKz2R2fMZgehw== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIyNWJlMSIsICJndWl4LWRldmVsQGdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n12.prod.us-west-2.postgun.com with SMTP id 5ee18b973a8a8b20b80c5823 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 11 Jun 2020 01:40:39 GMT Received: from localhost (KD111239208137.au-net.ne.jp [111.239.208.137]) by wilsonb.com (Postfix) with ESMTPSA id 584F8A2B23 for ; Thu, 11 Jun 2020 01:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1591839637; bh=+Ut0pv5099xJrfLv0pdxBepoV6Duz3xS6w35uKfFES0=; h=Date:To:From:Subject:From; b=jX1f6lMRthOhqMrPwSNdwX1NH5mPshx5KR0oGNTfE2k2/A/ft7vkyg5Aym5lsIcp4 IFp3snPNu1Rg5SgSNwWfQQsLV4zEtZuZJQSR0guIDrz/5prbAkgGNtjZNwItWqpTG9 5TBAjL/XeaN7TvzgIj8XYS4r2XdPhB2wuDI0CbfHuYbySQlYPxdj4lrPcfG6ZrJrFO rW0xtnqLUvL+8cUJ4XWR2INMFnBmsP/4Jj3Ba9irlHhv3M/Nb2gUg2RaLzr1YtKjIu RASHv2ULzTWGCaTtEnweU7RI69qYlGodnz8PZKWweBVKAwwF7YN6PpXnA6g63GZJf2 CZrSPNAOZ9UVD4L/TWnGUnIihJdnK7xYG5pQTp3VBQTCiyJkFp6qp1EJfP7uMIVuDK D4nqBK3GixgW6AVZGmAgIy9xMqGiODIUsO49UB5aIqBLKlIDJVY1RbaquNy/MI0wsT yRcWeG4NKrUDExERQW0AdZdB3o+lixb3zeB0yrDCcbv+sezt3a/CbKMq3Pyi5sKv6c HZq5/RgYTAdaXaHa/veNvPbOe4x8toLIhTVOo8z4NItfsHomL68j02v0mZ8qh6zXNH 42Q8wII2kYYxpfLlE84kx6CB3fgDfrWxXTz7VDtNe79tlslIhJIb7DqEa4QI2FiEHc XK9S2axLsUh6WeE4IvT78SI0= Date: Thu, 11 Jun 2020 10:40:29 +0900 To: guix-devel@gnu.org From: elaexuotee@wilsonb.com Subject: Using --manfistest with /manifest files Message-Id: <338KGSFKQGP1E.23382XUCMS8T3@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_013c5c2c189797784337f953_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+ec9951.08547a-guix-devel=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/10 21:40:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Thu, 11 Jun 2020 01:05:24 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=mg.wilsonb.com header.s=krs header.b=C/94lNGy; dkim=pass header.d=wilsonb.com header.s=201703 header.b=jX1f6lMR; dmarc=pass (policy=quarantine) header.from=wilsonb.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.81 X-TUID: zju0jNaJX8h9 This is a multipart message in MIME format. ------_=_013c5c2c189797784337f953_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_185e1a6e0e5c8d82001dc945_=_" This is a multipart message in MIME format. ------_=_185e1a6e0e5c8d82001dc945_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In an attempt to tar up the *build* environment for a package to share with= a colleague, I encountered this: [env]$ guix pack -m $GUIX_ENVIRONMENT/manifest (manifest ...): Wrong number of arguments =46rom playing around a bit, my guess is that the `/manifest' file= =73 are just human-readable serializations of objects and don't deserial= ize back: $ guix environment -m ~/.guix-profile/manifest (manifest ...): Wrong number of arguments Asking around on #guix, user leoprikler suggested a workaround by putting t= his in a file: (call-with-input-file "/path/to/manifest" (@@ (guix profiles) read-manifest)) and feeding that file to --manifest. This works as intended. First, am I missing something? Is there a better/preferred way to make use = of the `manifest' files in profiles? If not, does it seem reasonable to make the `manifest' files automatically deserialize into the objects they describe? I think this could be a fun, si= mple project for a Guix newbie like me, but before I start figuring out how to d= o this, I just want to sanity check the idea. Cheers! ------_=_185e1a6e0e5c8d82001dc945_=_-- ------_=_013c5c2c189797784337f953_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXuGLhxccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7CgQaxAP49ggAnK0bASAM2/U+sbeczl/to YD9cnH3UqCQKj3qBjAD/em3nInStb3djch5kPouS4hcmFsLAWVyp1v7mkVrzMwk= =ueXT -----END PGP SIGNATURE----- ------_=_013c5c2c189797784337f953_=_--