IRC channel logs

2024-03-26.log

back to list of logs

<remyd1>Hi, I am beginning with packaging with guix. How can I specify (syntax) a different source directory for `cmake-build-system` in arguments ?
<remyd1>Here is my manifest which does not work: https://paste.debian.net/1312068/
<remyd1>I think I did not start with the easiest package...
<remyd1>(I already did the "hello-world")
<remyd1>Ok, I added the guix gexp module and the previous error disappeared but it still not work
<remyd1>I need to change "source" directory to "src" directory in cmake
<remyd1>do i need modify-phases ? and how ?
<rekado>if you want to enter a directory after unpacking the source code, use (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda _ (chdir "wherever-you-want"))))
<konradd>hello
<konradd>[2:44:44 PM] <konradd> I'm trying to use it on a HPC cluster... the issue I have is with sssd and openldap. all the users have been defined in openldap, but guix seems without admin intervention just for local users
<konradd>[2:45:21 PM] <konradd> [konrad@frontend ~]$ id konrad
<konradd>[2:45:21 PM] <konradd> uid=10000(konrad) gid=10000(hpc-users) groups=10000(hpc-users)
<konradd>[2:45:21 PM] <konradd> [konrad@frontend ~]$ guix install blabla
<konradd>[2:45:21 PM] <konradd> user with UID 10000 not found
<konradd>[2:45:21 PM] <konradd> guix install: error: while creating directory `/var/guix/profiles/per-user/konrad': Permission denied
<konradd>[2:45:21 PM] <konradd> hint: Please create the `/var/guix/profiles/per-user/konrad' directory, with you as the owner.
<konradd>if I create the /var/guix/profiles/per-user/<username> manually, guix works
<konradd>but there are thousands of users
<konradd>so, is there a way to make guix work directly wirh sssd and openldap?
<konradd>am I the only one?
<remyd1>rekado, thanks