From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0JTwHWjRpmSncwEASxT56A (envelope-from ) for ; Thu, 06 Jul 2023 16:36:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KIb9HGjRpmQgVgEAG6o9tA (envelope-from ) for ; Thu, 06 Jul 2023 16:36:24 +0200 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 462884366F for ; Thu, 6 Jul 2023 16:36:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHQ5A-0001JU-V4; Thu, 06 Jul 2023 10:35:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHQ58-0001IW-M3 for guix-devel@gnu.org; Thu, 06 Jul 2023 10:35:42 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHQ54-00019g-BF; Thu, 06 Jul 2023 10:35:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NMjuThODxMBRTfrjd1HAyR15qQTMwC8WcwzM0ogIuC4=; b=aT/kUhRQFZuAa4e4tii/n/ky30 f9bMRqALBGb0PVNga0RkGXYs4ys/x7XYoD5YtH5/iZs4LF51ltc9Qf+zq5qbpQdVJ2bSAWSokyjRE aXvUohZZ2GX5bdvSF5PrxDFy/pJLYiOYYqko5IAQSDUc9Q54QBj9h4TtFFgz2G6mM4X3gF1PsU2PQ QZ2lc8PHbBcyvyw8l3on9X1Ea+yjW8JphKFMVVHtLnS96NRGD2/hOriYohg3cOaYFcw8b02SWWHpX aa689J6XbTzTNZrrjMeapIDK7zfTYXZARZpJTegR2JN02Vm63ptM2JCBRNeR/P3ztx6/6ux+hL1tp dTN09f5g==; Received: from [192.168.2.1] (port=34536 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qHQ4q-0001QG-3B; Thu, 06 Jul 2023 15:35:25 +0100 From: Arun Isaac To: guix-devel@gnu.org Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , Efraim Flashner Subject: Development repositories as Guix channels Date: Thu, 06 Jul 2023 15:35:06 +0100 Message-ID: <87edllw1k5.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688654184; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NMjuThODxMBRTfrjd1HAyR15qQTMwC8WcwzM0ogIuC4=; b=TinwdXeun7MrQIMAeyBd/fh297+O2j3VE3hVmSlVi5MTzR4LqE771RTVbd6fEhqXzkWgEF FJxfDkpTQ3d+hEuGrIrkhT2klmnn+z7+FssZzOJUgkb5m0m0PCaOb1n7KBp06gd0LbTzpV HhCCxV2jDzN+8jfNW28vUqUcF8yTszj+QW5IUuC8tSDUg4T3pYU0a+HWmD2H5KFIEbJiQT 5XNBq+vzBj4GDpuGRwmjJUKbXW0mI2LiufevUKB4rlzitghNqfVnx+96kr3uNtexdPZCRe FkH2sL3/cJk4rtfuw9OV+nIa5wKVXSLVMw1F8G9e1A1Jgb18aizCxIFrjhtFLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b="aT/kUhRQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688654184; a=rsa-sha256; cv=none; b=nJlnb6Nd0bkWdF71213PpIJSZaqIQXTJTQmBDFVje2iOARmMGIBvD17xBkeVZeYArlsX89 GsmiCGwlDr3EskOo4De6Te67bSIrFKvjeK1dXKGs/yzrx4IcffU3tumAzTjzR2epkV4jDs e+gvJOubalDkkdsnEHMfDTXykBKUiX8B6ImoN09u7qsYu8/ZcvWN4uVaWPQvJTKrqs7NKr rR/3ZOkfEyiquudCCv/HMUP+PzTIzpgLMWC5fNgeRAMx1KGTmtXDViivcAmnDpwCzHfVVz NXZyBoNLMcFUThit5TXT+qIJgvLWqVNZCAizQYOA0kHzFMZDYCsvv4PhQCjulw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b="aT/kUhRQ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 462884366F X-Spam-Score: -0.47 X-TUID: BwRefouRa7+M Hi, This is with reference to the "Level 2: The repository as a channel" section in the Guix blog post "From development environments to continuous integration=E2=80=94the ultimate guide to software development w= ith Guix"[1]. This section describes how to convert a project repository into a Guix channel so that the repository can double as a way to distribute packages. I have been trying to follow the instructions and have hit a little snag. The post says the source field of the package definition should be a local-file file-like object. This is fine as long as we are using `guix build' to build packages in the repository. But, when the repository is distributed as a channel, the local-file becomes meaningless. The channel only has access to the sources under the .guix/modules directory and none of the sources required to build the package itself. It seems to me that it is not possible to distribute project repositories as Guix channels. But hopefully, I'm missing something simple. Could anybody please clarify? I'm CCing Ludo since they are the author of the blog post in question, and I'm CCing Efraim since I know they are working on something similar. Thanks, Arun [1]: https://guix.gnu.org/blog/2023/from-development-environments-to-contin= uous-integrationthe-ultimate-guide-to-software-development-with-guix/