guix

This guide assumes you have guix installed and up and running.

FAQs

How do i setup guix profile?

export GUIX_EXTRA_PROFILES="$HOME/.guix-extra-profiles"
mkdir -p "$GUIX_EXTRA_PROFILES"/trial-one # replace trial-one with your preferred profile name

Header include issue

The libraries doesn't seem to be detected by cmake command while compiling. For e.g: guix shell -D hwloc, and if i run a cmake project requiring hwloc, it doesn't seem to detect hwloc, need to figure this out.

Gripes with Guix

Major Major

No beginner friendly guides.

I don't mean to tell there is no documentation. There are docs but they are hard to understand if you are not already used to the guix environment. Once you know "okay, this is how we do". Those docs make sense

Minor Buggings

Log levels specs are vague

I try to build a home container using `guix home container home-configuration.scm`

  # ...
  build of /gnu/store/50fsq8fchjlzvr5vayxv8c58mkdmrjp4-files.drv failed
  View build log at '/var/log/guix/drvs/50/fsq8fchjlzvr5vayxv8c58mkdmrjp4-files.drv.gz'.
cannot build derivation `/gnu/store/0fx08k6v9rad49hxmbfgpa20vw2mnqgz-home.drv': 1 dependencies couldn't be built
guix home: error: build of `/gnu/store/0fx08k6v9rad49hxmbfgpa20vw2mnqgz-home.drv' failed

I need to look at the log to see why it failed, alright, i gunzip and look at the logs. After doing this a couple of times. I realize there must be an argument to tell the system, print the logs here. So i do `guix container –help` and i see two relevant lines

–debug=LEVEL produce debugging output at LEVEL -v, –verbosity=LEVEL use the given verbosity LEVEL

I search for the rest of the help section for what LEVEL is supposed to mean I find no help. Alright I go ahead and type `guix home container -v DEBUG home-configuration.scm` just to see what I get.

guix home: error: DEBUG: invalid number

Alright, i guessed so LEVEL must be a number. But Exactly which kind of numbers. Is it ranging from 0-4 like , or is it increasing by 10s like python logger or is it by 100s for e.g: by log4j. Guix can pick any scheme from that. I don't care about that. My point being that what are the different logging levels that are allowed should be the mentioned in the –help section itself.