[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: manifest.scm - Howddya get specific commit 4 package?

From: Niklas Schmidt
Subject: Re: manifest.scm - Howddya get specific commit 4 package?
Date: Thu, 13 Jan 2022 19:19:58 +0000

Hello Jacob,

I would like to point you to the section Inheritance of the cookbook:

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.


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 ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]