From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8NNOLr16smXQgwEAe85BDQ:P1 (envelope-from ) for ; Thu, 25 Jan 2024 16:14:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8NNOLr16smXQgwEAe85BDQ (envelope-from ) for ; Thu, 25 Jan 2024 16:14:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=p.atriar.ch header.s=dkim header.b=tDXV+Tc0; dmarc=pass (policy=quarantine) header.from=p.atriar.ch; 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=pass ("simplelogin.co:s=arc-20230626:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706195645; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0/FnCP0Y7uC7j2VmUIfNcybVbaZTJOfSrV6HphTtqPY=; b=GuzJnUo5NwoRFBHKLexVJ7LU/tyLLxt+WAEMGZ0rDbTiVE1C8h+6ayxkHReVZAW6sFs+3O bxn13BBaefdhNMHv+k+hDXgreyxjz/Rsw+SmaaOteQRkZiesHiMvrL48zX8op/3jy89Vjx 6W5dyr0ZM0aoS/UIWjO8L3xoB95br2RO/lHC7ef5OYd8THOKQRx1SGAzGO3q7u/CDk7Nqk lBFNn7OmWKTj6CD62l6nZwzyzYbV3Dcg/HGkRlPtzLtujGhsVX8MJ9su57cYJVuKZgDWFM XUj5KUxDDCa0reP39HWqKRmWjkLEkJcXEJ7Q0hoRxekoLVRKqviyuBurNEQP2Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=p.atriar.ch header.s=dkim header.b=tDXV+Tc0; dmarc=pass (policy=quarantine) header.from=p.atriar.ch; 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=pass ("simplelogin.co:s=arc-20230626:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1706195645; a=rsa-sha256; cv=pass; b=YmI3T0h+AU+maw7+NhTnyutwjXf7FcrsaWDU+iuYq8l7xVMZry4T1XFxKhphQbi/88EJwy KQxu7pTms1unR6wu1/Hi0GnSSaMe0ztFxf82PMYSs/NWBTN56BQlFxizWOSDYtInzl/NXI ib9p7VCHn7QgI+ubLbssukCOV4T5GTGpy32Y/pW1yQ2KqIRoGJP3QNJYVzA5GJ5w3V9OdR orVOJmaH1qV8ywGOKX57qTN7CCAg19NJHhYaxuje60eT4/KZ/+Ze3pK2bLBMgMsxCra6lO /Ud4rhmkMbbW/0MCe0gmsk7L10k6pVlJgHaefcZYACJqqNWpdL4NUezxBccu3w== 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 4DE18208C3 for ; Thu, 25 Jan 2024 16:14:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT1QA-0001WL-NM; Thu, 25 Jan 2024 10:13:38 -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 1rRc5O-0005Ep-K4 for help-guix@gnu.org; Sun, 21 Jan 2024 12:58:22 -0500 Received: from mail-200166.simplelogin.co ([176.119.200.166]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRc5L-0003fI-38 for help-guix@gnu.org; Sun, 21 Jan 2024 12:58:21 -0500 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1705859483; cv=none; b=evcEgldp86b1lu5JNYc6W7zeG7vTWmI+LSBEYrhlVXY3GC2oLMCjIdQF0HHuj4f0to5S+BDe7s5++WprYS5vrjER97CgukCrSpR3NAsSulx6n78lQfX5AQ6py/CemaS8hOGaGmLTluwGrhnMF8/oja06Mq7vk7Ecu8HLsSCcF8CHa92vy4fxEQ1N2JcQ+U/YaUPOBjktpFiv1MSHC98jrbbhEGfrvsnQhPLqXx0NrZbZ/vaUj1LO5PHyuNc1SR9y0M5naZUwwDG91UuzexeXtWEraLpu+G2wtltU9N2YUkWDpttTEajI+0VygPzDel0k+JaFEvfafOu2Q7qjX3H36A== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1705859483; c=relaxed/simple; bh=0/FnCP0Y7uC7j2VmUIfNcybVbaZTJOfSrV6HphTtqPY=; h=Date:Subject:In-Reply-To:From:To:Cc:References; b=y5hBdHU2owRRhQO/4tqteHJD+249aIkpxPRkv8kSk/5Y/9YI1Z8//tftVvEn1t2AHb7Wry25OYSxKB+SRm9eA7fZRnoQO6/EjGXhIDoOU0A1kIPFyrvZZlrSAb5oKvq49N69zctZys0FQlBeSuzZlLkdIrjgLjXxdDn1fS3h8UJRKpdqZPHjMOdwbxfzXfe6g88NgtTTTSfYccOYDHwgmM6k79YktPBFeYKFGhfmNmudvS/kPsvQg+GE6CCbFseHwAWilosJQv/YSVWoh5H5oLOFXyNuWRXWuZfnZ6F8J7OgwHWPMhk7BN0bBnzLT30dDkW8h5d2lgSlWRkmFWmv0Q== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=p.atriar.ch; s=dkim; t=1705859483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0/FnCP0Y7uC7j2VmUIfNcybVbaZTJOfSrV6HphTtqPY=; b=tDXV+Tc0uvp2FwCSnsztL6oaG6RN7MC2M+YRbDSTGVldxdR5/fXP+CcVprYZPrVp/vE0Dz F+e5Km3Crw1MtyLuSFJIJpVaACsdcWwHCyGNz/vlerISrSp1Z8M8JnrrkiwdVL//Pufxzf uF0x8Vzesi6zR9u6Xhm6hwRRUTYnvzc= Date: Sun, 21 Jan 2024 17:51:13 +0000 Subject: Re: Trying to create a .zshrc in guix home environment referencing a zsh plugin In-Reply-To: <55kugerbdhlv6s3i57rb76jd2aje3at2njah7kyywjv534bn4z@dlyqj2bi53fp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: =?utf-8?b?QWJiw6k=?= To: Saku Laesvuori Cc: help-guix@gnu.org Message-ID: <170585948233.8.8654404881504744379.252486561@p.atriar.ch> References: <170579271812.10.1715248237828604493.252163807@p.atriar.ch> <55kugerbdhlv6s3i57rb76jd2aje3at2njah7kyywjv534bn4z@dlyqj2bi53fp> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 252486563 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.166; envelope-from=sl.lmysyibsguzdiobwgu3dglbageydqmjqg4yv2.tch7uuepiujds@p.atriar.ch; helo=mail-200166.simplelogin.co X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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-Mailman-Approved-At: Thu, 25 Jan 2024 10:13:37 -0500 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-Spam-Score: -7.87 X-Spam-Score: -7.87 X-Migadu-Queue-Id: 4DE18208C3 X-Migadu-Scanner: mx12.migadu.com X-TUID: AI7M5dSHv/Fs On Sunday, January 21st, 2024 at 1:10 PM, Saku Laesvuori wrote: > > [reformatted] > >=20 > > (zshrc > > (list (computed-file > > "zshrc" > > #~(begin > > (reduce string-append "" > > (list "bindkey -e\n" > > (format #f "source ~s/zsh-syntax-highlighting/zsh-syntax-highlighting.z= sh\n" > > #$zsh-syntax-highlighting) > > "eval \"$(direnv hook zsh)\"\n" > > "eval \"$(zoxide init zsh)\"\n")))))) >=20 >=20 > The gexp passed to computed-file should produce a file when built > (evaluated)[1]. Your gexp doesn't create any files or directories, it jus= t > evaluates to a string. Try using mixed-text-file[2] instead. >=20 > 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". >=20 > [1]: https://guix.gnu.org/manual/devel/en/guix.html#index-computed_002dfi= le > [2]: https://guix.gnu.org/manual/devel/en/guix.html#index-mixed_002dtext_= 002dfile >=20 > > 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= /store/2dqwm651a0p0vqwhpvsy7dn8zvx4n99x-zshrc.drv' > > ------------------------------------------ >=20 >=20 > 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). This makes sense. Thank you very much! -- Abb=C3=A9