From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: create a symlink Date: Fri, 8 Mar 2019 09:15:32 +0100 Message-ID: <20190308091532.48fbf293@scratchpost.org> References: <20180419082632.133ccb70@scratchpost.org> <20180427170848.23d95667@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/I+i8vTF2x5HNh42pka4J3Eg"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2AfO-0007vA-Hs for guix-devel@gnu.org; Fri, 08 Mar 2019 03:15:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2AfN-00053S-IZ for guix-devel@gnu.org; Fri, 08 Mar 2019 03:15:42 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:35608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2AfN-00052N-97 for guix-devel@gnu.org; Fri, 08 Mar 2019 03:15:41 -0500 In-Reply-To: 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: Rene Cc: guix-devel@gnu.org --Sig_/I+i8vTF2x5HNh42pka4J3Eg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Rene, +++ b/guix/scripts/system.scm @@ -1151,3 +1151,5 @@ argument list and OPTS is the option alist." ;;; End: =20 ;;; system.scm ends here + +(install-hurd #$hurd) That is not going to work there. #$ unquotes from a build-side g-expression (similar to what "," would do in= a quasiquote). You are not in a g-expression at the position above. In order to enter the g-expression environment, you could use #~ . That would give you a lowerable object which someone has to lower in order to get a derivation for it. Then someone has to do derivation->output-path in order to get an output path for that derivation. Or put it into an existing block with #~ . In your case, I would put the (install-hurd #$hurd) into a bootloader module, I guess (inside "installer" there--which has a #~ ). What is supposed to load the "/hurd" that would be created ? --Sig_/I+i8vTF2x5HNh42pka4J3Eg Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlyCJKQACgkQ5xo1VCww uqWfcAf7BtvTJ5fS4YihwX7WywDw4Zp3/QLB46DyHRKVFuvLXy4BOPnwWJ6dmu8P iZAlreeC4VKLiOoruqe6xNMkV3g+/7EkKiRFDBx/7qN/ikZYt0YvI1uvbm3FHwlG IkZ+xcVue+gM5eHbxEelVVRai9Wj2N9cl13HBpnDJGR+LnMvPOHQKkac426kRCtY L0CnIVq7491b/KDJHiGROkwCkCBx8aT1A2JaepcVIiR1KvyXog/SagN5qkK7Kb6w jn+6nCxYjwBSz5l7UzBXSkoe5Gct7eko7jKg/0UuXiisbkZAFfvWhuY4wnszteMq lc2MflNGhbm7Ho3mYdDUNJEihGXh7Q== =oE6v -----END PGP SIGNATURE----- --Sig_/I+i8vTF2x5HNh42pka4J3Eg--