Questions tagged [guix]

For questions about GNU Guix, a package manager for the GNU System. It is based on the Nix package manager with Guile Scheme APIs and specializes in providing exclusively free software.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Can I (install and) use guix-home on a non-Guix Linux distribution?

I'm interested in setting up an environment of apps, libraries and utilities for use - independently and in conjunction - by a non-root user on a GNU/Linux system. Can I use GUIX's "home" ...
einpoklum's user avatar
  • 8,852
5 votes
1 answer
359 views

Do GUIX and NixOS differ architecturally?

(This is not a "which distribution is better" question!) GNU GUIX and NixOS are two Linux distributions based on the NixOS package manager. I realize that GUIX seems to use Guile for ...
einpoklum's user avatar
  • 8,852
1 vote
0 answers
73 views

In Guix, how to figure out which package in a manifest adds a specific dependency to the profile?

I've made my Guix system entirely declarative, always adding packages through guix package -m mymanifest.scm. Sometimes this fails because of conflicting dependencies. E.g. right now I have gcc-...
BlackShift's user avatar
0 votes
1 answer
151 views

Installing Neovim v0.8.1 with Guix makes some treesitter parser unusuable because of GLIBCXX_3.4.29 not found

It seems that guix compile neovim with gcc 10.3 which does not come with GLIBCXX_3.4.29 (like described here). The exact error provided while opening neovim with an html file for example is : Error ...
ChillPC's user avatar
0 votes
2 answers
221 views

Is there a Guix equivalent of nix-shell shebangs?

I want to write a script which executes within a specific guix shell environment. I'm hoping there's an equivalent version of the nix-shell shebang. For example, it would be cool to write something ...
kballou's user avatar
  • 132
0 votes
1 answer
209 views

How to update the Grub list on the Guix OS?

I installed the Guix OS in a partition of my HDD for testing, alongside my daily OS partition. Now the previous grub is overwritten and my daily distro is not accessible anymore. I didn't found "...
Ploumploum's user avatar
1 vote
0 answers
117 views

How to install GEMMA2 (gemma2lib) on GNU Guix over Ubuntu 22.04 running via WSL2?

I'm running Windows subsystem for Linux 2 (Ubuntu 22.04). I'd like to run GEMMA2 (gemma2lib): in the link it is said: ~/opt/guix/bin/guix package -i python python-toolz -p ~/opt/gemmalib . ~/opt/...
abc's user avatar
  • 111
0 votes
1 answer
194 views

How to use an inferior when input rewriting in GUIX?

The GUIX Inferiors manual states that Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the packages field of your operating-system ...
BlackShift's user avatar
2 votes
3 answers
1k views

In GUIX, how to use a old version of a package, no longer in the channel?

Part of what attracted me to GUIX is that various different versions of packages can be 'installed' at the same time without interfering with each other. But I can't figure out how to actually use ...
BlackShift's user avatar
2 votes
1 answer
429 views

How to rid onself of the locales hint from the Guix package manager

Every time I run the package manager Guix on a foreign distro I'm greeted with the following "hint": hint: Consider installing the glibc-utf8-locales' or glibc-locales' package and defining ...
Rovanion's user avatar
  • 921
0 votes
1 answer
154 views

guix pull throws "match-error"

i have installed package guix (on debian bullseye). and try to run guix pull as it is written in the documentation: $ sudo -i guix pull Updating channel 'guix' from Git repository at 'https://git....
aleksandr barakin's user avatar
-2 votes
1 answer
291 views

How do I install NodeJS on GuixSD?

How do I install NodeJS on GuixSD?
Kitty Cat's user avatar
0 votes
1 answer
585 views

How to allow "guix-daemon" to "remount" in SELinux?

I've installed Guix and installed the bundled SELinux policy manually. But according to Ricardo Wurmus, as of 30 June 2021: There are really just two ways: either 1) disable SELinux (or set it to ...
Roman Riabenko's user avatar
1 vote
1 answer
841 views

How to install SELinux policy for guix-daemon.service on Fedora?

After installing Guix, how do I install the bundled SELinux policy, which is intended to allow the guix-daemon.service to run? To install Guix 1.3.0 on Fedora 34 Workstation, I used the shell ...
Roman Riabenko's user avatar
1 vote
1 answer
561 views

How do I garbage collect a Guix System generation?

Running sudo guix gc --list-roots on my Guix System I see a lot of system generations lying around, going all the way back to when I first installed the system. $ sudo guix gc --list-roots ... /var/...
Rovanion's user avatar
  • 921
0 votes
2 answers
326 views

How do I remove a Guix gc-root

When I list my current Guix garbage collection roots I find a root that I want to remove, the last one which belongs to a project I no longer develop. $ guix gc --list-roots /var/guix/profiles/per-...
Rovanion's user avatar
  • 921
2 votes
2 answers
231 views

Why does guix install default to .guix_profile while guix pull defaults to .config/guix/current?

Guix having multiple profiles as nice but having two different default profiles is confusing and I'm unclear as to what the benefit of having two is supposed to be. Surely a single default profile ...
William Hay's user avatar
1 vote
1 answer
408 views

What is Nix equivalent of "guix challenge"?

In Guix user can verify reproducibility of a package with guix challenge https://guix.gnu.org/manual/en/html_node/Invoking-guix-challenge.html. What is the Nix command for that?
andreoss's user avatar
  • 416
-1 votes
1 answer
250 views

Why is there no OpenJDK 8 packaged for guix?

When I search the Guix repository there are only versions of OpenJDK from 9 and up, but I want to install OpenJDK 8. Why is there no version 8? $ guix search openjdk | recsel -p name,version name: ...
Rovanion's user avatar
  • 921
1 vote
1 answer
73 views

How do I show only the name of results from `guix search`

When I run for example guix search openjdk I get a long list of information, most of which I'm not interested in: name: openjdk version: 9.181 outputs: out jdk doc systems: x86_64-linux i686-linux ...
Rovanion's user avatar
  • 921
2 votes
1 answer
1k views

Install fonts in Guix System

How do I install a font in Guix System? (Not installed in graphical environment)
Pelian Pur's user avatar
1 vote
0 answers
119 views

wpa_supplicant + dhclient loose connection when downloading file of 4Gb

I have two wifi-adapters: inner and usb. I always use external usb wifi adapter, because it shows better signal power and better speed. It started to loose connection every day twice or 4-5 times a ...
znavko's user avatar
  • 43
2 votes
1 answer
185 views

Enable volume management in Thunar on a Guix System

On my system I have installed both thunar and thunar-volman: $ guix package --list-installed | grep thunar thunar-volman 0.9.5 out /gnu/store/yp5xyyvvc59ivghszgyfwy3izd8jvqz0-thunar-volman-0.9.5 ...
Rovanion's user avatar
  • 921
3 votes
3 answers
3k views

List all packages installed with Guix

How do I list all the packages installed through Guix? On Ubuntu this would be done through dpkg -l.
Rovanion's user avatar
  • 921
1 vote
1 answer
216 views

Shadowsocks profile configuring in GuixSystem

I have this problem in configuring Shadowsocks profile: $ ssserver -c profile.json /gnu/store/yvjgk9n6xzpr32maq1mqw1ij2vhm9jxb-shadowsocks-2.8.2-0.e332ec9/lib/python3.8/site-packages/shadowsocks/...
mecqor labi's user avatar
0 votes
1 answer
348 views

How do I install Clojure on a Guix System?

After running guix system install clojure I find that there is no clojure or clj on my $PATH. I was told on the #guix@freenode IRC that one can get the path to the contents of a package by running ...
Rovanion's user avatar
  • 921
1 vote
1 answer
227 views

Use a python projects requirements.txt as input to a Guix package definition?

I have an existing Python project made by a friend that contains a requirements.txt that pip install -r normally consumes. A project that is not published to PyPI. Say that I wanted to use Guix as the ...
Rovanion's user avatar
  • 921
3 votes
2 answers
982 views

Guix System Problem with GNOME Boxes

To build a virtual machine with GNOME Boxes, I have this problem: "virtualization extensions are unavailable on your system. Check your bios settings to enable them." what's the solution?
Pelian Pur's user avatar
1 vote
2 answers
1k views

Is there a Guix equivalent of nix-shell?

As the manual page for nix-shell describes it: Nix can be used to provides some kind of virtual environment through the nix-shell command. Much like Python developers commonly create a virtual ...
Rovanion's user avatar
  • 921
4 votes
2 answers
2k views

How to enable bluetooth in GUIX?

I'm trying to enable Bluetooth on my GUIX machine, and I do not understand the instructions: Scheme Procedure: bluetooth-service [#:bluez bluez] [#:auto-enable? #f] Return a service that runs the ...
BlackShift's user avatar
4 votes
1 answer
394 views

Black screen in Guix System installation

I have this problem to install Guix System: After this, the screen turns black and nothing is displayed. I first downloaded the Guix System, extracted the iso with this command: "unxz" and ...
Pelian Pur's user avatar
3 votes
2 answers
281 views

Which package in Guix provides command/binary $x?

Say I want to find out which package provides binary $x on my Guix system. On a Debian based system I would use the command apt-file search $x and on a RedHat system I would use yum whatprovides $x; ...
Rovanion's user avatar
  • 921
0 votes
1 answer
223 views

Can you run `guix deploy` on other linux distributions?

Guix can be run on other linux distributions. But can guix deploy provision machines running debian? I think nixops requires machines to use nixos.
aqui8's user avatar
  • 103
2 votes
1 answer
659 views

What is the difference between `guix install` and `guix pull`?

Both packages seem to download packages and update some profiles, but why do I need both?
akraf's user avatar
  • 845
7 votes
1 answer
2k views

What is the difference between `~/.guix-profile` and `~/.config/guix/current`

I have just installed GUIX on top of my Arch Linux, however, I still have difficulties to understand some of the concepts. I understand that a profile is a selection of packages from /gnu/store and ...
akraf's user avatar
  • 845
0 votes
1 answer
942 views

What is the file to be specified in guix system reconfigure?

The documentation for guix system reconfigure says: Build the operating system described in file, activate it, and switch to it. A cursory search didn't bring up any information on what or where ...
FriendFX's user avatar
  • 359
5 votes
3 answers
1k views

Compile program in GNU GuixSD with cmake

I am trying to compile Xash3D on GuixSD v1.0.0 and gcc 8.3.0. As is shown below, ld (GNU Linker) is giving me errors, that ctr1.o and ctri.o are missing. These files exist elsewhere under multiple ...
user avatar
1 vote
0 answers
141 views

Where is Icecat's plugins directory on GuixSD?

I want to try to add libflashplayer.so to Icecat. As it was on other distributions needs to add this file to plugins directory. But on GuixSD I have lot of them and nothing works! So there each user ...
znavko's user avatar
  • 43
2 votes
1 answer
4k views

mkfs.vfat not found on GuixSD

Troubles formatting usb-flash under GuixSD, cause it cannot find mkfs.vfat. I've installed dosfstools but util-linux installation shows some another stuff. # guix package -i dosfstools The following ...
znavko's user avatar
  • 43
3 votes
1 answer
597 views

Installing packages on Guix: How to specify a specific platform/system?

On Guix, I can install the hello package like this: $ guix package -i hello I can see that this package is available in different architectures: $ guix package --show=hello [...] systems: x86_64-...
hmk's user avatar
  • 101
3 votes
2 answers
607 views

How can I install a rpm to Guix?

I have an rpm package prebuilt by a third party and have to install it into my Guix server machine. So how can I install an rpm package into a Guix machine? Thanks.
cmal's user avatar
  • 133
6 votes
2 answers
2k views

Can Guix packages be delivered to other distros?

Flatpak and snapd packages are available on other distributions because their respective package managers being built for installation on multiple distros [1][2]. Is this also true for the Guix ...
lofidevops's user avatar
  • 2,987
12 votes
4 answers
6k views

Installing Nix or Guix without root permissions?

This answer to the question Non-Root Package Managers suggests Nix as a solution. However, the installation documentation says: The script will invoke sudo to create /nix if it doesn’t already ...
Amelio Vazquez-Reina's user avatar