From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SED9LhycwF8wSQAA0tVLHw (envelope-from ) for ; Fri, 27 Nov 2020 06:26:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MJrdKhycwF9lCgAAB5/wlQ (envelope-from ) for ; Fri, 27 Nov 2020 06:26:36 +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 F16399401C0 for ; Fri, 27 Nov 2020 06:26:35 +0000 (UTC) Received: from localhost ([::1]:47156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiXDG-0000el-Hn for larch@yhetil.org; Fri, 27 Nov 2020 01:26:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiXD3-0000dr-Pa for help-guix@gnu.org; Fri, 27 Nov 2020 01:26:22 -0500 Received: from mail-m975.mail.163.com ([123.126.97.5]:39538) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kiXCk-000586-L1 for help-guix@gnu.org; Fri, 27 Nov 2020 01:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=kq0Rs 1LP08gccYyTeaYV1G0KGrpp/xLDU4ifaU8pGUg=; b=i7jwgRQ+cKXlGWeIQFCq7 U/H3YoZ4cjyDEyz+cuTkdYnMIP54rFZwOdKBvr0fbdCcyKjnsuchWokuBbmgAihy /eEPw9zlejwcy23SqMKWo1lZmHIqXhBaHrMNeRE6yBqZ/QbrcqYhTcRnlG4kGNXH 4gBr5E6MWf6uIBWBntBbCw= Received: from asus-laptop (unknown [27.39.89.62]) by smtp5 (Coremail) with SMTP id HdxpCgBHU0_sm8Bf48yiCA--.95S2; Fri, 27 Nov 2020 14:25:49 +0800 (CST) References: <86wny7cupf.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: help-guix@gnu.org Subject: Re: Inject custom search specification into profile In-reply-to: <86wny7cupf.fsf@163.com> Date: Fri, 27 Nov 2020 14:25:45 +0800 Message-ID: <86k0u7co46.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: HdxpCgBHU0_sm8Bf48yiCA--.95S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUnxhpUUUUU X-Originating-IP: [27.39.89.62] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbB8Q7pr12MX-QqpQAAsM Received-SPF: pass client-ip=123.126.97.5; envelope-from=all_but_last@163.com; helo=mail-m975.mail.163.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=i7jwgRQ+; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-TUID: MJdKmJMFwg2E --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Here's what currently I do (use-modules (guix packages) (guix build-system trivial) (guix search-paths) (guix profile)) (define (search-paths-placeholder specs) (package (name "search-paths-placeholder") (version "0.0") (source #f) (build-system trivial-build-system) (arguments '(#:builder (begin (mkdir %output #t)))) (synopsis #f) (description #f) (home-page #f) (native-search-paths specs) (license #f))) And add this placeholder to manifest. Does Guix provide a better way to achieve such goal? =2D-=20 Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl/Am+kVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamgNEH/iHl6tdfqkp1+q+d0rlsHm36OhPX 9Y4jTcdc1MP2q8RNsoV0BwZHwsf5V8WI9z9zB3lr5GcLB98607kXed/q2fnJmjxg qKlfXWBEjKnCqVRZN5+buxb2yWLLWR5hKGWT0pL/h7iyq+Gxi6SIAMy2taMzzbCi tnf1pYSyf4dtXogjy1c/18g/ZbCuPLb/FK06XXdwPKMAMF8f2yU1+LNS3P51jpzi A0VRl5GGyC6WSYWVOG3eTaex03m67/dK8wJF1xIA5IAZD8JmHU6wikOW0/+VTvDW PYypU8VwJtfLzTcKG8gu8TQhoVlEdKURJXk8FZKuMWxHmHgR/mS8ZrmktuA= =iQkJ -----END PGP SIGNATURE----- --=-=-=--