IRC channel logs
2025-07-19.log
back to list of logs
<bdju>Anyone else noticing the insanely high # of build failures recently?! <Kolev>I installed emacs-auto-dark but I cannot require it in Emacs. <human_equivalent>Hello. I have what I think is a simple question. I'm configuring nginx in operating-system but I'm having issues knowing how to properly get the path for fastcgi_param for the config location body. For example (nginx-location-configuration (uri "/") (body '("conffoo;" "confbar;"))) works, but I want something closer to (nginx-location-configuration (uri "/") (body '("conffoo;" (file-append nginx <human_equivalent>"foo/fastcgi_param") "confbar;"))). Versions of what I've tried taught me that '() means it won't be evaluated there and... yeah I've tried a bunch of stuff but I'm stuck. When I get past this I'm almost done with a writeup of how to get Nextcloud up and running using Guix. Going to bed now, I'll check in in the morning! <Kolev>I got auto-dark to work now. <nomike>The commit is moving some stuff from (guix build guile-build-system) to (guix build-system guile). And since (package libfive) imports the build phase of the former, it doesn't like that stuff to be moved around. <nomike>This breaks libfive and this it's dependent inspekt3d and my package pythonscad which I haven't submitted yet. <nomike>The error message produced by `guix build libfive` is "In procedure make-regexp: Wrong type argument in position 1 (expecting string): #f ". <nomike>I'm having a look at the issue right now, but I'm not very experienced with neither guix nor guile and was hoping that someone could help me have a look. <podiki>can you share a more full log? what phase is it failing in <robin>human_equivalent, in that situation you can use quasiquotation, to unquote elements of the list: `("conffoo;" ,(file-append nginx ...) "confbar;"), where the comma instructs scheme to evaluate that expression <robin>human_equivalent, but with functions like file-append, returning file-like objects, you should quote it as a G-expression (#~ to quote, #$ to unquote): #~(list "conffoo;" $#(file-append ...) "confbar;") <robin>(in guix repl you can evaluate (use-modules (guix gexp) (gnu packages web)) then (file-append (@ (gnu packages web) nginx) "/bin/nginx") to see that it doesn't return a file name directly) <Kolev>Is it possible to have all my user scripts in one repo, and have them packaged with Guix? Like scripts/src/hello.scm and scripts/src/ahoy.sh? <meaty>Kolev: if you are still there, have you taken a look at home-file-service-type? <Kolev>meaty, my problem is shebangs. Guix shebangs are ugly as sin. Packaging the scripts will get rid of the shebangs. <Kolev>And Guix shebangs only work on Guix. They don't work on other systems. <hiecaq>Has any one noticed Emacs being extremely slow recently when moving the cursor? I did a profiling and it shows 60% automatic GC and 25% redisplay_internal ... which seems not right. I've never set gc-cons-threshold/gc-cons-percentage manually, and they are 800000/0.1 right now. <hiecaq>I think it starts to happen after I updated my Guix recently. But anyway, setting gc-cons-threshold/gc-cons-percentage to big numbers fixes it for me right now.