EssentialSkills/GuixShellWithSelectedPackageVersion

Sometimes you might want/need a different package version in  such as to test the package for further development.

To achieve this guix provides a package transforms which list can be retrieved in :

$ guix install --help-transform Available package transformation options: --with-source=[PACKAGE=]SOURCE use SOURCE when building the corresponding package --with-input=PACKAGE=REPLACEMENT replace dependency PACKAGE by REPLACEMENT --with-graft=PACKAGE=REPLACEMENT graft REPLACEMENT on packages that refer to PACKAGE --with-branch=PACKAGE=BRANCH build PACKAGE from the latest commit of BRANCH --with-commit=PACKAGE=COMMIT build PACKAGE from COMMIT --with-git-url=PACKAGE=URL build PACKAGE from the repository at URL --with-patch=PACKAGE=FILE add FILE to the list of patches of PACKAGE --with-latest=PACKAGE use the latest upstream release of PACKAGE --with-c-toolchain=PACKAGE=TOOLCHAIN build PACKAGE and its dependents with TOOLCHAIN --with-debug-info=PACKAGE build PACKAGE and preserve its debug info --without-tests=PACKAGE build PACKAGE without running its tests

These can then be used as an argument to  such as:

guix shell --with-commit=freecad=c1fbf28e22215d891c95601767f9188129f63d0f freecad -- FreeCAD