From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aFuBEMgJrWVkAQEAe85BDQ:P1 (envelope-from ) for ; Sun, 21 Jan 2024 13:10:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aFuBEMgJrWVkAQEAe85BDQ (envelope-from ) for ; Sun, 21 Jan 2024 13:10:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=UP95RpKK; dmarc=pass (policy=reject) header.from=laesvuori.fi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705839048; a=rsa-sha256; cv=none; b=Nfv45Y1AjCvJlvGmrhYVfNCQiM+5L3qSki8uUcTTEHw0hjP5U/Q3yrXmXps5tRIub4JtYH 7gHF2zxg1BJtxLU080Zy23hbAvbq08O21YMdCzmdNIqDDXC/qYreF6Qux8IEQ5HDURRVGR mNB+6auL57VXE6LFE0g3TjvqoTX0KOOLx1CHPFjzlOVOnQZHfMIfnOT/jJMpnyXVQ+jz7U lmLidSO75J01wtIYvUjCWBwC9UpxW//qLInx9+I2q6sQcCvZsY1KvAYKlWavQa4Gsl/s70 vK4tPe/848SziAFcq136gU/wjOza5vvMUDUnuOAOZmu7WJRcx/fIMV4PCCzMVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b=UP95RpKK; dmarc=pass (policy=reject) header.from=laesvuori.fi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705839048; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w6qEvKQHBmjSNViPXId7/UWgjuwI4YBXQ42EpyDwqsk=; b=Na1ivDd2ECCAtN8i+GuvGeAqiFsI6aVu49PAzJfLYXODQHCcn1RYRa1apjoATbCWZ/LmAb 7RUJqPBbZ7zs4r7AE+FBBPu5x/WRkoEn3czlM8QWTMNJH6Ji1Ou25hfdEWPCIBjJyqcsUd /BtSF+FsYDd9aoKRaf6TGehYRoBl7ssR8BWyzm3bmvvlAmNQSry059r/cjXVp4Bm6kkrcN 8qzZk0UkFQJAAVaVPhBeJPmb9iTDldenJ4Vdljt2nNXlOJKyNTA07ogdZmWi3+PzXUmw9E /LSjFlRB8/mruqGKH/Tt5lwlm9sVuh6sZkupWe1SJHRYDYgUUM4CJqX/C13SpA== 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 2BD6F25713 for ; Sun, 21 Jan 2024 13:10:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRWea-0002F9-Qb; Sun, 21 Jan 2024 07:10:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRWeW-0002Ep-M4 for help-guix@gnu.org; Sun, 21 Jan 2024 07:10:17 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRWeU-00083q-VV for help-guix@gnu.org; Sun, 21 Jan 2024 07:10:16 -0500 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 2806D3400DF; Sun, 21 Jan 2024 13:10:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1705839035; bh=xEdI1Ey78lz9Buvl+OoawsCGH6tVBrbIa95Ztiv0Qmg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=UP95RpKKTf8Lpuc54pqOxcL6j0UPBD8msA+w7LsDk2vhFDbEwi1JnPzP6Ge2bEMej v3cMm4p6PU6medEDAKLcn1Qgc+I7bAvGwwq4WzJ6WF8z8cayUZSM/QoKX1tlwtgE8R xu4gFx3kZI1TFLuuiyxgGomJ0JpBl2Y8btcWPxDQ= Date: Sun, 21 Jan 2024 14:10:06 +0200 From: Saku Laesvuori To: A Cc: help-guix@gnu.org Subject: Re: Trying to create a .zshrc in guix home environment referencing a zsh plugin Message-ID: <55kugerbdhlv6s3i57rb76jd2aje3at2njah7kyywjv534bn4z@dlyqj2bi53fp> References: <170579271812.10.1715248237828604493.252163807@p.atriar.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3j24l6qvgae5uz4x" Content-Disposition: inline In-Reply-To: <170579271812.10.1715248237828604493.252163807@p.atriar.ch> Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.97 X-Migadu-Queue-Id: 2BD6F25713 X-Migadu-Spam-Score: -7.97 X-TUID: R5gXm9deEPrZ --3j24l6qvgae5uz4x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > [reformatted] > > (zshrc > (list (computed-file > "zshrc" > #~(begin > (reduce string-append "" > (list "bindkey -e\n" > (format #f "source ~s/zsh-syntax-highlighting/z= sh-syntax-highlighting.zsh\n" > #$zsh-syntax-highlighting) > "eval \"$(direnv hook zsh)\"\n" > "eval \"$(zoxide init zsh)\"\n")))))) The gexp passed to computed-file should produce a file when built (evaluated)[1]. Your gexp doesn't create any files or directories, it just evaluates to a string. Try using mixed-text-file[2] instead. It is not relevant to this error, but I think your path to zsh-syntax-highlighting.zsh is wrong. In my configuration it is "/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh". [1]: https://guix.gnu.org/manual/devel/en/guix.html#index-computed_002dfile [2]: https://guix.gnu.org/manual/devel/en/guix.html#index-mixed_002dtext_00= 2dfile > And I receive following error: >=20 > ------------------------------------------ > $ guix time-machine -C ./channels.scm -- home reconfigure config.scm > guix home: error: reference to invalid output 'out' of derivation '/gnu/s= tore/2dqwm651a0p0vqwhpvsy7dn8zvx4n99x-zshrc.drv' > ------------------------------------------ The error says that the derivation (created by computed-file) does not produce an output named out (because the gexp doesn't produce any outputs). --3j24l6qvgae5uz4x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmWtCZ4ACgkQJX0oSiod OjIPCg//VQX1Vg1cgm8nhJSfLjNiodqOU9OFZU4MexB4zbRRVfn/fvfkdbGYmOdl 757E8oDQCbkDfN4uw1b5yGOuru3I1SVHGMM9rn0rwCcR+WNgqxqxDonrP4qKMHb/ gj6wpbC0sDf0SC17BCPnvwNjLhzavalBAzgLlRe707UC5arzivdcHRRtCio/1Z4h fU806N9GvbAZh7WucdBi3lzvRT9GrKB37STSpz8avdXNlXH75N6pxCL+7VthOi/i tm2PKdhJAbIF2usXYZHGixzXLktY2fE/0ba2js6c1S9RwryWzKiVjlF6qlQc1yXc dwEiIun4UV2EkvADZ3zmtfmsskLUancR3u9hYDlHrNALMi7iYiy7khJQWQCH2+tK eJH3E35U+bHRK9C8WLp72/nOypvRmHkXRihKOZdwyga8eLwxFVkCmbUj3ot5h0+B cFSWbMkuFI7L0899EV8Biic98N3boUT3t/+xN8i4mI0c3wU9gKgiDuUfZcG+C1mr GlgJDOTVM2WpyyCog4YaCpnRu14FBjJmf6CyrMsMNxmuNqJQNbF00isB/voZmOEB o+aWJD9PonqFWxL5tNH0PNfW18EjV4f6R282T6ZpFm22XPiT33KRh5cLT7TrR3HV NbS0JwHa1yyKSWVCM+0+7SieycwJ5UB60kFXQa6LMKJCqLzYK8I= =Abp1 -----END PGP SIGNATURE----- --3j24l6qvgae5uz4x--