IRC channel logs
2023-06-05.log
back to list of logs
<TheSkylarverncc[>hey! im trying to set some environment variables in home-bash-service-type so that my environment contains an alternate libgl driver path with a custom mesa package, but i get "error: ungexp: unbound variable" <TheSkylarverncc[>`(("LIBGL_DRIVERS_PATH" . ,(string-append #$mesa "/lib/dri:" #$mesa-i915 "/lib/dri")) <mirai>#$ only makes sense within a #~ <spacecadet[m]>Figured out mount dependencies, it's obvious in hindsight and is exactly what the manual says, the file-system object needs to be in the dependencies list. (define file-system-a (file-system ...)) and (define file-system-b (file-system ... (dependencies (list file-system-a)))) <fasca[m]>If i install guix without graphical install i can install xorg/xinit and make startx with i3 without gdm? <bumble[m]>@bruno yes I started with guix this way, using a minimal install that allowed reboot into the system with minimal working wifi and emacs <fasca[m]><bumble[m]> "@bruno yes I started with guix..." <- Minimal <fasca[m]>Or i necesserary more packagers or other? <cdo256>fasca: this is the same as other distros apart from the installer, so you can look at the i3 documentation (or the arch wiki is usually quite good) to see if they have reccomended software you might want <cdo256>Then you can `guix search` for them, which you can do after you've installed so you don't need to worry about getting every last package you might need before booting. <cdo256>if you need to get up and running quickly, you could install gnome to start off with and later uninstalling it after you get i3 working <fasca[m]><cdo256> "fasca: this is the same as other..." <- But in relation with startx <fasca[m]><cdo256> "if you need to get up and..." <- And after how to remoce gdm? <civodul>ACTION restarted "guix publish" on ci.guix as it was seemingly not responding <rekado>sneek: later tell anemofilia we need more context, but from what I can tell you’re placing your *shepherd service* where a service type value would be needed <cbaines>civodul, maybe not in the generic sense, at least not yet. Obviously I see the build coordinator as an important tool for some continuous integration in Guix, but I don't think it's very easy to use for more general things yet. <human_equivalent>Hello. Long time linux admin but new to guix and lisps. Naive question: With a /etc/config.scm based on the templates in the guix git repository, should I expect a guix system reconfigure to be able to change the hostname if I change the hostname in this scheme file? git grep host-name isn't getting me very far either. (what i'm trying to do is have a vm template, distribute new /etc/config.scm's to <civodul>cbaines: ok, thanks for your feedback; maybe we can work towards modularized microservices/actors <mekeor>(i already installed emacs-consult --with-branch=emacs-consult=main), but i guess the compiled "consult-register" file assumes that i don't use emacs@30, altough, i do.) <rekado>cbaines: the firewall traffic thresholds for bayfront have been increased <rekado>please let me know if it’s flagged again so we can adjust the thresholds again <bost>Hi. `guix pull` reports "channel dependency has an invalid introduction field" for the guix channel. Do you know what's going on? <tschilp>Hi guix! Do you have a clue, why a webcam might not show up with gnome's screen recorder, does it need wayland? I'm on xorg and simple-screen-recorder works nicely. <tschilp>Simple screenshots work fine with gnome's built in tool, just the camera icon does not show up. <civodul>selecting "Broken" above is all i had to do <cbaines>civodul, yeah, although I'd like to make that easier in the future, and not require people to click through to the data service <civodul>clicking through is acceptable, but i tend to not pay attention to the options at the top of the Data Service page <civodul>(data from a user study with a sample of 1) <efraim>home-inputrc-service-type sentoff to guix-patches <civodul>efraim: neat! i'd been thinking it'd be nice to have <efraim>I even got the recursive definitions from conditionals <efraim>suprisingly easier than indenting it nicely <cbaines>civodul, it should be substitutable, but that's from data.qa.guix.gnu.org and not bordeaux.guix.gnu.org <cbaines>it looks like the existing build of qgis was flaky, so you can always ask the build coordinator to build it some more times, and see if it passes <cbaines>that information will factor in to QA <civodul>cbaines: sorry about that, but i forgot how i did it, can't find it in my shell history, IRC logs, etc. <cbaines>Currently the only way is to run: guix-build-coordinator build /gnu/store/....drv on bayfront <cbaines>you probably want to add --priority=1000 or something like that so the builds happen soon <civodul>(also "guix-build-coordinator --help" segfaults) <cbaines>yeah, the command line help needs writing still <janneke>crap, coreutils (the one after final) runs more tests (written ir perl, yay!); two more failures, another hurd-world-rebuild coming up... <janneke>of course, we can already build "hello", but wouldn't a self-hosting hurd be nice? <ennoausberlin>Hello guix. Is someone using guix with virtual framebuffer for X or wayland for machines without graphic chip? xfvb? <ChocolettePalett>I'd love to use framebuffer only, but unfortunately I have to write my own framebuffer terminal emulator <jpoiret>is there any difference between using framebuffer and a minimal wayland compositor? <ChocolettePalett>Moreover, as for me, both Wayland and Xorg are bloat, I only want to use GNU/Emacs, send emails via mutt, chat in Matrix via ement.el, chat here in irc using ii, and watch funny videos using mpv <jpoiret>why huge? wayland compositors can be quite small <ennoausberlin>jpoiret: I finally got my hands on an honeycomb lx2. Ubuntu is running. guix as package manager installed. ssh port forwarding active. Now, I wonder how to get some remote graphical login. <janneke>ACTION trying to build openssl natively for the Hurd... <janneke>/gnu/store/...-bash-minimal-5.1.16/bin/sh: line 1: cc: command not found <rekado>ennoausberlin: I never installed anything graphical on the honeycombs <janneke>now that's weird, how would that work on other archs ;-) <rekado>ennoausberlin: our system configs for Guix System are available in the maintenance repos <ennoausberlin>rekado: Yes, we talked a few months ago about these system configs. The main purpose of this machine will be cuirass, so there is no real need to have framebuffer or vnc. I just was curious if it is possible <spacecadet[m]>bost: I had the same issue yesterday, fixed it by removing comments from my .guix-channel file <janneke>openssl's configuration is weird, for hurd we really need to set CC and then we're Ok <civodul>janneke, jpoiret: BTW, am i right that there's a couple of Hurd patch series ready to go? <Cairn>Ok, building the installation image. `guix system: error: canonicalize-path: No such file or directory: "/gnu/store/...-guix-1.4.0/share/guile/site/3.0/gnu/installer/aux-files/logo.txt"` <janneke>civodul: i believe two patch sets are ready to go (once mostly cosmetic changes suggested in the review are done) <jpoiret>Cairn: are you using a guix checkout or a guix-pulled guix? <Cairn>Seems like the aux-files directory was merged with the parent at some point, so logo.txt is just in installer... <jpoiret>civodul: I haven't thought too much about that for a bit, but I can have a look soon <janneke>jpoiret: np ,you've been doing amazing things, lately! <janneke>ACTION has been using their time well maturing the yet-to-be-sent hurd native build patch set <Cairn>I'm pretty sure I'm just using a regular guix pulled guix, since I just set it up to build this installer anyway. <jpoiret>i would even bet you're using a guix package, not a guix pull'd guix <Cairn>jpoiret: /usr/local/bin/guix <jpoiret>right, you're using debian's guix, not a guix pulled guix <Cairn>I used the guix-installer script <janneke>command -v is like type -p, it's a standards thing <jpoiret>janneke: i was asking for the output of that command :p <janneke>jpoiret: yeah is see now, sorry for the noise ;) <Cairn>And I'm on Fedora for this actually <jpoiret>ah, then Fedora, doesn't matter, was mistaking you for someone else <Cairn>Sorry, jpoiret, I should have mentioned that this new issue isn't related to the first one I posted about. I ended up using an earlier version of install.scm for this and was able to /start/ the build process at least. <Cairn>Sorry, it's long: /home/cairn/.config/guix/current/bin:/home/cairn/.local/bin:/home/cairn/bin:/home/cairn/.config/guix/current/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin <Cairn>But yeah, the trouble file is definitely just right there in the parent directory. aux-files doesn't exist on my system. <jpoiret>Cairn: do you have a guix in /home/cairn/.config/guix/current/bin? <jpoiret>can you do `hash guix` and `command -v guix`? <Cairn>Yeah, that switched it to the one in .config <Cairn>What difference does that make exactly? <jpoiret>they're not built in the same way, and you never end up using the one in /usr/bin/guix except for very specific cases <jpoiret>(like the daemon and the first guix pull) <Cairn>Aha, yeah. I see that now. Seems like it'll fix both my issues, thanks. <Cairn>I'll update that issue to point other folks in the right direction <PotentialUser-0>in the .bash_profile file, but I don't have write permissions and it seems that for me to be able to get those write permissions I must first unmount and remount my filesystem to be read-writable. <Cairn>PotentialUser-0: You don't have write permissions for .bash_profile in your home directory? <pjals>yea thats normal, its a guix home thing <pjals>you need to change your bash_profile through guix home <PotentialUser-0>pjals thanks for the answer and letting me know it's with guix home I'll have to do something. I'm still reading the manual and I'll wait to reach and read that part before doing something then. <janneke>yay, Debian disables make check for python too <janneke> ifneq (,$(filter $(DEB_HOST_ARCH), armel hppa mips mipsel mips64 mips64el riscv64 s390 hurd-i386 kfreebsd-amd64 kfreebsd-i386)) <janneke>ACTION struggles with python(-minimal)'s check freezing the childhurd and investigated... <janneke>ACTION adds test_venv to --exclude and retries... <janneke>...aand another python test freezes our hurd <janneke>0:14:38 load avg: 0.00 running: test_multiprocessing_forkserver (13 min) <janneke>0:21:38 load avg: 0.00 running: test_multiprocessing_forkserver (20 min) <janneke>ACTION is tempted to add it to the tests --exclude list by now... <efraim>do it, and then just say it seems to hang forever <_graywolf>Hi, quick question, when running guix shell, I am not sure I understand the difference between -f and -m (and guix.scm and manifest.scm). When I consider a git repository, if it represents a single package, I would want to go with -f/guix.scm, which would contain the package definition for the repository. If, on the other hand, the repository would be a mix of multiple projects, and I just want to <_graywolf>provide a unified environment for developers, I would go with -m/manifest.scm. Is that roughly correct? <ytc>Could you please explain the aim of declaring packages in home configuration? Do I need to add every package that I installed using `guix package' also to my home config? <rekado>ytc: I’m declaring packages there so I don’t have to use “guix package” any more <rekado>I prefer to have it all declared at once rather than built up iteratively <ytc>rekado: When I add a package that doesn't exist in user profile, and reconfigure, I still don't see it on $PATH <_graywolf>So, I am trying to follow along the latest blog post, and it seems that `guix shell' and `guix shell -f guix.scm' are not the same. Is there a way to achieve the behavior of plain `guix shell' without adding the directory to the sehll-authorized-directories? <ytc>rekado: Besides, doesn't having more than one way to install packages mess things up? I mean, we can always create manifest files and version control them. <_graywolf>Hm, so I managed to figure it out, `guix shell -D -f guix.scm' is the answer, but I would not guess from `include the development inputs of the next package' that it also does *not* try to build the package in guix.scm <_graywolf>Oh, I see, so if I want to have both guile and it's devel dependencies, I need to call it like `guix shell -D guile guile' <attila_lendvai_>checking for substitutes and local building should happen in a linear fashion, because the local builds for some packages take so long that substitutes can become available <attila_lendvai_>currently, the decision what to build happens at the beginning of issuing e.g. a reconfigure <ngz>Could someone please paste a minimal example of XeTeX + polyglossia document? <jpoiret>attila_lendvai: i don't think it's a good idea to poll substitute servers multiple times for a single guix build <ngz>Let me emphasize "minimal" :) <attila_lendvai>jpoiret, that's a good point. but then maybe reload it every n minutes? <mirai>if I delete the quote, it fails to handle empty-lists <mirai>but with quote then non-empty lists fail <janneke>efraim: do you happen to know how the python test suite works? <janneke>0:07:32 load avg: 1.15 [177/401/4] test_runpy passed <janneke>so, most probably the next test is problematic, but which one would it be, i cannot find a list of tests? <janneke>(well, there's an alphabetical list for windows that's obviously not being used) <janneke>and it also doesn't seem to be the order that "find" return... <civodul>janneke: "freezes" as in you cannot log in or anything? <civodul>what if you jump to vnc and enter kdb with C-M-d? (is that the right key binding?) <janneke>yes, tramp shell is gone, cannot login <janneke>i'm using com0 console, not sure if i can enter the debugger <janneke>no, it seems qemu needs to be run in some obnoxious graphical mode to get a debugger <ngz>sneek later ask rekado Would you happen to know what is the invocation to generate code from a ".dtx" file but skip the driver part, i.e., the documentation? <civodul>janneke: if you leave "-no-graphics" out you should get the qemu window, right? <mirai>what's the rationale for thunking a field? why does define-configuration thunk every field value? <mirai>regular define-record-type* usually don't do it <janneke>civodul: yeah, but then /me needs to type qwerty and i'm not even sure i can copy/capture output <janneke>possibly if i would enable a mouse, dunno <janneke>ACTION is probably too stubborn for this graphical world... <janneke>ACTION patches test/libregrtest/runtest.py to print the test that is being run <zamfofex>Hello, Guix! I know I’m always late, but good job to everyone involved in issue 63527! I’m looking forward to booting to the Hurd some time soon enough, and probably also helping port/fix the packages I use!