From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QPK0LHViwl7GNgAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 10:24:53 +0000 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 OKmMKHViwl68PgAAB5/wlQ (envelope-from ) for ; Mon, 18 May 2020 10:24:53 +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 B304094042B for ; Mon, 18 May 2020 10:24:52 +0000 (UTC) Received: from localhost ([::1]:44092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jacx1-0005SY-Jj for larch@yhetil.org; Mon, 18 May 2020 06:24:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jacwt-0005PQ-IS for guix-devel@gnu.org; Mon, 18 May 2020 06:24:43 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jacws-0000Jm-8B for guix-devel@gnu.org; Mon, 18 May 2020 06:24:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589797478; cv=none; d=zohomail.com; s=zohoarc; b=dJpl8b53/WBKfFL7CWRNA7EW4yaa7FbYuc8yCQrHMOBhrgPqYcXIkQns4J0Jg8LtnaJmrhwlBuG8IMhX15Lg8G4LwXNUO++f3yQKI1cb632HtXgQiANA7FDQRcT8vrn167A6dKwcTDbPx3lKJ2+dGa9quAuA6yTYvBEqfG8fgyI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589797478; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3MkV5057UVIOe44lzujcJUY0MsJUf7vUjRDBKGjiNnE=; b=h8C7ljz3lG6iY/vd5Kz4xnJ+JMSKsYPahO/+p7iwu1WgwMJxhHZW8Rnc/mvwSk2v1Ri7ITNFBZg0fBZ3myOuuMFjj+hv9gh/7qwu4j7fkc0OF+LgGv1eZrpstBXVpFc+mUL6GW4dTXwvIQ2IFk1U8W6K5DyBTJIbC59LpkuTiJk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589797478; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=3MkV5057UVIOe44lzujcJUY0MsJUf7vUjRDBKGjiNnE=; b=J6GA8tNdFkgHDU7QfVvxQ9g6iJ/tuZ9rmOBHIgFs1yhRogiZYA0BWCJzeNvaAye3 gSN8EDlO9HqQxpxGiGXsQQlo2DBquKnY/ZeetJrLK2P3KN48d8VPd52AbmXey+bGKgf vHWbAsJhYUVjwDsAJk3fgt9px27POBVFj3xKy3Q4= Received: from localhost (p54ad4ca8.dip0.t-ipconnect.de [84.173.76.168]) by mx.zohomail.com with SMTPS id 1589797452370385.7784791969573; Mon, 18 May 2020 03:24:12 -0700 (PDT) References: <87lflqhgad.fsf@elephly.net> User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus To: Begley Brothers Inc Subject: Re: [GNU-linux-libre] Replacing Yocto with Guix kernel image builds: best practices In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 18 May 2020 12:24:09 +0200 Message-ID: <874ksdh77a.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/18 06:24:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=J6GA8tNd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.21 X-TUID: iZ/FAuHLHlsw Begley Brothers Inc writes: > > You can either put your config files in a separate git repository and a= dd > > that to > > the native inputs, or you can include the config files in your channel > > repository (or later in Guix itself). > > > > Thanks for the suggestion. That gives some assurance. > Could you point to an existing guix (upstream) package that is a best > practice > example of each of those two approaches? > - accessing files from a separate repo > - a guix (upstream) package using other files There are many examples in the Guix repository. One example is java-cisd-args4j in gnu/packages/java.scm, which has =E2=80=9Cbuild-resourc= es=E2=80=9D as a native-input, which is an SVN origin. > Can "add it to their ~/.config/guix/channels.scm file" be scripted as part > of the > package? > Is there an example of a guix (upstream) package that does this? No, channel configuration is a user action. The channel would be the thing that provides your package in the first place. But since you want to add your package variants to Guix itself a discussion of channels isn=E2=80=99t really interesting. --=20 Ricardo