IRC channel logs
2019-11-30.log
back to list of logs
<pat_h>Hello, how do I go about installing guix in such a way that the store is located on an external drive? <bandali>pat_h, hi, should be able to do it if you set up /gnu/store and /var/guix as mount points to elsewhere ? <pkill9>pat_h: are you going to be running guix on a foreign distribution, or installing it as a distro? <pat_h>pkill9: on a foreign distro at the very least, I might bootstrap a guix system image from there <pat_h>bandali: ok I'll look in to that, thanks <pkill9>on a foreign distro you can just bind-mount the gnu store <pkill9>e.g. mount --bind /external/drive/gnu /gnu <pat_h>pkill9: got it, thanks so much! <pkill9>with guix as as distro i think you can put it in the system configuration as long as you configure it to mount at the initrd stage <pat_h>pkill9: Alright perhaps I will try that as well, thank you :) <sneek>Welcome back ScaredySquirrel, you have 1 message. <sneek>ScaredySquirrel, leoprikler says: I've experienced your -6 error before, but IIRC it was not Guix' fault. I think I forgot to `herd start cow-store` or my hard drive was already dying. Not sure which of those it was. <sneek>Welcome back Minall, you have 1 message. <sneek>Minall, nckx says: Is copying everything to /mnt a deal breaker? Running grub-install --boot-directory /mnt/boot --bootloader-id=Guix --efi-directory /mnt/boot/efi might work fine, it also might result in an unbootable system if not all configuration was installed… <Minall>I'm on a new guix installation now, the usb was corrupted, thus the problems <Minall>Btw, I seem to have a 'locale' message everytime I try to guix pull or install something <Minall>Is this normal on a guix installation? <Minall>I'm on a new Guix System installation, how can I install gnome extensions? <Blackbeard[m]>Minall: did you install GNOME ? Are you logged on GNOME right now? <Minall>Blackbeard[m]: Yes, I'm installed on gnome right now <demonshreder>Hi all, Just got installed Guix on my X230 and rebooted but guix pull is failing with HTTP 502, anything I did wrong? <bgardner>I'm also getting 502 on all my guix nodes <bgardner>Blackbeard[m]: demonshreder went offline, but I can still reliably reproduce the 502 error if it helps debugging <bgardner>Blackbeard[m]: Agreed, I'll check tomorrow <drainful>I did my first guix package today: a simple common lisp library. It works fine, but I noticed that the MIT license is not provided in the (guix licenses) module. Is it incompatible with guix or gnu somehow? <drainful>Blackbeard[m]: Thanks! I'm a recent nixos convert and as an lisp/Emacs guy I'm already loving guixsd way more. <Blackbeard[m]>drainful: really? Is there anything you are missing from NixOs? <drainful>Blackbeard[m]: I enjoy writing CL in a hobbyist sense, and the guix support for CL packaging is 100x nicer than nix's. As far as things I'm missing, I quite miss qutebrowser as the latest version is based on chromium. Besides that there isn't really much. I was using nixops to put some stuff on a VPS, but I have just installed nix on guixsd and nixops works fine (I may switch to guix to deploy things in the future). Nixos has feels like <drainful>it has faster substitute downloads as well. <drainful>Though I also took the opportunity while partitioning to set up dual boot with ubuntu for if I ever 100% need some nonfree software (forgive me stallman for I have sinned). <drainful>Blackbeard[m]: I am using both that and icecat right now. It is rough around the edges, but I do approve of the choice of language :). It has great potential, especially for Emacs integration. <drainful>I wrote this bit of elisp to send a common lisp sexp to Next https://gist.github.com/Drainful/9ac950253b0638721d413e44c3443b78 . Combine that with CL code to do the reverse, and there's no end to the potential for integration. I use emacs window manager, so Next could be used as a general-purpose media program that embeds within Emacs like any other buffer, complete with keybindings defined in Emacs. <cbaines>which is shorthand for guix package --list-installed <thomassgn>drainful: the possibilities you describe with your CL <-> Next setup sounds awesome :) There are a few different MIT licenses going by rather similar names, so the rationale for not having MIT license in the license module as far as I understand is clarity. I see this written sometimes: (license license:expat))) ;; MIT license <thomassgn>I'd compare the text of expat and the MIT for your package and then use expat if it is the same (disregarding package and maintener names) <drainful>I see. What do you mean by the test exactly? <drainful>Oh I misread "the text" as "the test". Please disregard. <Franciman>Does anybody use cups and over the network printers? <Franciman>Do i also need to install avahi to make it work? <marusich>Franciman, it does work, but it likely depends very much on your specific printer. Not all features work for all printers - beyond the fact that printing on Linux is a bit tricky to begin with (is it ever easy on any OS, though, really?), the cups packaging seems to have subtle problems in Guix that I've never figured out. <marusich>I don't know if you need avahi; I don't think you need it, since you should be able to set up a printer if you provide the necessary information, like its IP address. <Franciman>because the printer is discovered fine and all <marusich>FWIW, I do not print from Guix System right now because it's really painful for me. My printer works from other GNU/Linux systems, so I print from there. I know Debian has pretty good auto-detection and auto-setup with CUPS. <marusich>If you need a fall-back, consider installing a small Debian system or whatever you prefer, in a VM, and printing from that, while the kinks are worked out in Guix (which of course you can help with). <marusich>You should be able to set it up manually. I've found with printers on GNU/Linux, you often need to provide just the right combination of parameters etc. It's pretty tedious. :( <marusich>For a lot of printers, you can get away with using the "IPP anywhere" drivers, if the printer supports IPP. <marusich>Oh, I guess it's actually called "IPP Everywhere". <marusich>That page doesn't describe precisely what to do. But it's a good starting point. I think you basically need to add your printer and select the "ipp everywhere" driver. <marusich>avahi might help you autodetect the printer, but i don't think it's required for using it? <Franciman>E [29/Nov/2019:00:40:39 +0100] Unable to change ownership of "/gnu/store/vy9jkpblnj5b4jadkq5hylc5d1w3h3ds-cupsd.conf" - Read-only file system <Franciman>but I don't think it's relevant for my issues <Franciman>I use hplip + appsocket/hp jetdirect for connecting over the net <drainful>Nixos has the buildFHSUserEnv function to create a chroot environment that follows FHS for running unpatched binaries; is there anything similar for Guix sd? <nckx>Franciman: I use CUPS to print to my HP 5652 on the LAN and over the Internet. LAN (mDNS) just works with (service avahi-service-type) on both client & server. Windows visitors can see & use printers with no configuration when on the LAN. I use IPP in both cases. Even proxied through nginx… <nckx>Hm, writing it all out sounds insane, but it works. <ng0>there's however elfpatching <ng0>i think someone started packaging a FHS environment at some point in 2019 <ng0>but I can't focus as much as I want anymore on guix, so i don't know what happened to this <ng0>some bootstrap compilers are elfpatched. this used to apply to rustc, but i think guix is beyond that now <ng0>what i did for some software i bought is I created a package which then patches the rpath etc via elfpatch(1) by nix, which is packaged by guix <ng0>(or was it patchelf?) <drainful>I see. I'll use patchelf or use a backup distro for not. <ng0>drainful: for examples: <ng0>find . -type f -print0 | xargs -0 awk '/patchelf/ {print FILENAME":"NR":"$0}' <ng0>or something along those lines <ng0>woww. there used to be more results than just haskel.scm and julia.scm. so much progress in 2019? <nckx>Franciman: Checked; my error_log has the same ‘Unable to change ownership’ error; it's harmless. <ng0>or maybe i have forgotten how this works and you need to search for 'rpath'. anyway, code is out there. <ng0>this week i learned that the 6th edition of SICP has been adapted for scheme standards meeting scheme <ng0>i think the 6th edition is already "old" but it's new compared to other books i have <raingloom>did something kill BTRFS? i can't boot after doing a system reconfigure last night. previous configs work fine. <nckx>raingloom: What errors (if any) do you get? <raingloom>nckx: it was something like "failed to open ctree" and then it pops me into a guile shell <nckx>Oh, wow, that kind of error. <nckx>raingloom: Could you run ‘btrfs check’ from a rescue system? <raingloom>nckx: hmm, i guess i could boot into the other SSD and run it from Arch <raingloom>nckx: back from Arch. btrfs check found no errors. <nckx>raingloom: Good, I guess 🙂 Ideally, we'd get the exact error message + any kernel messages. Don't know if they're still printed to the console at that point or whether you'll need to read /proc/kmsg yourself from ,bournish or the REPL. *nckx hasta go but would really appreciate a bug report with as much info as you can muster. <Franciman>nckx, thanks. In my case the problems is that the hostname for the printer found in the discovery phase <raingloom>nckx: i'll try booting it from Arch in QEMU, might be easier to investigate that way <chrislck>I'd thought that guix would install things cleanly. I somehow installed guile-next, which means now I can't access guile-2.2 anymore :( <zig>chrislck: you can use an environment for that kind of things <chrislck>"guix package -I" showed guile-next and I didn't really want that <pkill9>chrislck: you can undo that with `guix package --roll-back` <pkill9>chrislck: then you can install "guile@2.2" <chrislck>thx all -- I guix remove -r guile-next and used the system-wide guile-2.2 instead <raghav-gururajan>Folks! Is `guix pull` working fine? I am getting errors "git error:502" and "git error: 504". <snape>raghav-gururajan: indeed, Guix's Git repository returns 502 <snape>raghav-gururajan: I'm seeing your previous messages. You were trying to build Guix from source right? <snape>first you need to make sure you don't source anything in your ~/.bashrc <snape>because otherwise it would pollute your 'guix environment guix' <raghav-gururajan>snape I have not made any manual changes to ~/.bashrc. But how do I double check if anything is changed? <snape>I don't know an easy way, it depends on what bad things you would have done in your .bashr <snape>anyway even if you change your environment in .bashrc, 'guix environment -C guix' should work well <snape>so if you do: git -C /your/guix/repository clean -xdf <snape>then cd /your/guix/repository <snape>then 'guix environment -C guix' <snape>then ./bootstrap && ./configure --localstatedir=/var --sysconfdir=/etc *raghav-gururajan accidentally nuked the cloned git repo. Has to re-clone now. <raghav-gururajan>snape By any chance do you know what is currently wrong with guix's git repo that causing 502/504? <snape>it's an infrastructure issue *raghav-gururajan will be brb <bandali>in the mean time, try a "member checkout" <chrislck>here's a bug report: "guix package -v -I": "guix/status.scm:777:9: In procedure logger-for-level: <chrislck>"In procedure nan?: Wrong type argument in position 1: 0.0-1.0i" <snape>raghav-gururajan: for example you shouldn't modify your PATH environment variable in .bashrc <snape>(you should do it in .profile instead) <snape>chrislck: '-v' takes an argument <chrislck>because noobs like me will try various combinations of options and experiment and will try -I which is a valid argument <snape>try to call 'python -c -m', you'll have a backtrace <chrislck>(string->number* str) should error out on non-natural numbers <roptat>at least, it's not nice to get a backtrace, so we could have so sort of explanation, maybe? <chrislck>I'd say yes, a silly bug but weird to a noob nonetheless <snape>parsing all the weird ways users could call your program to return a nice error message is tedious... <snape>and anyway a bug is when there is a backtrace while you're using the program correctly. If you're using it incorrectly and would like a nicer error message, I'd call that a 'feature request' <snape>raghav-gururajan: good ;) It was just a random idea I had anyway <snape>(you can discard the 8th top commits though, which are not upstream) <snape>well, I think you need a Savannah account <snape>git clone raghavgururajan@git.sv.gnu.org:/srv/git/guix.git <snape>it's an ssh key authentication, not a password <snape>anyway having a Savannah account doesn't mean you have access to the Git repositories <snape>raghav-gururajan: I think it works now <bandali>snape, i'm not a member of the guix project, but was able to do a member checkout through ssh just fine <bandali>the issue was probably that raghav-gururajan didn't have an ssh key set up on savannah <bandali>have there been any news about the tls issue with ci.guix? <raghav-gururajan>bandali I see. I do have ssh key setup on savannah. Not sure how to use it though. <bandali>raghav-gururajan, you'd probably want to look into ssh-agent and ssh-add to add your key to the agent <bandali>and then ssh should automatically try and use it <raghav-gururajan>Do anyone use ungoogled-chromium inside gnome session? After opening browser, within 5-10min of browsing/paying videos, the whole system (media+windows) starts to stutter. Happens everytime and been there for quite a long time. <nckx>Hullo everyone. raghav-gururajan: How far'd you get? <raghav-gururajan>nckx I'll be getting back to it in a while. I'll ping you with an update :-) <lispmacs>Is something broke today in guix? I'm getting a 502 error when I attempt to clone or pull the guix git repo <lispmacs>I tried M-x butterfly but that didn't fix it <Blukunfando>Butterflies were made to cause storms, not to fly through them.