<roptat>looks like it's even worse with the external supply somehow :/ <roptat>haha! with a 2A usb power, it seems to find the disk, so that might have been it <roptat>unfortunately, the disk crashed at boot, so still not enough power! <nckx>lsl88: Swap should really be as simple as (swap-devices (list "/dev/sda2"))… <nckx>☝ from my configuration. <nckx>lsl88: I did, believe it or not. <lsl88>nckx: oh, my bad. I added it differently <lsl88>hahaha I will believe you ;) <roptat>vagrantc, so I'll have to buy a better charger <roptat>the charger will probably be cheaper :p <nckx>The SSD will probably be faster. <roptat>so with a ssd I won't need more than 2A? <nckx>In total? My Samsung 860 EVO is 1.2A. <roptat>ok, I bought one, I'll get it in two days :) <roptat>time to go to bed now, see you :) <htsr>I'm reinstalling GuixSD with the qemu image but I don't understand the note at starup. It says "Expand the root partition to fill the space available by 0) deleting and recreating the partition with fsdisk, [...]" but the / partition is the first. So I need to move the second and then delete and recreate? Or the second is not important? (It seems to containt the boot) <htsr>delete and recreate the first one <htsr>And lsblk indicate that /dev/sda is only 1.3G so is it possible to expand it? <vagrantc>gah. i just tried to configure a desktop for the c201, and it rendered the system ... not unbootable, but it was impossible to log in ... the logins on the ttys failed and slim didn't successfully start <vagrantc>and depthcharge does not make it particularly easy to access prior system generations... <leungbk>how can i apply a .patch file to a .el file i am packaging? when i try applying my patch, i am told in the build log that my thing is not a .tar file. <sneek>Welcome back leungbk, you have 1 message. <sneek>leungbk, jackhill says: perhaps instead of a whole separate package a separate output would do? However, does having the elisp files (and compiled elisp files) available force the user to install emacs? My untested assumption would be that it would not (just like having info files doesn't force a user to install an info reader). Of course emacs will be required to build, but if a user is able to get a <leungbk>oh, does this mean i should use (replace 'install [...])? <nckx>leungbk: If you're talking about jackhill's sneek message: not per se. It probably means just leave the elisp files where they are (they're not large) or use (outputs "out" "foo") if you really want to separate them. <nckx>ButI can't speak for them, of course. ☺ <rvgn>I started to wonder why GNU emacs adopted so many feature that are very far from it's initial objective. Because, GNU Project follows Unix Philosophy of "Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features". It is confusing to see GNU emacs (a GNU Package) deviated from GNU' <rvgn>s design principles. Why? <rvgn>Never mind. Sorry, outside the scope of the channel. <janneke>rvgn: GNU 's Not Unix in some/many ways, there's lots to read at gnu.org <rvgn>janneke Hmm. Would be better if there is precise differentiation. ***rekado_ is now known as rekado
<rekado>Emacs is a manifestation of GNU ideas. <rekado>It is a mistake to think that Emacs has become too complicated by new features. <rekado>it is a text editor platform, not a mere text editor. <rekado>it is very modular and very hackable. <rekado>“text editing” can be found in many different domains, and Emacs is flexible enough to be useful in many of them. <rekado>it was never meant to be minimalist. <Blackbeard[m]>an environment that allows you to create your own programs in top of it <Blackbeard[m]>after all it doesn't do much but it has a bunch of packages that can make it do anything <dt3>does anyone know which package contains 'dig'? <dt3>I've been looking for longer than I care to admit, and it's making troubleshooting my dns setup quite difficult <dt3>eh, disregard, I found 'adns' which seems to do the job, although I would have thought dig would be somewhere, I even installed bind :( <Blackbeard[m]>The Name Service Switch (NSS) facility is part of the GNU C Library (glibc) and backs the getaddrinfo(3) API, used to resolve domain names. <rekado>dt3: “bind” has more than one output! <rvgn>Blackbeard[m] That's cool. ***countingsort is now known as buffet
<roptat>how to get a list of characters from a string, as single-char strings? like "abc" -> '("a" "b" "c"), so not like string->list <roptat>or, to be more clear what I actually want in the end is to insert a "." between every character <pinoaffe>roptat: (define (string->stringlist string) (map (lambda (x) (make-string 1 x)) (string->list "asdf"))) <pinoaffe>(define (string->stringlist string) (map (lambda (x) (make-string 1 x)) (string->list string))) :) <pinoaffe>unrelated: any news on lvm support for guix? <civodul>looks like there's relatively little demand ;-) <rekado>roptat: this is shorter (define (string->stringlist s) (map string (string->list s))) <pinoaffe>rekado: aight, didn't know the string function <apteryx>any easy way to restart all services using herd? <apteryx>(my user services -- I wouldn't attempt this on my system services :-)) ***Server sets mode: +cnt
<vagrantc>herd: exception caught while executing 'start' on service 'file-system-/sys/fs/cgroup/perf_event' <vagrantc>only happens when i try to enable a desktop system... but it breaks console logins too ... i'm hoping it's just a matter of enabling CONFIG_CGROUP_PERF in the kernel ... but that seems to depend on some other options <Blackbeard[m]>GitHub - dbordak/telephone-line: A new implementation of Powerline for Emacs <kmicu>Blackbeard[m]: it’s free software. Sure. <amz3>very nice, tx for sharing <Blackbeard[m]>GitHub - domtronn/spaceline-all-the-icons.el: A Spaceline Mode Line theme using All The Icons for Emacs <apteryx>I think we shouln't parse requirements from requirements.txt in our pypi importer. Nowadays packages use setup.py to list their requirements. <ng0>but the move to it is there <rekado>apteryx: I found that the pypi importer has become a little less useful over time. I’ve encountered many packages where no depenencies could be detected at all. <efraim>I finally realized that shepherd is at /run/current-system/profile/bin/shepherd and I don't need to install it locally to have my own shepherd services <efraim>perhaps if it can't find a requrements.txt it should spit out a message to check setup.py, but I think it'd become obvious when it fails to build <efraim>perhaps have it also parse test-requrements.txt if it does find requirements.txt and add it to native-inputs <apteryx>our current scheme is to look into the wheel metadata.json for a "run_requires" list, else fallback on a */.egg-info/requires.txt file, which resembles a INI. <apteryx>(and we used to also look in requirements.txt before requires.txt, but I've just stripped this out) <apteryx>my understanding is that if a package has a setup.py, it'll have the metadata.json or requires.txt populated. If it doesn't have that, well, it's not on PyPI and thus would need a careful look at how they did things anyway. <apteryx>requirements.txt is not warranteed to be there, and if it is, it might contains stuff we don't want (typically used for freezing a development environment, including extra tools). <apteryx>would someone you know why our tests have module names like (test-pypi) instead of (test pypi)? <efraim>not sure, but they all seem to in the tests directory <apteryx>It makes running a single file interactively fail <apteryx>If I rename the module (tests pypi), I can do C-c C-b to run the module in Geiser and see the result. <ArneBab>can I get kvm support in qemu on guix? <ArneBab>when I run qemu-system-x86_64 -machine pc,accel=kvm … I get <ArneBab>qemu-system-x86_64: failed to initialize KVM: No such file or directory <apteryx>hmm, I thought it should just work, since the guix builders can use kvm (as per the info manual) <apteryx>as a ugly test, you could try running with root? <apteryx>just to validate it's a group issue? <ArneBab># qemu-system-x86_64 -cpu max -machine pc,accel=kvm <ArneBab>Could not access KVM kernel module: No such file or directory <ArneBab>qemu-system-x86_64: failed to initialize KVM: No such file or directory <bavier>iirc on one of my systems I had to enable virtualization in the BIOS for kvm to work <ArneBab>ah, that could be the issue, yes. I did not change my bios besides slowing down the fans as much as possible. I’ll try that. Thank you! <apteryx>ArneBab: also, maybe make sure that lsmod | grep kvm returns something, although that should be the case on a Guix system. <ArneBab>apteryx, bavier: it worked! Thank you! <ArneBab>I hadn’t activated virtualization in the BIOS but expected it to be active by default … <ArneBab>… because why should it ever be off? …