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 ms0.migadu.com with LMTPS id oO6cBsF74GFGFwAAgWs5BA (envelope-from ) for ; Thu, 13 Jan 2022 20:21:37 +0100 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 UKDZA8F74GHBPQAA9RJhRA (envelope-from ) for ; Thu, 13 Jan 2022 20:21:37 +0100 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 A8B9AF5C0 for ; Thu, 13 Jan 2022 20:21:36 +0100 (CET) Received: from localhost ([::1]:48112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n85fD-0007ua-LJ for larch@yhetil.org; Thu, 13 Jan 2022 14:21:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n85dl-0007tM-Qr for help-guix@gnu.org; Thu, 13 Jan 2022 14:20:05 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n85dj-0003Yp-9B for help-guix@gnu.org; Thu, 13 Jan 2022 14:20:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 93AA0240103 for ; Thu, 13 Jan 2022 20:20:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642101600; bh=CikcUs2H6hMkL9JxOGPrxCatGTWeEba2ueQTuBAaZXo=; h=Date:From:To:Cc:Subject:From; b=N5ybTioT5SKsyHxJp+wvKNjlva8713cQse6dTto1YQdT4ihFZxos3rKwBsBX84G6O O8v7HrMPFpSKDfYKRKoKS7TGNxAVlQ03sDxs4mr0jxSRRLKdsjr0pgO3aAr9CBpIKd TuAVLmD7UO0sLTO0MjFqlHd+4E1Ep+dgt2GeieqeFN5lRWViIjbLsnBo0C+S4zbXP9 nDQMIRqIh2vWckFLsuFDUJcsiLHuIRCSbR2eRW0x6991jqAeuGSAoXx1xA/dvwwkIB EFeBkvSSTxg8ckP9TyAws5GS+Ry2/0wxIJJ0FIXZx9dkEt6WN7+RwQkaHJSnWdkssN 9dMn+x+QMYOzQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JZZ4v6pPrz6tms; Thu, 13 Jan 2022 20:19:59 +0100 (CET) Date: Thu, 13 Jan 2022 19:19:58 +0000 From: Niklas Schmidt To: Jacob Hrbek Subject: Re: manifest.scm - Howddya get specific commit 4 package? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=185.67.36.66; envelope-from=snlabs@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642101696; 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=wxiIwo9PSEbd+a0k9/T5X+1CwT4N5/elWShawxHT17Q=; b=lb3Q1ng55lx1QTHth/4QZ/q2LbuqgshPKEYGnUkZ/vZvPbsN7tDvbsCCiAKBgBt/9B5FJz bs+0zS6BRxmRtJmzKKeGae5EPn1+ymrUyrLt2joFbi67JWd+PVX10+fIn4ri4PTGVp1l0z qT6KGl0FCpsHXw8CIOp2Wh4gTQbOYQYDIrvkVR8VwZn06DisHWzske/q4qPNlI8YupI18+ zXApTMHBWCpgH4Ibks+yEhFzrd3IVJG4RLnb3nI9/BbNssHN6Q4YXGihbZ+o91G3JEyBdp 8xHavd4Druyk17AZJz5B6D4xtDBy6OM8z9o3P/B+YxYyH9I1l3jkDRbmVhiABQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642101696; a=rsa-sha256; cv=none; b=Gw9O1NzngANGSuIik6x8NMjiXAVE5NCVIZhlp15+rKp1WfvZB8hyOqNJLekMxaYVqPu4kD T6L/TGusZqA5ptsky5QySe5sRXNGVmIRND65zVykuJpF3hTPzltqAfwDFQm6o+5QZ0RvxD 5ImG2PLpbbrc26Tm2qWbk02dsFsfrjxMO4ZJj/4+YxtU7eqQMrYh9bk4jtnlXajXeGM5xd om8EuWdnV9LPY8SjDFspLxR+9tJkNVKzYxOFcYuj25cnDY+M4nILJ+isHupVtjxO/qX69P 9Aq5xGZ3ohv8b+QR+2/JBk1x883CRiKEMExmKyBcU1U3qNT/idnIEXvq1N7Cyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N5ybTioT; dmarc=pass (policy=none) header.from=posteo.net; 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: -8.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N5ybTioT; dmarc=pass (policy=none) header.from=posteo.net; 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: A8B9AF5C0 X-Spam-Score: -8.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: eFWapqTHTRXz Hello Jacob, I would like to point you to the section 2.1.5.3 Inheritance of the cookbook: https://guix.gnu.org/cookbook/en/guix-cookbook.html#Inheritance There it says: All unspecified fields are inherited from the parent package. This is very convenient to create alternative packages, for instance with different source, version or compilation options. So I usually create my own package module, specify a new package that inherits the package I'm interested in and give it another unique name, say my-freecad. Then I specify my-freecad in the manifest and use the -L or --load-path= flag with the file system path of own package module to invoke guix package, guix shell, and so on. Hope that get's you somewhere. To be exact, I have not used this technique for obtaining a package a specific commit, but for different versions. I see no reason it wouldn't work for this scenario as well, though. Greetings Niklas On Tue, Jan 11, 2022 at 00:18:01 +0000, Jacob Hrbek wrote: >I need FreeCAD 07c51f1b2ce62b1c770ffde8a7c40899a8abf846 -> How can i >get it through manifest.scm without using guix install freecad >--with-commit=freecad=07c51f1b2ce62b1c770ffde8a7c40899a8abf846 ?