Questions tagged [guix]

GNU Guix, a functional package management tool written for the GNU system.

GNU Guix is a package management tool for the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments.

23 questions
11
votes
0 answers

Better reproductibility of rPackages (pin version of packages) in nix in comparison to guix

I'm actually evaluate different solution to enhance/explore reproductibility in my R/Python scientific workflow : data with reproductible analysis (plot, analysis) and paper. There is, as you know, two big linux flavours offer some solutions : Nix…
reyman64
  • 523
  • 4
  • 34
  • 73
4
votes
2 answers

macro expansion in guile scheme

In Guix there's a layer made of macros beautifying the creation and manipulation of srfi-9 records The code is in guix/records.scm The code is large and articulated I thought to expand those macros to see their input and their output in order to…
user1632812
  • 431
  • 3
  • 16
3
votes
1 answer

Build against an old glibc with Guix

Say that you got a c program, but almost any program will do, and put it in a file: #include #include int main (void) { puts (gnu_get_libc_version ()); return 0; } And say that you want to build it against a…
Rovanion
  • 4,382
  • 3
  • 29
  • 49
2
votes
0 answers

clang 14.00 : _GLIBCXX11_DEPRECATED_SUGGEST("std::bind");

Installed clang 14.0 using GNU/Guix's clang-toolchain package. I am getting depreciated feature usage error when trying to compile a simple code: //build with: clang++ main.cpp //main.cpp #include int main() { std::cout << "hello…
aarongile
  • 83
  • 1
  • 5
1
vote
2 answers

Installation of r packages failed with the same error "GLIBCXX_3.4.29' not found"

When I tried to install r package "osmdata" (or any other package) with command install.packages("osmdata") it failed with error "GLIBCXX_3.4.29' not found (required by…
E.Fulassofu
  • 51
  • 1
  • 2
  • 7
1
vote
1 answer

cursor size emacs installed through guix

I have an Arch-linux system and I just installed guix. Using Guix, I installed emacs. When I use the pacman-installed emacs all is well but when I use the guix-installed emacs, the mouse cursor gets really small every time the mouse hover over the…
user17309340
1
vote
1 answer

How the background color pair should affect the color of subsequent characters in ncurses?

I was able to reproduce my issue with this small example code: #include int main() { initscr(); start_color(); init_pair ( 1, COLOR_BLUE, COLOR_BLACK ); init_pair ( 2, COLOR_YELLOW, COLOR_BLACK ); …
Roman Riabenko
  • 201
  • 2
  • 11
1
vote
1 answer

cross-compilation for a missing target with guix build

for example, i can build for the target mips64el-linux-gnu: $ guix build --no-substitutes --target=mips64el-linux-gnu hello ... successfully built…
aleksandr barakin
  • 521
  • 1
  • 13
  • 42
1
vote
0 answers

Cannot Start GUIX Daemon

I've followed all the steps in the installation of GUIX at https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation but when I run sudo ln -sf ~root/.guix-profile/lib/systemd/system/guix-daemon.service …
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
0 answers

Howto disable unit test runs, when building custom Python packages

TLDR When building a custom (Github hosted) Python package, how can we disable unit test runs? DETAIL I'm trying to make a custom guix package from maurosoria/dirsearch. This is the configuration that I have. But building it gives this error (see…
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
0
votes
0 answers

What is #~ in scheme?

What does #~ mean in scheme (guile)? For example in this snippet from the guix source code: #~(list (string-append "prefix=" #$output))
Rikard N
  • 427
  • 4
  • 16
0
votes
1 answer

Where do i find the config for guix in quemu?

I started guix with: qemu-system-x86_64 \ -nic user,model=virtio-net-pci \ -enable-kvm -m 2048 \ -device virtio-blk,drive=myhd \ -drive if=none,file=guix-system-vm-image-1.4.0.x86_64-linux.qcow2,id=myhd How do i find my config. I…
David
  • 2,926
  • 1
  • 27
  • 61
0
votes
1 answer

How to making Guix scripts portable across other UNIX-like systems given Guix's atypical file system structure?

Here is a trivial solution to the problem of writing a script on Guix. #!/run/current-system/profile/bin/env -S guile -s coding: utf-8 !# (display "Hello, world!\n") Notice that the path /run/current-system/profile/bin/env will not exist in other…
0
votes
0 answers

How to run a program at boot time in the Guix system?

Guix implements mcron, a pretty nice "new" implementation of Paul Vixie's cron. Time specifications such as @reboot are non-standard and it seems that mcron did not implement it. However, mcron comes with a Guile API. Is there some way to a…
0
votes
0 answers

Howto Setup a Custom Profile in Guix

I have a Guix OS installation system under ~/.config/guix/system.scm Guix installed a default profile under ~/.guix-profile/etc/profile Are custom home profiles defined in ~/.config/guix? How are they sourced? Are custom home packages defined…
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
1
2