<sneek>alezost, Gamayun says: the kernel panic seems to have been an issue with partitions. Redid partition tables and filesystem, and it appears all sorted now. :)
<sneek>alezost, lfam says: This is a bit paranoid, but the remote server could detect the signature of the Guix downloader and serve something different. And, I think it's worth being a little paranoid since we are making packages for others to use.
<dysfun>alezost: right, well my use case is building virtual machines for deving guix. i want to automate the building of the base images. how do you recommend doing that/
<alezost>dysfun: I don't have any recommendations :-)
<alezost>this question is outside Guix (at least currently)
<dysfun>well i was looking into scripting it with guile last night, but there are way fewer libraries than i expected
<alezost>yes, Guile is not so popular as Python :-(
<dysfun>well i picked up guile many years ago but it wasn't a great implementation back then
<dysfun>at least with python, there is only one implementation to worry about
<sturm>I notice that some packages listed on the package website don't seem to be available, eg. "chromium-bs". Is this because I'm running Guix SD version 0.10.0 and they're not part of that version, or is it some other reason?
<vlegoll>Hello, I'm trying to package some software for guix, but don't know how to build the one I defined in a .scm file, I probably should put this file somewhere but the documentation does not really tell me where it is : I've tried with GUIX_PACKAGE_PATH=$GUIX_PACKAGE_PATH:. but that does not work (even if I put the scm in the ./gnu/packages subfolder).
<alezost>sturm: that's because your Guix is not fresh enough; after "guix pull" such packages should become available for you
<alezost>if it's a package for your own use, you need to set GUIX_PACKAGE_PATH to let's say "/home/<me>/guix-packages", and there you can put your "my-packages.scm" file, and it should define (my-packages) module
<alezost>vlegoll: please ask if it's not clear :-)
<vlegoll>Thanks I'll see if that helps, but I was already trying to follow that doc
<alezost>vlegoll: all is needed is keeping the right directory in GUIX_PACKAGE_PATH and the right module in a package file. BTW there may be an error in the package file; if you paste it somewhere, I can look at it
<vlegoll>no I think it's the right module / right directory problem, I was misled by the hello example...
<alezost>ok, what dir do you put in GUIX_PACKAGE_PATH and what .scm file it is and what "(define-module (...)" it is?
<vlegoll>I've made it to work, now I've got to find a way to build different than the default, because there's no configure script...
<alezost>what does "different than the default" mean? You can delete configure phase: grep for "(delete 'configure)" in ".../gnu/packages" directory
<vlegoll>yeah that will probably do it, I'll also need to apply local patches to the source tree...
<vlegoll>does "guix build" pass CC env var ? I don't see it in /tmp/guix-build-sinit-1.0.drv-0/environment-variables ?
<alezost>vlegoll: no, you need to set it, grep for "CC=gcc" in the packages dir
<vlegoll>thanks again, but that's strange, I had "CC ?= gcc" in the makefile, yet it failed to build telling me it couldn't execute 'cc', which led me to think it did. And I fixed it by changing the "?=" into a simple "="...
<vlegoll>Thanks a lot for the newbie-helping, hope to be able to help myself soon... heading home, bye
<bavier`>I want to search a file for a regexp. Does Guix or Guile offer something straightforward for that?
<bavier`>Maybe I'll just loop over lines and regexp-exec each one