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 wFlfE3DGZGK2vAAAbAwnHQ (envelope-from ) for ; Sun, 24 Apr 2022 05:39:28 +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 uN1lE3DGZGKkJQAA9RJhRA (envelope-from ) for ; Sun, 24 Apr 2022 05:39:28 +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 D56D52D18C for ; Sun, 24 Apr 2022 05:39:27 +0200 (CEST) Received: from localhost ([::1]:46444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niT5r-0007sd-2v for larch@yhetil.org; Sat, 23 Apr 2022 23:39:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niT5R-0007pZ-FH for help-guix@gnu.org; Sat, 23 Apr 2022 23:39:01 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:40633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niT5P-0007Z3-Qs for help-guix@gnu.org; Sat, 23 Apr 2022 23:39:01 -0400 Received: by mail-qt1-x835.google.com with SMTP id o18so8270282qtk.7 for ; Sat, 23 Apr 2022 20:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=DX+TxgsqVFS/oD/lm2gHBBz2k9nI8B2rUte1WNpCM2E=; b=Yj5BXD8sJRQWO14ya2Ni8+M/2mPt4mlUkUMIcDfyF21bmsh+QYe5NFOlFMWfs98F5j wc40tXR9gk3zej2jDfZkfHap9SyFCJQ0BA8Is7YEHhPFE3eL6CTSPCgTJ44kNnMdpYF/ OpnFumS6j/OxYnJu8ulanjXyhSoJUb9FDEoD9CWHfjUWY/5E4fLEzUy7htGR0fxt04Rm xT+vdRI4I2TW9mltFelJlQdcRkDnb0rN85dcd8CCtOMTPPeOq74h7eYpckCG3ILf/ijF zyzOZRngFqQmtB40UGYDied/DNLBI+I8vLeMQaPhmXCWCtVY+Jv4kEYbe0pO7Yea17Lo ADMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=DX+TxgsqVFS/oD/lm2gHBBz2k9nI8B2rUte1WNpCM2E=; b=tVmgSOl6Ojyzzr1Mf5YNfR8Qvb2Sk4Ylw7X+3Wurf4nfShW1ITL3+bBGUkVWc28tiC VtS+s3odQQMX5T6MZR1zmtRYlLL6Ew4s4OCxyFNDIORhCLhvCG/aUhCkFwQ/grf91tAD epfyvFWuCzChvkVozO9cN+CvmW7uLa9Z7/Wj4p3+XxgQgsI/WWz4MLnDEifZVa00JDN/ ZApg6P1fQWbTHwSa1BXvDM7DM35HjtCufpKtobdwuB4FsmyIB6B9FDFPtpWh8i7INS9R 2tsCgvvBuPB7Wz19i83iP4+LS7n1DQibOe61Kb+kwF+d+PVAChvwCA2fv+mEpG604SXc Qbpg== X-Gm-Message-State: AOAM530yeQrQiihHimbRFlJF1NkQZvWOiFmMZKcIQDF4w/pJH8X3TikF 1tdhnOw98sw+Dinj6NqePKFc/88HFBYssg== X-Google-Smtp-Source: ABdhPJzT1UTJMs38nkkdnCN6r/AxwQAGEmQEKY830tOZePpPDZLczdpEt4a7q9wjGEWFcRuNRyzLpQ== X-Received: by 2002:ac8:5743:0:b0:2e1:cee6:f15 with SMTP id 3-20020ac85743000000b002e1cee60f15mr7985112qtx.634.1650771538412; Sat, 23 Apr 2022 20:38:58 -0700 (PDT) Received: from hurd (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id p66-20020a374245000000b0069c387c5449sm3219196qka.9.2022.04.23.20.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Apr 2022 20:38:57 -0700 (PDT) From: Maxim Cournoyer To: Olivier Dion Subject: Re: Questions regarding substitutes with debug output References: <877d7joe2w.fsf@laura> <87levx4ui1.fsf@gmail.com> <87ee1pur82.fsf@laura> Date: Sat, 23 Apr 2022 23:38:57 -0400 In-Reply-To: <87ee1pur82.fsf@laura> (Olivier Dion's message of "Fri, 22 Apr 2022 10:29:01 -0400") Message-ID: <87pml72lri.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x835.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olivier Dion via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1650771567; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DX+TxgsqVFS/oD/lm2gHBBz2k9nI8B2rUte1WNpCM2E=; b=Rj+DiYoorQz0DXZj1lgDxrnJboCohhHgW0mcFGtlZRXGoLA//G/Ramzqy4PKAIrGaWKVZ1 jbI9LiBA7LBmjsO5pS1bZgm7OGDMLbrP+bNv8LOdyTaCpgCBgqN6HZTx+T+H8h5zjnoaQl grwKZaIlKrVeGsO99HRGtgk4Ua5ELRu4KTkJSm81tO5Tt9uRQFyu60WvQ/+lN8pQmxHHbd N8qt+gDmqPO6WdPs2X2ZpbuXsm0D/m9HbUcWa1EN/hsT0CUDuUOTJlGxpFllq6bYBWNsx2 FPMoHAF1ZTU4IS5BEBKdvxTM+7bjeuZqtFM3Ch8It4fBAMZmA+5Q2VrMUlJ4+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650771567; a=rsa-sha256; cv=none; b=MKarNQMBzvxyZ+6UpuX6BwerHfHu18ShWEmNrgODY6vDbwuer1uIRaBsdxl4kwbocvZDRu 2JQ0zwxq7ZEyRkPVy2gZFsmR5b0tEbbFBuYkNUyTAD4SlJIZvfr3mwXDrZyI5bzZiunIQV Y7wUBjzBDTal85gD+eHmdYvb6FI5qp4ExJqqo6GXYxQ2waU9WrneXgtE5a6AxhHWkCiKQN eYwJLYxylqJ5D3tNR9goABV9vLNHGoqnw0PPgjPLHeGU0ACfSYW1+UrtXOJ+zUIsEI1rkG qAAgSdM9CsJHi8/UABaWqn5vrgFl2jO65xf99dodmsVZpve+bzZ4Co5hPinoiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Yj5BXD8s; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Yj5BXD8s; dmarc=pass (policy=none) header.from=gmail.com; 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: D56D52D18C X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: VYSpU9IWlT3e Hello, Olivier Dion writes: > 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. When the package uses the gnu-build-system, it is usually just adding a "debug" outputs and the copying of the stripped symbols to this output is taken care of automatically. Some packages use their own flags or a release build without symbols in which case just adding "debug" alone won't be enough. >>> 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". That could be neat, yes. I wonder how easy/difficult its implementation would be. Thanks, Maxim