IRC channel logs
2025-09-13.log
back to list of logs
<madage>janneke: I've seen a similar bug here, but in my case it was slim+dwm <madage>I've sent PR #2630 to fix that on my case <potatoes>Hi all, really silly question. I am trying to add make to a derivation but when I (use-modules (gnu packages base)) I still get an `error: make: unbound variable` <potatoes>does anyone know how to bring make into scope? <ieure>potatoes, Probably need to put your code in a pastebin to get a good answer. <potatoes>I'm just building a file with: `(define-module (foobar) #:use-module (gnu packages base)) make` <potatoes>and then I run `guix package -K -v 3 -f ./my/foobar.scm` <ieure>potatoes, The package name is `make', and it's defined in the module you use, so the variable it's bound to must not be `make'. <potatoes>sorry, one more quick question. How do I pipe a bash command into a file? I just tried: (invoke "./generate-everything.sh" ">" "Cubical/Everything.agda") <potatoes>but everything is treated as an argument. Better question: where is the definition of invoke? <potatoes>Okay, I found the docs for invoke but I still don't know how to pipe one shell command's output into a file <tusharhe`>when I run it just refuses to recognize my password <awth13>tusharhe`: have you added it as a screen-locker (see "(info (guix) X Window)")? <awth13>oops, I meant (info "(guix) X Window") <identity>swaylock complains about being SUID and refuses to unlock, so you have to make sure it is not SUID when you add it as a screen locker <awth13>there is a snippet in the info node I linked specifically for swaylock, I believe it applies if you are on Wayland too (I have it in my config and I use Wayland) <tusharhe`>well I guess I should ask in some other place <Deltafire>heh, it worked first time on my laptop, but wouldn't work properly on my desktop until one day.. it did <FuncProgLinux>idk if this is better asked here or in #guile but. Is it possible to imitate Janet's "binary distribution" in Guile Scheme? Like making a static binary with both the guile interpreter AND the scheme source code inside? <ekaitz_>FuncProgLinux: you can make a guix pack in an appimage...? <FuncProgLinux>ekaitz_: I couldn't run appimages inside Guix. This being said, this also means I have to make a package definition for the scm source code I also want to pack, right? <identity>FuncProgLinux: you are probably better off with using Chez or some other Scheme implementation that can do that, Guile is a runtime first and a compiler second <ekaitz>FuncProgLinux: but appimages built with guix? <FuncProgLinux>identity: I see. I have used the Guile's elisp mode to format .el files :) I haven't looked at other scheme's, only racket but I liked Guile's kwargs and ice-9 <FuncProgLinux>ekaitz: that I haven't tried lol. I have to experiment with the guix cli, it has like a ton utilities <ekaitz>also FuncProgLinux if you want the guile program to be distributed to a guix machine you can just package it and it will work <ekaitz>it guix pack utility is better suited for use in other distros <FuncProgLinux>ekaitz: I want to distribute it to an "Enterprise" Linux clone distribution :) <FuncProgLinux>but it has Guile 3.9 I think and nothing else. I was thinking about making some tools in guile and moving them into the EL distro <simendsjo>Rutherther: Thanks for the tip about etc/commiter.scm. But is there any documentation for the script anywhere? All I see is "it will identify each package diff and create corresponding commits with correct style." It's ~500 loc, so without more documentation, I'd have to read it before trying it out. <Rutherther>I don't know about such docs. The script doesn't take any arguments or anything <FuncProgLinux>I'm sorry to re-ask this question, I cannot find the response I was given in my IceDove IRC logs. I'm trying again to remove gdm to use lightdm (i need it to test one particular package) but I'm getting this error on system reconfigure: the service "xorg-server" appears more than one time. I've done (modify-services %desktop-services (delete gdm-service-type)) <FuncProgLinux> I vaguely remember someone told me not to move (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) inside the lightdm-service-type but to add lightdm-service-type inside the second field xorg config, was that correct? <Rutherther>second argument of set-xorg-configuration. But either removing set-xorg-configuration and adding the second field to lightdm-service-type or setting lightdm-service-type as second argument of set-xorg-configuration is equivalent. So decide based on what you like more