From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EMonMHEfvWS0+QAASxT56A (envelope-from ) for ; Sun, 23 Jul 2023 14:39:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gP3PL3EfvWS6LgEAauVa8A (envelope-from ) for ; Sun, 23 Jul 2023 14:39:13 +0200 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 94C605427E for ; Sun, 23 Jul 2023 14:39:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FsSJ3TbI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690115953; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=BvPk6CjXfX1k/ZAZ+MDMSFebArqRQouJ64VtiYCBxKw=; b=RVCQtgvwBgZD3g47WvB9EcvJY3v9nIQX/ejIdCkPxWDQg+b8E1Ms3huwJbZEbPooipcOxU 1kXKsy9G6vgAHwXpys8A25RQb3ptUECM7XgNcAaNLP5OzBBlHUoevwJcd6OWteBM4/qwnL n2vuCXFfbv7khN33t4cBc9cuySMyk6+GUZV3DuNA9O0vn/VB7xHmzcs7AVmOIDsn9IJhtt FqqDVswMQVdiDcXH0/OF3PPDrgIW17h9INOE+PY8UTgpBD2btfDhUqkThBW4w/ohEwnGBe uP3HBHHM0MaCqkuJd2m1jW/wz2FlyzDwcdm9QEd5z1dT7519uughAtuZ4Ypsew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690115953; a=rsa-sha256; cv=none; b=QnQ3xmktE04hCsoQac5gcULaMgx0vdahf3sK/gdrm1emzv0r+6mb1BBMfh1iORbFHEyi8v /rkmRKkrDJWKISIsYFCi2iswk7sgo5NGUHghBD23Ow+JB81GPBsXnVEfYUmJ9iu/oY44zW syahkYwJVDpy8IeA8MSzYMsADTuHdRYvQFgY4Yy4sXBS1cnqP2S/hB0qigNanmAMXxcCl4 GNeBgrLJqDOOzY0TLgkQxYtxgyfkGoGRyKQ67uYeVkHRouqAQa1TsUXDwDJEBvbFhV/is8 mbCrzmpoq5k1AWWSIN6yJLDO9d/3ZfZq6mWdw1UGG5/QpCd8Bw9djNBaAklRgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FsSJ3TbI; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNYLz-00066Y-5n; Sun, 23 Jul 2023 08:38:27 -0400 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 1qNYLx-00066L-MR for guix-devel@gnu.org; Sun, 23 Jul 2023 08:38:25 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNYLu-0008CR-Hb for guix-devel@gnu.org; Sun, 23 Jul 2023 08:38:23 -0400 Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-992e22c09edso503973866b.2 for ; Sun, 23 Jul 2023 05:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690115894; x=1690720694; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=BvPk6CjXfX1k/ZAZ+MDMSFebArqRQouJ64VtiYCBxKw=; b=FsSJ3TbIqoO1FptRmV75rk7Kgw8tD4Oc4MmdSjt+aVKjGgLbuLHkTliwnNtJxrZEaZ ZAZghpG9maN6B/QTsg9z8irE98JnGOpTdsP5xEoZUL9ybB2nmxN3cxjPSLDAFKfflg2o 6x8qYChYZh3azyqh+2Kkftuh8YMNt/FIN6wH/ZtYMEwIUshryZsaKaG1Fmhvxs1KZ4bI l/x3gaXbO4tS9SjmbRB9qAE/p+wNaVFU6yJpEg9ICFtbgxyS4HcXe4vJaJujUUzSZQm8 Ui5/rltU8uyg9G1QO0je3W1MW8rVsWC3ziM1DjhHDF8sCGq0VAbd1Aeame/HHGH4M/NE NUdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690115894; x=1690720694; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BvPk6CjXfX1k/ZAZ+MDMSFebArqRQouJ64VtiYCBxKw=; b=icyrprOx5t9BxWCM6LS5HhftGbJBL0n/O+dZmZxlef/V3bZDqZ8tO6bjkOgjjHBpBY y1ofri08YJeSloUXN5Ok6WajcpL14yf7x3GYRFeNzwYwTqnDdZRxVKFJfXjQet2MJ1aN G/OE72dtHXnRuK1uKcLROnzTjRfPdS+F9wFY/maBl0RZUrI7SxGGHxgygwsghbVoGlOI brOKSRl9Z0tlLw8KA4GJ/hYEpozSDN7bjIBxiqkXIxpsQYuT2UDu5y267YHyBIL8WTFL GxhlwtVQHPgzELJ9xZ4wgqJCka2cmLhHssBeZqJNyA7z//4K6DpkJ2cepx9lYPuqMjAB v+RA== X-Gm-Message-State: ABy/qLakPs4Df+4+Cq9NBt/8fwsa1Sld+JMAbuYo+1/OcrZj+UQjBF0q vvg9cl4yVBtEXbvSW1aky1M74v6eCuMZ2Q== X-Google-Smtp-Source: APBJJlEPC1Ml7ORP52Ukcix+bSpIEyt+fc4SJGUZtxXjYTC1L5h4mJagyjQoKU1TvevMuWwiOgd5jg== X-Received: by 2002:a17:907:2cee:b0:961:be96:b0e7 with SMTP id hz14-20020a1709072cee00b00961be96b0e7mr6949121ejc.48.1690115894371; Sun, 23 Jul 2023 05:38:14 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id k8-20020a170906970800b00992dcae806bsm5092548ejx.5.2023.07.23.05.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jul 2023 05:38:14 -0700 (PDT) Message-ID: <2c43a4c0d8c180d816a462421b17986c5f0a02fa.camel@gmail.com> Subject: Re: Registering an artifact as root From: Liliana Marie Prikler To: Hartmut Goebel , guix-devel@gnu.org Date: Sun, 23 Jul 2023 14:38:13 +0200 In-Reply-To: <15775c12-28af-7d10-59de-34d1fc332b94@crazy-compilers.com> References: <15775c12-28af-7d10-59de-34d1fc332b94@crazy-compilers.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::644; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x644.google.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.54 X-Spam-Score: -9.54 X-Migadu-Queue-Id: 94C605427E X-Migadu-Scanner: mx1.migadu.com X-TUID: ojKttSITQIiX Am Sonntag, dem 23.07.2023 um 12:51 +0200 schrieb Hartmut Goebel: > Hi, > I'd like to create a symlink to a store object somewhere in my home- > directory and register this symlink as a root, to avoid the garbage > collector removes the store object. > How can I achieve this with existing guix means? (guix store) has (define-operation (add-indirect-root (string file-name)) "Make the symlink FILE-NAME an indirect root for the garbage collector: whatever store item FILE-NAME points to will not be collected. Return #t o= n success. FILE-NAME can be anywhere on the file system, but it must be an absolute fi= le name--it is the caller's responsibility to ensure that it is an absolute fi= le name." boolean) Hope that helps. Cheers