password-store is broken in master but builds in version-1.4.0 (utf8 problem)

2022-01-15 Thread edk
Dear Guixers, Using an up to date guix and guix-daemon on a foreign distro (Arch) I can't build password-store. It seems to be broken on cuirass also: https://ci.guix.gnu.org/build/306769/details Same error as I have: an utf8-related test does not pass anymore. On the version-1.4.0 branch, howe

I think thunked fields are breaking my previously working code

2022-01-10 Thread edk
Dear Guixers This is a follow-up on https://lists.gnu.org/archive/html/help-guix/2022-01/msg0.html Using the REPL, I traced the bug on my code trying to update fields of an operating-system records, which on gnu/system.scm are declared as "thunked". Guile is not my primary language. I would

Unknown getter "operating-system-user-services"

2022-01-01 Thread edk
Dear all, In order to programmatically define operating-systems, I use a functional approach, where I edit the fields of the operating-system structure using set-fields, like so: https://gitlab.com/edouardklein/guix/-/blob/beaverlabs/beaver/system.scm#L106 #+begin_src scheme (define* (add-someth

Re: sbcl-ningle: permission denied

2021-12-12 Thread edk
Hi ! The store (everything under /gnu/store) is read-only. The only way to edit it is when building a package. If cl-ningle does not call asdf:make, then you'll need to edit the package so that it does. Maybe there's a way to tell asdf to put build products somewhere else than near the source co

Re: Using emacs library with guix environment

2021-10-06 Thread edk
Hello ! I'm not sure what the problem is with this particular package, but: guix environment emacs-commander will create an env with all you need to BUILD emacs-commander while guix environment --ad-hoc emacs-commander will create an env in which emacs-commander is installed. Now, if guix env

How to lower a record to the build code ?

2021-05-05 Thread edk
Hi, I've been stuck for a few days on the following: Let's say I have a record type: (define-record-type* my-record make-my-record my-record? this-record (first-field my-record-first-field) (second-field my-record-second-field)) And a function that uses such a record, but needs to run on

Can't bind to port 80 from inside a Guix container

2021-04-21 Thread edk
Dear fellow Guixers, I'm trying to run nginx with `guix system container --network toto.scm`, and I get the following error: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied) despite the container script being launched with sudo. I got a root shell inside the container, checked

Environment of a shepherd service

2021-04-11 Thread edk
Dear fellow Guixers, I'm trying to create an operating system declaration, so that I can run a piece of software of mine in a container with =guix system container=. I wrote a package for the software. The package works: the tests pass and when the package is installed I can run the software. I

Error with guile function format

2021-03-12 Thread edk
Dear Guixers, In a channel-that-should-not-be-named, there is the following snippet (apply invoke "7z" "e" (assoc-ref %build-inputs "patch-data") (map (cut format "quake3-latest-pk3s/baseq3/pak~a.pk3" <>) (iota 8 1))) Which, as far as my limite

Re: Port forwarding for Guix containers

2020-11-22 Thread edk
The trick is that guix being written in scheme, operating system declarations can be written in a composable way, where the port N can be a parameter. The way I see it, it is when you compose all your services together on one host that you decide which service gets which port, and declare all th

guix system docker-image : missing root file system and 'incompatible bytecode kind'

2020-10-31 Thread edk
Dear Guix, At the request of a client, I am trying to create a docker image for a guix package I wrote. I pasted my operating-system declaration below. I try to run guix system docker-image denatting.scm If I remove the dummy root file system, I get the error: > /home/edouard/src/denatting/denat

Re: Guix doesnt use guix publish as a substitute

2020-09-02 Thread edk
Hi Pierre ! That was it, thanks a lot ! Sorry I should have read the docs more carefully. The command to run on the first machine was ssh root@SECONDMACHINE guix archive --authorize < /etc/guix/signing-key.pub It now says "downloading from http://localhost:8081/nar/gzip/yyrr1zj2ax53pylzp0mq92sg

Guix doesnt use guix publish as a substitute

2020-09-02 Thread edk
Dear Guixers, On one machine I have the following: $guix describe guile: warning: failed to install locale Génération 201 sept. 2020 17:10:25 (actuelle) beaverlabs d878892 URL du dépôt : https://gitlab.com/edouardklein/guix branche: beaverlabs commit : d8788927c7e8b29702adb971bf