From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EHhfIgcxMWFH0QAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 22:16:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mE6cHQcxMWGvBgAA1q6Kng (envelope-from ) for ; Thu, 02 Sep 2021 20:16:07 +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 EC39612E0C for ; Thu, 2 Sep 2021 22:16:06 +0200 (CEST) Received: from localhost ([::1]:48600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLt81-0001ul-88 for larch@yhetil.org; Thu, 02 Sep 2021 16:16:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLt7X-0001tr-RI for help-guix@gnu.org; Thu, 02 Sep 2021 16:15:36 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:37413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLt7V-00063z-Uy for help-guix@gnu.org; Thu, 02 Sep 2021 16:15:35 -0400 Received: by mail-wr1-x42c.google.com with SMTP id v10so4865052wrd.4 for ; Thu, 02 Sep 2021 13:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=f4pFXFp9c7nus7kizFiunvjNz3fCNsfknQdxW/+BfaA=; b=S5CRk+Dab28VSax59+y9fwjaezAtZRno+m0UjOn2/s/vp1Zpl1PoyoO90cFozEG0uQ WjFaGoE2xvCL15WrQ3U0cQrzE5izShX0orxuxyYJ8KHdsKAt1HH7gNnIHWwv90qvWrgs tT5sS1/1ja50XJFvkzgQnTLHegJO3gXb3CGSfyw2G8XK/Wo1nvPBf4IXIbG/f4KOQfsq qYfZSwk2odmGcv/13nudjM+I0ndr/F33S+YQXZ7ws5guKi5A6ttf1aMLKr/wj9CLkcqf 1ZHU75SPeD+v63Bpz5sACpXDBCmwN6Kz1dnv8R6ejyIFj2TDZ7sjyc45xne2/O6Tambp i1pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=f4pFXFp9c7nus7kizFiunvjNz3fCNsfknQdxW/+BfaA=; b=TEA2NM7ExnPradAyQyfV/U/mDX8S8z3TG9+SKBsmhuR+lcLLb7P6olU6s+mm8k/yLR FpzauW2PlcToYoZLSIuTHHEuZbrGD0ZSVb7tXBCzxo2ilF2Q5RHP2NBQ34jXwnL1ddog PavCVmSANy2DJtLTkNQXJG6XXaGR5GDI6Y7a6k/vQTq4tNJEzaBSrQWZSVHaGtpCJ1VP 8ErdcvCCl9vyhvdm//J5vGxWawfyqmd8QD7YSgOCyAKb+8doz1t/qM2HOy6MUijP1j6b cqWoYwPfFeH0+aBu59qKFSaF8rUroxCPn+vzUHHkhSXtQJcCAqpMaSy76KpVzq58oEmY +bng== X-Gm-Message-State: AOAM530Ec4lzqNqQOgP02C/GDCFewO+B1nuqvz9uueVGLqJ/VWS55siG BbKg8h9r6jvDEbBAq8lCFjW/c9a8AYWrCw== X-Google-Smtp-Source: ABdhPJyo/W1IoU6EPB82w2q9rPg9zY7rM1Dv/EFC+9kbe1KLcS1L47mvR954o7AIPH53JLWviIaTJA== X-Received: by 2002:a5d:4647:: with SMTP id j7mr38773wrs.149.1630613732391; Thu, 02 Sep 2021 13:15:32 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v5sm2657204wrw.44.2021.09.02.13.15.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 13:15:32 -0700 (PDT) From: zimoun To: Andreas Reuleaux , help-guix Subject: Re: guix on a debian system (with packages from experimental) - recommended day to day routine? In-Reply-To: <87mtoz695b.fsf@softland> References: <87mtoz695b.fsf@softland> Date: Thu, 02 Sep 2021 21:58:40 +0200 Message-ID: <86zgsu21hr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.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: , 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=1630613767; 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=f4pFXFp9c7nus7kizFiunvjNz3fCNsfknQdxW/+BfaA=; b=AODez95rySmtojyOU2M2+Z68gWlLfb1dzNDODrNoT2SPjZ2Y5pAQ6qzohzSPWdTMmTnXbn rTq+9/L3poFaatM0NKSv4wNhqX9QR33Sa0niKXM2xTG40Zm10LvgjxIdjXxk7On6pt36wF sImgYsBH9s7ktqicp/vGN3VgNER8P/eUj5lCiGGiC/zQr5a4r6V7+xts+jfIkkZ5+EsM9t wEWk6N48trdwu2/NauIcez18RxSmrWLm1uW2Hd/7IdZ7H9wKBCxfuxQdh1gZ/KbPUnfMdX ryLocJR7gKHMYhgg5U3PwN64yNmendcd20qrKhbYpLeSHudsINq+vbEIrwu7Hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630613767; a=rsa-sha256; cv=none; b=XbkBn7Pv6cXHJfCN/Uw+HMP6lLD2LNmUaE+YL3FRlKsH/kOuVuOjPL16Syy+wpoKll+MzG gno4O110v2T0PbnEzeqzizZAjJMB00VKv4dvnyGTJSDz2iN7axZaYanI+pFXkIZefJ2Qx5 51pbw5F4lSJIz+nTAc16cDa+1UYykNvk/uvNLEztI5sgiemkzZbg2U+e1i8hvhu6FKlUy3 7uXaCv+4V706JgwHSehSj1RtbRpyiBb7cmPrCsxt2gx3S54yUQIdi2OBtN5t9122sNVgY7 9NuMY/+XBGgnb/3En6fUiiDAgDK6wXZqkjoPOoXg7rIOSKbx9+IEkd09wOUFyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=S5CRk+Da; 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=20210112 header.b=S5CRk+Da; 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: EC39612E0C X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: I1rniPsPueBw Hi On Mon, 30 Aug 2021 at 01:58, Andreas Reuleaux wrote: > Now, long story short: I wonder -- two things: > > (1) what good is the debian /usr/bin/guix at all for me? - and I am not sure to understand the question. In short, /usr/bin/guix is not useful for the user because the user uses ~/.config/guix/current/bin/guix instead. However, the user uses the daemon which is /usr/bin/guix-daemon. Except if you changed the SystemD configuration. When you run =E2=80=9Cguix pull=E2=80=9D as a user, ~/.config/guix/current/= bin/guix is updated but not the daemon which is running with root privileges. To update this daemon, you can run =E2=80=9Cguix pull=E2=80=9D as root. No= te the daemon changes really barely. You can also update the daemon with =E2=80=9Capt up= grade guix=E2=80=9D but I am not sure Guix is often updated. > (2) what daily routine is recommended for upgrading/reconfiguring my > whole guix system, with /usr/bin/guix perhaps - if any routine at all? > > Obviously, the > --8<---------------cut here---------------start------------->8--- > sudo guix system reconfigure /etc/config.scm > --8<---------------cut here---------------end--------------->8--- > step does not apply, as there is no /etc/config.scm now on my system > (it is running debian after all). I do not think it makes because it is Guix on foreign distro and not Guix System. > Should I try to do something similar nevertheless once in a while? > (and as what user: my unprivileged rx, or as root)? Well, running Guix on Debian (installed via the script), I do: $ guix pull once a week or more often, then $ guix package -u when I am in good mood. :-) Every good Moon phase, I do as root: # guix pull # systemctl restart guix-daemon.service=20 Aside, I recommend you to read: Other said, my default profile ~/.guix-profile contains almost nothing. And I have several profiles living at ~/.config/guix/profiles/ which I update time to time. Then I also have profiles living in the folder of my project=E2=80=99s directories. Also, I declare the packages a profile requires using a file manifest.scm then I store =E2=80=9Cguix describe -f channels=E2=80=9D as ch= annels.scm when I create the profiles. It allows to recreate elsewhere with: guix time-machine -C channels -- package -m manifest.scm > Clear some cache maybe, etc.? Time to time, I run =E2=80=9Cguix gc=E2=80=9D with various options. Hope that helps, simon