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 ms11 with LMTPS id 2MYSNSI9UmAufgAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 17:32:18 +0000 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 2OHnMCI9UmAQOQAA1q6Kng (envelope-from ) for ; Wed, 17 Mar 2021 17:32:18 +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 7460E26ADB for ; Wed, 17 Mar 2021 18:32:17 +0100 (CET) Received: from localhost ([::1]:60104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMa1o-0000Ro-4i for larch@yhetil.org; Wed, 17 Mar 2021 13:32:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0q-0000P5-So for help-guix@gnu.org; Wed, 17 Mar 2021 13:31:22 -0400 Received: from mx1.riseup.net ([198.252.153.129]:37842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMa0k-0003pT-P5 for help-guix@gnu.org; Wed, 17 Mar 2021 13:31:16 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F0xyh5q15zDxnL for ; Wed, 17 Mar 2021 10:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1616002268; bh=HGVlnylhn3c4+Q4DH4PDduU5FjX5oomA1tbvK54L4kQ=; h=Date:From:To:Subject:In-Reply-To:References:From; b=ZSA1hv30S0fPOGfa7iwdJs3ekO6YbgdnUoEHRzXrqmymhhIYZwDAe8rQvqm8DKR7d oGvT60DDA5cxvG5/UwviichSrMxK6q7n75HNDrvFyiYqb8IBSFQlICfnM+FUDFQQwc 8TQC0xG3e1igqz3/3Kb+ji0706Bx6G0mBtdwPuso= X-Riseup-User-ID: 8869B146F81E08AA137D1FDB07D6F2AF1DEB3FC474780F06A3C01335924BFE60 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4F0xyg5q7Vz5vjM for ; Wed, 17 Mar 2021 10:31:07 -0700 (PDT) Date: Wed, 17 Mar 2021 02:52:10 +0100 From: raingloom To: help-guix Subject: Re: Default/global packages for foreign distro Message-ID: <20210317025210.67505d42@riseup.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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=1616002338; 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=9Es/kSFiNvwAKMNq8IqgdZPjaDZQmxjM4QFOJpdwH+c=; b=SC8rGQ0hqPK5WQgaFnBAYYSb25YG1NjX3Vm42jgNR0JChNAFdKwQ5OOeq9pWmMnhfGQv0x nMgCRvg8iQLxfmu6af3DkdrbwtkIDBth0G7pQEC2NJg6h4wnU17+g2qoMjB3Igj/l1KoeU rOjYKOcsxTPtX3YYWHFiSplhtSxeat8v+BqQOE+iq/4Mg0M+lrislm/MAzxYssYMAqJ83R MmjV/udsmFhlxUsiaG30fu6Iy2DOz7nDAz9o+QGFeN11VYG45BN19LBr3dyO+jUB46Xr3E MByZzZwRW78FuG0+/0+QKK3BVbycpPl/Fi1A2qgMnUF2QAKOGLqxWsHIm0Fyig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616002338; a=rsa-sha256; cv=none; b=OJ7YHqle78ialEd/vXk+uenyr9eeVRlDoYu/mATLIyUKBqkrCE3dxYX98S34nrbiYrgWaY ufQpS2MVLakpsroR6F9LFGnOnHhKga1BbCq04OEQVa853U9H7n73k9kJPQqisETB55JNvh HLLPDxbmhFPVhCPBe/mPg/CMlSVHYzOL9YxLJEdwnmJqoPeJpgO2RplbT1fumRu7yCg/nd sor/ueWeZTTf8/qFIqPINiAnRjXFXg3VuenjNj8r1I/DiVVP5t+z3efsWpj4FPRrp6MI8K aEi6JnDYIGgDU6aGEVYhU4Df4RgzYVrM3WoIX/9W9IAiywJfpU94ebIr0S57aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=ZSA1hv30; 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: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=ZSA1hv30; dmarc=pass (policy=none) header.from=riseup.net; 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: 7460E26ADB X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: pehdn+ESw4UN On Tue, 16 Mar 2021 12:35:25 +0000 Phil Beadling wrote: > Hi all, > > Refering to this section of the manual: > https://guix.gnu.org/manual/en/guix.html#Locales-1 > > Is it possible in a foreign distro setup to define a set of base > packages in a global profile, set for all users? > > I'm trying to avoid having to install a locale for each user account > if possible? > > Thanks, > Phil. Could probably create a profile somewhere and source that from the default profile scripts or maybe the PAM environment scripts. Something like: $ guix package --profile=/var/guix-base-profile --manifest=/etc/guix-base-packages.scm And add a line like this wherever the environment is set up, which I'm honestly not sure where it is: GUIX_PROFILE=/var/guix-base-profile source /var/guix-base-profile It's important that the variable assignment is on the same line as the call to source. Alternatively you could write export GUIX_PROFILE=/var/guix-base-profile source $GUIX_PROFILE which sets GUIX_PROFILE as a side effect, which might cause problems.