From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6KmPKVzKZWDfqgAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 15:27:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AMFwI1zKZWCtbwAA1q6Kng (envelope-from ) for ; Thu, 01 Apr 2021 13:27:56 +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 53FFF1A753 for ; Thu, 1 Apr 2021 15:27:56 +0200 (CEST) Received: from localhost ([::1]:45008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxMZ-0000Bi-EX for larch@yhetil.org; Thu, 01 Apr 2021 09:27:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRxLo-00009t-JL for guix-devel@gnu.org; Thu, 01 Apr 2021 09:27:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54607) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxLl-0003iu-3F; Thu, 01 Apr 2021 09:27:05 -0400 Received: from [2a01:e0a:19b:d9a0:1a7a:d05e:2600:6047] (port=50312 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRxLQ-0003cF-HC; Thu, 01 Apr 2021 09:26:54 -0400 From: Mathieu Othacehe To: Konrad Hinsen Subject: Re: Finding the channel in which a package is defined References: Date: Thu, 01 Apr 2021 15:26:42 +0200 In-Reply-To: (Konrad Hinsen's message of "Thu, 01 Apr 2021 12:07:28 +0200") Message-ID: <871rburv8t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617283676; 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; bh=B527fjl8+2HSnbJ3buavKQie2F9xFXBGzrEn6mYBnHE=; b=bToeCoMojA6gv/voot2bm9rXH7kg7u2Prd2KVa5jvbdOanLkk/fUz3MOu5I3nkfar72K7T X5LpIxWFNX6kbqc3OVXVn3AQjKKGHMyO/MgjysHhOTzkHfWJs7lLUYzhxICmFq+CV2uEsf G2L6DOWIzg7ccd505E1649Lg9tL3YzRClXAW8L6z21nSu6cokAtCjHnkMPrRK8PrCjFO1r 8jX1G7MhnSwBJe0m4/X/gKpV2mtjJ/1yBuDuwDSlGD1ZLi82VgibPofeH33qa8jHR5nSH7 sQA4o8zrPjTK8fhv8+s03XgC4Xx2xku/O2k2Qsis5nKmifKoO9tdW8wca+q+Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617283676; a=rsa-sha256; cv=none; b=Hcw6khJTeRj01F/kZaqDzxnpiT96SMhQi4kcNIJsrpVzetJZbNFEA6E5EjSP+mcDROf11O xbEN9FWyKjOVBGidjLeFz8pJicLrjl0RlO+pXgHnYrbqDB1Y41Uedo4FBizmhOo4N3Y1QT D3mt7672rgYhoOYBZA0buE5F4rzAlTTWruRbMOzPCw36hWoE/GccyFIjT8aeXZVoKvF5Yn ATi+PDZo0lyiqkLIQAZs20zZ+Tleo2znPYkzmDjELI/0lGXDZX24VBbEtTjYYVjThVZKBx m/QThd1uLrmwy/vP/RC5ecvRhRdIJxiGGMHIVaA82nQ1+Bx38wNFlFVzeoOprg== 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 guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: 53FFF1A753 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: JJUmkzLxXPvq Hello Konrad, > Is there a simple way to find out in which channel a given package was > defined? I tried "guix edit" to see the source code, but it shows a file > from a "module-union" directory in the store. You can run something like: --8<---------------cut here---------------start------------->8--- ,use (guix describe) (gnu packages) (gnu packages linux) (%package-module-path) (package-channels strace) --8<---------------cut here---------------end--------------->8--- in a "guix repl" to determine the channel providing "strace". If you replace "strace" by a package provided by my-channel, "package-channels" should return a list containing the default Guix channel as well as my-channel. Mathieu