From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eOIjHXlmd199ZAAA0tVLHw (envelope-from ) for ; Fri, 02 Oct 2020 17:42:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kLssGXlmd18yDQAA1q6Kng (envelope-from ) for ; Fri, 02 Oct 2020 17:42:17 +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 F32759402A4 for ; Fri, 2 Oct 2020 17:42:16 +0000 (UTC) Received: from localhost ([::1]:42264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOP4Q-0006HR-CK for larch@yhetil.org; Fri, 02 Oct 2020 13:42:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOP4E-0006Ct-Lm for bug-guix@gnu.org; Fri, 02 Oct 2020 13:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOP4E-0003pd-B2 for bug-guix@gnu.org; Fri, 02 Oct 2020 13:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOP4E-0001H2-8D for bug-guix@gnu.org; Fri, 02 Oct 2020 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43744: guix-install.sh should do more first-time setup Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Oct 2020 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43744 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 43744-submit@debbugs.gnu.org id=B43744.16016605164884 (code B ref 43744); Fri, 02 Oct 2020 17:42:02 +0000 Received: (at 43744) by debbugs.gnu.org; 2 Oct 2020 17:41:56 +0000 Received: from localhost ([127.0.0.1]:42460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOP48-0001Gi-15 for submit@debbugs.gnu.org; Fri, 02 Oct 2020 13:41:56 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:41095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOP45-0001GU-GQ for 43744@debbugs.gnu.org; Fri, 02 Oct 2020 13:41:54 -0400 Received: by mail-qt1-f173.google.com with SMTP id j22so1930867qtj.8 for <43744@debbugs.gnu.org>; Fri, 02 Oct 2020 10:41:53 -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:content-transfer-encoding; bh=IJ/gVwUhLi/U0JCKb5lUJSrMQEg5p7I9kkb+5HSivnE=; b=JhxhOA8cVCYHWPCr5yCwz+cW/z6VUtrjPUbmsX1IE54te2fJFfbrdhBbSMn9itUa5S VP9hq2yeWI0KP0ZGbQyubE0EadHu6inmolIqHo+g/vgE894Klia1Qa7y22L9SOwsLJn4 pa8bZgvKEKg9Ecvcpp/8yVeHOUBlJtIl40GGy8++bBDtY95MyfmwevUkRCG4eJCS8zfB MpQf5Lexo98Jz4FbBXJPdC4jTiELvD0FLCiDBNWyk8NMp8L8E11HJG0u8IED6DBXq+0B 4ft3avBRxPCdrp4AUhiR4s2Imq9qEreQn982zGYSbsutU3ls2v9+seltX1aV6A/gSa+I 33cQ== 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:content-transfer-encoding; bh=IJ/gVwUhLi/U0JCKb5lUJSrMQEg5p7I9kkb+5HSivnE=; b=fYZH22rEYGRdEDgVlGqbFKW9GKnocDyn/Ynr569SFHzQMxa9vUaOuelxGAy2U1LebG ZzjZ5ULe1xf4vj8EFEFHGK2ZdO7OfwHHf9A7SVVYRagBO2onhjghvfLqfrhI8uQb+9GY G2c4/pqIPeNZYN4ar/zJtgSsyjbPNH6zvcY/qkdNHB/GmaKRnB9/0Hhe3GuRuJLewFHM 8Mtpr7LQu00Gj80vBXRau+OsmOI+zIXR86srUz701Rn57BOiCvLAzpa+aOL9u934bBid nUTuisEv+YgsSvf/80LIbn0YnHmGi+X40RH3LGk1lk2UnZ4o3Si6msLCWQHgGZU8boMe b/lA== X-Gm-Message-State: AOAM533IWfYLkawhZ5+q42bDh5UoifH7RDWDKvEnGocMGDrqtCyTDsRG DLV2Not46v/mfFjXfuPmtwJwgcRiGL8vt1yJOTo= X-Google-Smtp-Source: ABdhPJzVmjXf7XNNFSf4uOJFIqAcLbYFpusPmL+wooqbBz6exYfBb9harm8AvrhideLg2dx91nW8TYiT4Ja/PnEaKhw= X-Received: by 2002:aed:2fc5:: with SMTP id m63mr3295790qtd.313.1601660507907; Fri, 02 Oct 2020 10:41:47 -0700 (PDT) MIME-Version: 1.0 References: <87362yt99e.fsf@gnu.org> In-Reply-To: <87362yt99e.fsf@gnu.org> From: zimoun Date: Fri, 2 Oct 2020 19:41:36 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43744@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=JhxhOA8c; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: maicS2OPyu95 Hi, On Thu, 1 Oct 2020 at 14:35, Ludovic Court=C3=A8s wrote: > 1. Installing Bash and Zsh completion files globally (actually making > them a symlink to > /var/guix/profiles/per-user/root/current-guix/etc/=E2=80=A6). > There seems to be +/- a cross-distro conventional directory to > collect those, for example /etc/bash_completion.d, no? The script > could create that symlink, perhaps asking the user to confirm. Done in patch 1/2 #43769 [1]. > 2. Adding the following lines to /etc/profile (taken from Guix System): > > --8<---------------cut here---------------start------------->8--- > # Arrange so that ~/.config/guix/current comes first. > for profile in "$HOME/.guix-profile" "$HOME/.config/guix/current" > do > if [ -f "$profile/etc/profile" ] > then > # Load the user profile's settings. > GUIX_PROFILE=3D"$profile" ; \ > . "$profile/etc/profile" > else > # At least define this one so that basic things just work > # when the user installs their first package. > export PATH=3D"$profile/bin:$PATH" > fi > done > --8<---------------cut here---------------end--------------->8--- Hum? It looks like 'sys_create_init_profile'. I have not checked the current order but maybe that's only that. > The user should be explicitly asked whether they want this change > to be made. Currently, 'sys_create_init_profile' is simply run without asking. > 3. It could check =E2=80=9Cps aux | grep nscd=E2=80=9D and install nscd= using the host > distro package manager if needed, or at least suggest doing it. Done in patch 2/2 #43769 [1]. [1] All the best, simon