From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GBupHoPfRmD/DwAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 02:37:55 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id II59GoPfRmCiSAAA1q6Kng (envelope-from ) for ; Tue, 09 Mar 2021 02:37:55 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 2E37D1C739 for ; Tue, 9 Mar 2021 03:37:55 +0100 (CET) Received: from localhost ([::1]:34894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJSFt-00016h-Ve for larch@yhetil.org; Mon, 08 Mar 2021 21:37:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJSFj-00016O-NC for help-guix@gnu.org; Mon, 08 Mar 2021 21:37:43 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:34564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJSFh-00068A-4R for help-guix@gnu.org; Mon, 08 Mar 2021 21:37:42 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f0250bae; Tue, 9 Mar 2021 02:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=TE0lyUkxIeGkdTXaqMJS3LAK95KVk8/m+dYNROEaIaA=; b=ZrAjNHn Bp9CWZlg3cAFEB7FvmNe/7EYvaliYEo1vA5j0bVp2479u5id/OJ9d9ruTvWREw05 fBWUYqhh8HVFfBQ9r9EnZts7EIUKGGfyTe0u2v/mOditwxe+Axc9d4s9CutsoyQq mMdN6Cdgwx6MWGNaiCbcTp77FZk3XH8actZ7RQZneKMUXngTxRKDCBwr0zV9JuQz uQA8Yv09NKoscXj6UVN2QE1Kqc1pknndygO19YwZgDiuKru0ir2N/Z8MgSlRaulJ iGWZv/GmgL01f1jQ6kBD31moOQnjBbsxB68RdyyzydmI4FnioD7LZH7Aomd+SbLa othVTlEBPboT+uQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1bddf03b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 9 Mar 2021 02:37:36 +0000 (UTC) Date: Mon, 08 Mar 2021 21:37:18 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <9b91a6e7-7dae-e416-5afe-6ae2508cc302@raghavgururajan.name> References: <21a857a8-18aa-2102-04ab-561d5de68b7b@raghavgururajan.name> <87mtvero6m.fsf@elephly.net> <9b91a6e7-7dae-e416-5afe-6ae2508cc302@raghavgururajan.name> MIME-Version: 1.0 Subject: Re: Custom 'install phase To: Raghav Gururajan , Ricardo Wurmus From: Julien Lepiller Message-ID: <08D1CB82-A4EB-4B8A-BAE1-C4796D11404A@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx2.migadu.com; none X-Migadu-Queue-Id: 2E37D1C739 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: xU5WNN/Q9po5 Well, look at the location of that "src"=2E You have ("src" (string-append = =E2=80=A6))=2E That can't work, "src" is a string, not a function (that's w= hat the error message is trying to tell you)=2E Since you need two lists for the install-plan, you can fix that with: #:install-plan (list (list "src" (string-append =E2=80=A6))) Le 8 mars 2021 20:09:24 GMT-05:00, Raghav Gururajan a =C3=A9crit : >Hi Julien! > >> Maybe quote it? #:include-regexp '("\\=2Eh$") > >So I did: > >``` > (replace 'install > (lambda _ > (for-each (lambda (solution) > (with-directory-excursion solution > ((assoc-ref copy:%standard-phases 'install) > #:install-plan > (list ("src" (string-append=20 >"include/" solution) > #:include-regexp '("\\=2Eh$")))))) > (list > "qtlockedfile" > "qtpropertybrowser" > "qtservice" > "qtsingleapplication" > "qtsoap")))) >``` > >I get Wrong type to apply: "src" > >Regards, >RG=2E