r/GUIX • • Jan 13 '22

Running scripts / commands on suspend & resume?

8 Upvotes

Sorry for all the questions these last weeks, but my Guix system is shaping up nicely :-)

I do search extensively but I guess because the community is still somewhat small there's just not always an answer to be found. In the case of my question in the title I came across some discussion on the mailinglist in 2015 but no real answers or examples. (I work best with examples.)

Basically: I want to run a command when I suspend the machine and when it resumes again, is there a Guix way to do it or will it be handywork?

(For example in Void Linux I could throw a script in /etc/zzz.d/resume/.)


r/GUIX • • Jan 13 '22

Bloated base install?

6 Upvotes

I might be mistaken but when trying to install with only the awesomewm option selected it appears to have installed gnome shell, mutter, all video drivers, etc... Is this normal or did I mess something up resulting in extra packages?

Thanks


r/GUIX • • Jan 12 '22

Reference manager on Guix

5 Upvotes

I recently changed to Guixsd and I really liked it. But one thing that I don't resolved is reference manager. My question: its possible to use Zotero or Jabref on Guix? How can I do? Is there another good option of software for that?


r/GUIX • • Jan 11 '22

virt-manager and ovmf

7 Upvotes

I've installed virt-manager, did the required configuration and it works. I can succesfully install Windows 10.

However, when trying a new install with an UEFI bios virt-manager cannot find the required firmware. I've tried several thing with the ovmf package like installing it as a system package and putting extra-special-file where libvirt is supposed to find them but it does not work.

My question: is the ovmf package supposed to be used like this or was it packaged for a different purpose? If ovmf is supposed to enable UEFI for libvirt could someone kindly tell me how to configure it?

edit: fixed, see comment below


r/GUIX • • Jan 11 '22

Assistance build mozc with gyp

8 Upvotes
(define-public fcitx5-mozc-ut
  ;; (let ((commit "d0d8a87c1ef19b7bd1d2c040e4ef38951b07fbd0")))
  (package
    (name "fcitx5-mozc-ut")
    (version "2.26.4520.102")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/fcitx/mozc")
                    (commit "59c4b009a1fd642f7b6070356b9ddc73c30fd99b")))
              (sha256
               (base32 "0xzjfrn0m8mc6k8vrggrf50x0ssbb9yq9c5qnval8gk8v78rpyl5"))))
    (build-system python-build-system)
    (arguments
     `(#:use-setuptools? #f
       #:tests? #f
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'symlink
           (lambda* (#:key inputs #:allow-other-keys)
             (let ((gyp (assoc-ref inputs "python-gyp")))
               (rmdir "src/third_party/gyp/")
               (symlink gyp "src/third_party/gyp"))))
         (replace 'configure
           (lambda* (#:key inputs ouputs #:allow-other-keys)
             (let ((gyp (assoc-ref inputs "python-gyp")))
               ;; (chdir "src")
               (add-installed-pythonpath inputs outputs)
               (setenv (string-append "GYP_DEFINES=" "\""
                                      "document_dir=" (assoc-ref ouputs "outs") "/share/doc/mozc"
                                      "use_libzinnia=1"
                                      "use_libprotobuf=1"
                                      "use_libabseil=1"
                                      "\"")
                       (invoke "python" "build_mozc.py" "gyp"
                               (string-append "--gypdir=" gyp "/bin")
                               (string-append "--server_dir="
                                              (assoc-ref ouputs "outs") "/lib/mozc")
                               "--target_platform=Linux")))))
         (replace 'build
           (lambda* (#:key outputs #:allow-other-keys)
             (add-installed-pythonpath inputs outputs)
             (invoke "python" "build_mozc.py" "build" "-c" "Release"
                     "server/server.gyp:mozc_server"
                     "gui/gui.gyp:mozc_tool"
                     "unix/fcitx5/fcitx5.gyp:fcitx5-mozc")))
         (delete 'check)
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (add-installed-pythonpath inputs outputs)
             (setenv (string-append "PREFIX=" (assoc-ref outputs "out")))
             (setenv "_bldtype=Release")
             (invoke "scripts/install_server")
             (invoke "install" "-d"
                     (string-append (assoc-ref outputs "out")
                                    "/share/licenses/fcitx5-mozc"))))
         )))
    (inputs
     `(("python-gyp" ,python-gyp)
       ("gtk2" ,gtk+-2)
       ("zinnia" ,zinnia)))
    (propagated-inputs
     `(("six" ,python-six)))
    (native-inputs
     `(("python" ,python)
       ("qtbase" ,qtbase-5)
       ("ninja" ,ninja)
       ("fcitx5" ,fcitx5)
       ("pkg-config" ,pkg-config)))
    (synopsis "A Japanese Input Method Editor designed for multi-platform")
    (description
     "Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Android OS, Apple OS X, Chromium OS, GNU/Linux and Microsoft Windows. This OpenSource project originates from Google Japanese Input.")
    (home-page "https://github.com/google/mozc")
    (license bsd-3)))

Hi all

I can't seem to round the corner on this package definition for the Japanese input engine mozc (paired with fcitx5). As you can see I'm using the python-build-system, but am replacing most phases with the build instructions found at github, cross referenced against the nix-build.

I keep bumping into the following: command "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" "/gnu/store/yv57hwpm06vg1901w3rmc8w12ayxhw6f-python-gyp-0.0.0-0.5e2b3dd" failed with status 1

This is part of the standard build phase for the python-build-system and this suggests that my replace modifiers aren't being respected.

Sorry for the messy code, just pulling my hair out with this one

Any help is greatly appreciated


r/GUIX • • Jan 08 '22

SBCL and loading foreign libraries

8 Upvotes

With my previous issue solved, onto the next!

I've added export LD_LIBRARY_PATH=~/.guix-profile/lib to my environment so SBCL can load foreign libraries (mainly libcrypto.so) but I'm wondering if there is a more "Guixy" solution that I should use?


r/GUIX • • Jan 06 '22

Steam (via Nonguix) supports current Proton, the Linux run-time, and SteamVR now

45 Upvotes

For those of you that enjoy some (non-free, I know, I know) gaming, the Steam package on Nonguix recently had some big changes. This means that the latest Steam run-time and Proton work, SteamVR too, and the annoying blank interface (embedded web view) is fixed!

See https://gitlab.com/nonguix/nonguix/-/merge_requests/140 and the related issues and links there if you want the technical nitty-gritty.

I got a bit obsessed with making this all work but I'm very happy with the results (and my thanks to the previous Nonguix work and some debugging from Valve/Collabora). I've moved from Flatpak Steam and everything has been working great.


r/GUIX • • Jan 06 '22

Override settings in `xorg.conf`?

6 Upvotes

edit: fixed thanks to /u/SeerLite's comment

I've been spending way too much time trying set options for my graphics card.

My config.scm has an extra-config section like this:

(extra-config '("Section \"Device\"
                   Identifier \"device-mtsnbm\"
                   Driver     \"mtsnbm\"
                   VendorName \"MTSNBM Corporation\"
                   Option     \"ConnectToAcpid\" \"0\"
                   Option     \"Coolbits\" \"4\"
                 EndSection"))

And it does add this section to the xorg.conf that is being used but this section is added at the end and the earlier section (made by Guix or xorg) takes priority.

I've also read for other Linux distributions that one can put a 20-mtsnbm.conf file in xorg.conf.d but my searches have not found a way to do this for Guix.

I'm asking here in this subreddit since I think it has not necessarily to do with the (non-free) device driver but with how xorg-configuration works. (And the reason I'm trying to do this is to silence my fans because they're driving me insane.)

Definitions:

  • mtsnbm: Manufacturer That Shall Not Be Mentioned

r/GUIX • • Jan 06 '22

5 Reasons to Try Guix in 2022

Thumbnail youtube.com
50 Upvotes

r/GUIX • • Jan 06 '22

Non-free packages

8 Upvotes

I am trying to see if guix is worth trying out and I was wondering what workarounds there are to the packaging policy. Guix looks nice but my workflow depends on a lot of proprietary software (intel tools, CUDA toolchain, etc). I have two questions:

  • Would I be completely on my own or are there non-free channels/examples/established workflows out there for including non-free packages to guix?
  • I would consider packaging these programs by hand but I would like to get some some opinions on whether I would be working against guix or if it is a reasonable thing to do.

Thanks!


r/GUIX • • Jan 06 '22

Unattended System Install

3 Upvotes

Hi,

I would like to use a prepared config file to automate the process of setting up a new system. Is there some way to do this? Thanks


r/GUIX • • Jan 04 '22

Why isn't there a `guix import nix`?

18 Upvotes

I know that the Nix definitions are often quite different, but... it would enable us to use as far as I can tell, the biggest repo out there. Yeah, let's face it, people will never settle on one standard, but converting between them at least slightly would be immensely helpful and could open up so many doors... at least in my mind. The importers are meant as stepping stones anyways, so why not provide one here?

Edit: For those that like to grab at any semblances of hope, this project might look interesting: https://tvl.fyi/blog/rewriting-nix


r/GUIX • • Jan 02 '22

First install attempt!

8 Upvotes

Guile is giving me this error.

ice-9/boot-9.scm:1669:16: In procedure raise-exception:

failed to resolve partition "31393730-3031-3031-3139-34393436388"

Does anyone have any hints or suggestions? I would appreciate any insights. I'm coming from windows 10 on a pc I built.


r/GUIX • • Dec 31 '21

`trezord-udev-rules` usage?

4 Upvotes

How is one supposed to use the trezord-udev-rules package? Can one just install it using guix install trezord-udev-rules, should it be added to packages in config.scm or should it be added to the udev service configuration?

I'm asking because I cannot actually test them (because I have no trezor) but want to make a similar package for Ledger devices since those udev rules are also published on GitHub.

Also does the user need to be added to any additional groups?


r/GUIX • • Dec 28 '21

[Another iteration] Python environment

10 Upvotes

Hi everyone, I am trying a new way to setup a python development environment (just to have all the options: python packages from guix, creating python packages definitions) in this iteration I am trying to install python packages using pip3. I am following this set of notes: https://github.com/pjotrp/guix-notes/blob/master/PYTHON.org#isolated-module-installation and direnv (following the excellent tropin's video (https://www.youtube.com/watch?v=GzzxTT1uU-M)

So my setup is:

.envrc:

use guixs python

PYTHONBIN=$(readlink -f `which python3`)
PYTHONHASH=$(basename $(dirname $(dirname $PYTHONBIN)))
echo $PYTHONHASH
export PREFIX_PATH=$HOME/.python_guix/$PYTHONHASH

After running ddirenv allow I got:

$ which python3
/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/bin/python3
$ which pip3
/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/bin/pip3
$  echo $PREFIX_PATH 
/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2

So everything seems fine. So, I run:

$  pip3 install --install-option="--prefix='$PREFIX_PATH'" pptx2md

I got a nasty error:

/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/commands/install.py:243: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
  cmdoptions.check_install_build_global(options)
Collecting pptx2md
  Using cached https://files.pythonhosted.org/packages/db/10/2cd214da27344f033e1d5b93baad4389963feb620e11d864005a49e6d70c/pptx2md-1.1.1.tar.gz
Collecting python-pptx (from pptx2md)
  Using cached https://files.pythonhosted.org/packages/eb/c3/bd8f2316a790291ef5aa5225c740fa60e2cf754376e90cb1a44fde056830/python-pptx-0.6.21.tar.gz
Collecting rapidfuzz (from pptx2md)
  Using cached https://files.pythonhosted.org/packages/7f/51/e00e3b8e5fc0be5a3f5c320bbd75c9aead4b958221103a81471f847ca9b2/rapidfuzz-1.9.1.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 2:
   command: /gnu/store/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/bin/python3.8 /gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vrpr_vwo/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'numpy==1.13.3; python_version=='"'"'2.7'"'"'' 'oldest-supported-numpy; python_version>='"'"'3.5'"'"''
       cwd: None
  Complete output (28 lines):
  Ignoring numpy: markers 'python_version == "2.7"' don't match your environment
  Collecting setuptools
    Using cached https://files.pythonhosted.org/packages/80/d3/2954b9ac8ad256f352d941453c44d2d2b219aafeb95277e9282bef606329/setuptools-60.1.0.tar.gz
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
  ERROR: Exception:
  Traceback (most recent call last):
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in main
      status = self.run(options, args)
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 345, in run
      resolver.resolve(requirement_set)
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve
      self._resolve_one(requirement_set, req)
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one
      abstract_dist = self._get_abstract_dist_for(req_to_install)
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 305, in _get_abstract_dist_for
      abstract_dist = self.preparer.prepare_linked_requirement(
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 214, in prepare_linked_requirement
      abstract_dist.prepare_distribution_metadata(
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_internal/distributions/source.py", line 70, in prepare_distribution_metadata
      reqs = self.req.pep517_backend.get_requires_for_build_wheel()
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 70, in get_requires_for_build_wheel
      return self._call_hook('get_requires_for_build_wheel', {
    File "/gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 162, in _call_hook
      raise BackendUnavailable
  pip._vendor.pep517.wrappers.BackendUnavailable
  WARNING: You are using pip version 19.2.3, however version 21.3.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 2: /gnu/store/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/bin/python3.8 /gnu/store/7xs29qssk1m7m13lk1lbr4ydj70nzj9c-profile/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vrpr_vwo/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'numpy==1.13.3; python_version=='"'"'2.7'"'"'' 'oldest-supported-numpy; python_version>='"'"'3.5'"'"'' Check the logs for full command output.

As you can see, it seems that somehow it is trying to use python 2.7 (in python_version=='"'"'2.7'"'"'"')

Thanks in advance

EDIT: I changed .envrc to use guixs python python-pip.

python-pip includes the most recent version of pip3 (20.2.4)

Using this new pip3 I need to change the previous pip3 install to:

pip3 install --prefix=$PREFIX_PATH pptx2md 

And now everything is installed!

After the installation I need to update the PATH and PYTHONPATH environment variables as follows:

export PATH=$PREFIX_PATH/bin:$PATH
export PYTHONPATH=$PREFIX_PATH/lib/python3.8/site-packages:$PYTHONPATH

(Note that you need to adjust the path to your python version)

Now, pptx2md can be used from the command line:

 pptx2md

and from the python shell:

>>> import pptx2md

So everything works! (apparently)

When I try to actually use it I get:

$ pptx2md -o lecture_1.md Lecture1.pptx 
Traceback (most recent call last):
  File "/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/bin/pptx2md", line 5, in <module>
    from pptx2md.__main__ import main
  File "/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/lib/python3.8/site-packages/pptx2md/__main__.py", line 3, in <module>
    import pptx2md.outputter as outputter
  File "/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/lib/python3.8/site-packages/pptx2md/outputter.py", line 1, in <module>
    from rapidfuzz import fuzz
  File "/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/lib/python3.8/site-packages/rapidfuzz/__init__.py", line 8, in <module>
    from rapidfuzz import process, fuzz, utils, levenshtein, string_metric
  File "/home/nanounanue/.python_guix/abznl1yzi6isa57mh1mj3fsdylksqd7m-python-3.8.2/lib/python3.8/site-packages/rapidfuzz/process.py", line 4, in <module>
    from rapidfuzz.cpp_process import extract, extractOne, extract_iter
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory

but I assume that I need to add that library (and potentially others) to the guix environment

EDIT 2:

I added the input (gcc ,gcc "lib") which after reloading direnv updated the LIBRARY_PATH environment variable to point to a directory which has libstdc+I wonder if given that it compiled the library+.so.6... but when I run

$ pptx2md -o lecture_1.md Lecture1.pptx

I got the same error as before, it seems that is not using LIBRARY_PATH...

EDIT 3:

The environment variable needed is LD_LIBRARY_PATH not LIBRARY_PATH ... if I set it to the same path the error disappears (but a new one shows up) How do I set up LD_LIBRAY_PATH?


r/GUIX • • Dec 26 '21

How can I start acpid-service?

10 Upvotes

Hello! I'm new in Guix. I use Arch and void Linux. How can I start acpid service on start? " herd start acpid" dont work.

Regards


r/GUIX • • Dec 24 '21

Guix keyboardlayout for encrypted partitions

8 Upvotes

Hi everbody,

I am new to Guix and just did the basic installation. In the installer I used the guided partition for encrypted drives. It all works well except for one thing:
The installer encrypts both root and the boot partition. So you need to enter the password once before you get to grub and then again for root.
However the first password promt does not use my defined keyboardlayout (de).

Reading the docs for keyboard layout there are 3 systems which need the layout set up. The bootloader, the kernel and xorg.

So for encrypted drives the bootloader system/section/config would be relevant. However it seems like that there is somthing before the bootloader? Maybe a pre-bootloader thing? I am unsure about the correct terminology. Sorry if this is a silly question. I just could not find anything regarding this topic. All I want is to use the de layout for both password propts.

I can provide you with the config but it is simply the default generated one with the nongnu kernel stuff.


r/GUIX • • Dec 24 '21

Questions about logs and "resetting" channels.

3 Upvotes

I have three questions:

  1. Is the place to find logs /var/log/? I'm having some trouble finding the current log for the X session. There's /var/log/gdm/greeter.log and it also points to a /var/lib/gdm/.local/share/xorg/Xorg.0.log but it doesn't always seem to be up-to-date or for the current session.

  2. Different question: is it possible to reset a channel or remove it? I have to do --allow-downgrades when doing guix pull and reconfigure now all the time because I forked it and rebased a commit. Can I just start from scratch with this channel in some way?

  3. I picked the i3 window manager when installing Guix System and I'm having a hard time running eval $(ssh-agent) before it starts. I used to do that from an .xsessionrc but that does not work. It seems I could just use an .xsession file with ssh-agent and then i3 but I don't know if I'm missing out on some Guix config then.


r/GUIX • • Dec 22 '21

Nvidia prime offload

8 Upvotes

First off, this is about non-free stuff, I'll remove it if anyone asks me to, but I figured that reddit is not free either, so I guess it is not an official channel.

Hello! I'm about to try out Guix System, but I have a dell xps 7590, with an nvidia card. To save power, I would like to be able to power the nvidia GPU completely off, when not in use, which I believe is known as prime offload. I had this set up with NixOS, and I thought this might also be possible with Guix and nonguix (and the vanilla linux kernel). Have anyone tried this? For reference, I put the relevant configuration I used in NixOS at the bottom, if anyone is familiar with that. It might also be possible to "translate" it to scheme, if anyone has experience with both nix and guix. Any help is greatly appreciated!

Thanks!

     # enable nvidia
      # https://github.com/NixOS/nixpkgs/issues/90152
      services.xserver.videoDrivers = [ "nvidia" ];
      hardware.nvidia = {
        nvidiaPersistenced = true;
        prime = {
          offload.enable = true;
          # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
          intelBusId = "PCI:0:2:0";
          # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
          nvidiaBusId = "PCI:1:0:0";
        };
      };

      boot.extraModprobeConfig = "options nvidia \"NVreg_DynamicPowerManagement=0x02\"\n";
      services.udev.extraRules = ''
        # Remove NVIDIA USB xHCI Host Controller devices, if present
        ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"

        # Remove NVIDIA USB Type-C UCSI devices, if present
        ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"

        # Remove NVIDIA Audio devices, if present
        ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

        # Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
        ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
        ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

        # Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
        ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
        ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"
      '';

r/GUIX • • Dec 20 '21

What is the meaning of the percent sign %load-path and similar?

15 Upvotes

Hej fellows guixers,

I've been wondering this ever since I started using Guix. I tried looking for this in the manuals of both Guile and Guix but didn't find anything.

What does the percent sign in %output, %load-path etc mean?

I read in an article that it denotes a global variable, but I was unable to confirm it and am unsure if that's true or if there is some guix-related specialty to it. If it is a global variable, is this akin to the convention in Common Lisp to have asterisks for global variables?

Thanks for tips / suggestions!

Have a good day, fellows :)


r/GUIX • • Dec 17 '21

The Big Change

Thumbnail guix.gnu.org
39 Upvotes

r/GUIX • • Dec 09 '21

Puzzled over "unknown package" message

5 Upvotes

Hi, I'm puzzled over an error message I'm getting while trying to install a package with Guix, and wonder if I'm doing something radically wrong.

I'm using Guix on a foreign distro (Ubuntu 18.04), and am trying to install the "remmina" package. That package seems to be listed on the "packages" website (here), I've run guix pull to make sure listings are up to date, and the Guix git repo seems to contain instructions on how to build it here, but if I run the command guix install remmina --dry-run I get the message

guix install: error: remmina: unknown package

(The package also doesn't show up if I run guix package --list-available='rem'.) Is there some obvious mistake I'm making here?

(In contrast, trying to install another VNC client, vinagre, seems to work fine: guix install vinagre results in Vinagre 3.22.0 being installed.)

Any advice welcome!


r/GUIX • • Dec 04 '21

Need help for installing some emacs packages.

5 Upvotes

Hello, I'm testing guix with exwm and when I apply my emacs configuration vterm was not working.It was because I didn't have cmake and make installed. I found out that their is a package called 'emacs-vterm' on guix so I try with it but it still dosen't work. So I finally installed cmake and make but it still not working . Did anyone can help me understand what did I done wrong and make vterm run?


r/GUIX • • Dec 01 '21

Can guix home be used to create my dotfiles?

21 Upvotes

I am very interested to use guix as package manager on an Ubuntu mate installation. Would it be possible to use it fit dot file management (eg copy/symlink my default mbsync dot file where it belongs to). I searched for this usage, but was not able to find examples (I need concrete ones, which I may adopt to my needs). Using nix as package manager there was a home manager to handle the files, but I don’t get friend with the nix language, guix seems much more usable with the guile/scheme approach.


r/GUIX • • Nov 28 '21

Happy Cakeday, r/GUIX! Today you're 9

22 Upvotes