From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sI5tHMy7YmIKuAAAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 16:29:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SJN2HMy7YmKOJgEA9RJhRA (envelope-from ) for ; Fri, 22 Apr 2022 16:29:32 +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 056CE16045 for ; Fri, 22 Apr 2022 16:29:32 +0200 (CEST) Received: from localhost ([::1]:54242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhuHr-0000ti-3K for larch@yhetil.org; Fri, 22 Apr 2022 10:29:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhuHZ-0000pG-CP for help-guix@gnu.org; Fri, 22 Apr 2022 10:29:13 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:40031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhuHV-0002Oq-4J for help-guix@gnu.org; Fri, 22 Apr 2022 10:29:11 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 23MET1AA004096 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Apr 2022 10:29:06 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 23MET1AA004096 To: Maxim Cournoyer , Olivier Dion via Subject: Re: Questions regarding substitutes with debug output In-Reply-To: <87levx4ui1.fsf@gmail.com> References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> Date: Fri, 22 Apr 2022 10:29:01 -0400 Message-ID: <87ee1pur82.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Fri, 22 Apr 2022 14:29:01 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: help-guix@gnu.org X-Mailman-Version: 2.1.29 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" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650637772; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=JOgpmZ/BuKu5uv1W2MXeqGFk754xxPraW9sfv6PbqHo=; b=oEnFSqgB5GazIA/5eMwwkjtI5dCGOv44zc8uzo5PW/7rmejCvS7tMNsI3yfvuXUJ2imqO6 byssQ8cEbrjRes2eOsfCl4qhq6ZPgnVNXDsp0Xv+P3sQ0pVxZ/rlU+orclteURAIWQVZxp AQOucw/++eh2WWx+ydr4TdKKcyg1Wx7DlDDuwmrZh+0wqRGZn/yB+EbfAK4I7AswTKZck9 MDUGrHdxG+1epBFdDCMs8EbvnCSKg2loD8NEIbJqIYP+y6b7TXs96Xs6VLPl8YgmNQKePv khqKx+HX/c7dOUZsggJS0ZDixNd904/0GClUiEWPSU/pR51LYs02UU+2z/zFvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650637772; a=rsa-sha256; cv=none; b=kwGyuO9NZDay8ltpFNrRxSUQ78+x3J82TQ3Tm9btwMq0qaQSlN2MfQUc1RC9IlnxfS/Df9 k3+H9RML+lEmWEZ7fA/z3AgttI21jkI7VRLgX1FNfrrB7e+mzg1GdRQBx457o916SZUF9Y 9eGGBdHq31bRNTaE0wkIo7gTqT2Bgi40bq5BDzdqB7GNYNQwK8ZerWtfHoHl/s1cWTuFCs RfvB3l/5Cgx6ZIxUjOS1TCZbzmVLOmZfHEsWa9XYPSkvnvsg8ZiL0FW5kQRflh/JKOvox3 yljve2gcjiVd0OG83/GhRX/cf1VQtUpTIbFjOclSlfskCzjfnpRhYqmU754l8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 056CE16045 X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6yVYU2k+pxDB On Fri, 22 Apr 2022, Maxim Cournoyer wrote: >> I require debugging symbols of multiple packages. Some of them >> already have a debug output from the main guix channel, but others >> don't. So I had in mind to make a channel and publish the >> substitutes with the debug outputs. > > In general, if you need debug symbols for something, I think it's OK > to contribute adding them to Guix proper (in a debug output), unless > they make like >= 1 GiB (as I can imagine may be the case for IceCat). Okay I will try. I'm not sure how easy it is so add debug symbols to some packages e.g. git, nginx. In any case I need them, so I will contribute back to the main channel if it works. >> How could I make sure that Guix use my version of Firefox over the one >> defined by the main channel? My guess is to change the name of my >> package to something like "my-firefox". But it would be nicer if I >> don't have to do so. Perhaps there's a way to force channel >> preference? > > Channels can only extend, not override the default Guix channel (the > world would be a bit of a mess if it did). So the easiest path is to > use a different name; alternatively for graph rewriting you could use > the various APIs to effect package transformations. Would be nice to have some way to specify channel in a package specification. I don't think that it would break things if we considerer channels as namespaces, i.e. different graph. A specification like: {channel}package@version:output would be useful. For now I will just rename them to "my/package". Regards, old -- Olivier Dion oldiob.dev