From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IAC4IvRQXmADSAAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 22:24:04 +0100 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 kBSeHPRQXmALKAAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 21:24:04 +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 E0BF910CF0 for ; Fri, 26 Mar 2021 22:24:03 +0100 (CET) Received: from localhost ([::1]:34748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPtw3-0008WN-1g for larch@yhetil.org; Fri, 26 Mar 2021 17:24:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPtvk-0008Vn-Ds for help-guix@gnu.org; Fri, 26 Mar 2021 17:23:44 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:45966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPtvh-0001hV-TI for help-guix@gnu.org; Fri, 26 Mar 2021 17:23:44 -0400 Received: by mail-pl1-x629.google.com with SMTP id l1so1534516plg.12 for ; Fri, 26 Mar 2021 14:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t3bA7KE+uh+G3BCrl7KjNne4tL3hj6+YTJuz+yZ/XnE=; b=El1y1V6gf++PHeCmyUELqRR1QXSP66GgCEvzxXh+KiCWXYYuPGwsaIZLzK6NYo46U/ VUwlisLM6wjOfQ5JAL86uTbJakuObDwoXsDY5H01Mge8IdeV+4o5aqtZOGEgh1WgeHT2 Ml9tmW/Vb3sxlVVCmQBU2MGIMcwKjQk/96hm48QIfGRpfTaCEJIi6XnfgYaabgvYok6M +1dZKUv+wqG9DvcTzxtMgsiN54m3Lf4iBBg4bvPKFrMDdEk6HfhQAe8fFoVgKfXVwT54 m0gxiwCy1Px1OJALXOcuvRho2qTIQ/xF3FpE6ID3hvbCUVxMXn05ElkSOpHLzcG4EvZI 2EJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t3bA7KE+uh+G3BCrl7KjNne4tL3hj6+YTJuz+yZ/XnE=; b=KayM5J8UHWV/tViO2CuL6nfxe4/CJmMtH0IyR79uzhhrkp4DSY7f9L5VvBbQ6vgWS+ Bg7GRy+pmoEAhXoCsyVFSAbiCbQzcsZUu0jgtdekbIzeyqoqn0RD/Runf3MGtgCACPYC YWyGmAcMKWJYGGeWrqD8R45QbZdYPLhj3S9GUkllT6mpugwvsFkJ15zlKC6dJ9nyBDBW RFPrk8btBOQeXQGKU3rjD3pbqxqWIcKRd28NGCtXyaOmeuVsoaQBxpRC+ipPVJFOCc9t MXqPnzWJfn2rWvJhedtjYU3jE/XnKNzOGwXej66iTceasivPFrH3Ppls2JRE8/FF5yob BU8g== X-Gm-Message-State: AOAM533B8gg5qAGJBk1edrl/AdonnsMkNFVCXkdogqaKwjyiUfW3PC+B OYORb50elpxO7Fc2qsGOKfS/WhmyMVwPc2HcfqA= X-Google-Smtp-Source: ABdhPJxIiR+83FPlRNTrpqr/HWjQSMWxRLzsQ6xzD+KQiahfAqaysDF1oP5iPo3zOz61EJtoskDwM9kM8v66ll+KXuw= X-Received: by 2002:a17:90a:4894:: with SMTP id b20mr15913128pjh.50.1616793820577; Fri, 26 Mar 2021 14:23:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincent Legoll Date: Fri, 26 Mar 2021 22:23:29 +0100 Message-ID: Subject: Re: Something like nixos-infect? To: ilmu Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=vincent.legoll@gmail.com; helo=mail-pl1-x629.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 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: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616793844; 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=t3bA7KE+uh+G3BCrl7KjNne4tL3hj6+YTJuz+yZ/XnE=; b=nStfP90R7d3EM1Y0M41H2OBjLnqAhhQEPwsOnbKIXME5vEvKMvsI2z7KX8b4p5zWOb0CHq hqcZuq7ZSqM/LL7PsDYeFbANP2Fag04P/rux3XyuBcQQwB+BpXb1Bi/Ko5nRqWcRrnLXNK zqwRNivQhOrLmb5FYNnsDLZSLZzR6GbI3PK5sdE9aWS9gnn0GctSubS79i9GCrtemoGXTk +gyGu5RI1a/d9CZXbqPfGFRXN6sQtn2v6mfwqtoo1TdUdB9lkwTMNOIFBN4PDv4RAGVSkT kXrxbQ69Lu5qELT2m+R3GU41Roamso4a1r8trdXq8VK+cMT6INj7tR8ioXT9QA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616793844; a=rsa-sha256; cv=none; b=PjviACCEh6nJK2P5J/s4FthP+mE9u2P+uzzEc/xq03ktHEKN/blQSL/aus6ABJ5ebs3Qsz x6sGsnTqzu1UrnW5GqDROfTXSBh41DTMcMhfTXAyM+VbgX9yDOVyu8QAQAuWBnPqeg61+c amSvU94i1n9pSKCXRUPaolQ+vz8kUacZyFXR5pTCcrFmHWWN6q3wokCt/6PACTtsMqpaPu 7sZJgD3W4dHC2G3u8Aqh4fefwTzFmIrzwFRlcyHVWrSWM38XtIjrrcqAF9NAbeIIY9cQy1 3JsZ2rSieEdxLOT2zG5zU6bdk9wD8ODAPEzjlHbl0S9RQyjCG9+0T3xsypiLvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=El1y1V6g; dmarc=pass (policy=none) header.from=gmail.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-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=El1y1V6g; dmarc=pass (policy=none) header.from=gmail.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-Migadu-Queue-Id: E0BF910CF0 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: zg8Nr+XUeC+u Hello, Since you didn't fully explain what you want to achieve, I'll speculate a bit... On Fri, Mar 26, 2021 at 9:59 PM ilmu wrote: > This is what I have: git.sr.ht/~ilmu/server > > The reason I'm posting this here is twofold: > - maybe someone already has a solution they can share > - maybe someone would also like to have something like this and appreciates the starting point I think you'll find something useful here: https://guix.gnu.org/manual/en/html_node/Binary-Installation.html https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh This could replace line 7-20 from your script, I.e. the "contamination" part, the "infection" is left as an exercise (and it looks like you're on the right path)... ;-) But maybe something like the following would be better suited: https://guix.gnu.org/manual/en/html_node/Invoking-guix-deploy.html#Invoking-guix-deploy Tchuss -- Vincent Legoll