IRC channel logs


back to list of logs

<roptat>hi guix!
***jonsger1 is now known as jonsger
<civodul>Hello Guix!
***snape` is now known as snape
<kmicu>( ^_^)/
<janneke>how/where does sshd get the privilege to open port 22, the service descriptions seems to have it run as sshd user?
<mbakke>janneke: It seems it starts as root, and drops privileges on its own.
<mbakke>To (forcibly) run services as a specific user, the #:user argument to (make-forkexec-constructor ...) must be passed.
<janneke>mbakke: that's it; thanks!
***enick_219 is now known as sturm
<sturm>Does anyone else find that tabs in gnome-terminal don't open up in the same working directory - like they do on Trisquel?
<efraim>What version of GNOME is in Trisquel?
<`ani`>so when your installation media supports at least JFS and XFS, as well as including decent text editors (emacs and vim are a great start). I'll check in again, and you probably should work on LUKS encrypted drives too so they can boot into an OS (in order to use the computer).
*sturm is booting up Trisquel 8 to find out
<sturm>efraim: `apt-cache policy gnome-terminal` shows version 3.18.3-1ubuntu1
<nly>How should I go about packaging a emacs extension?
<nly>From what I understand the extension.el file is copied to /gnu/store/../site-lisp/emacs.d/...
<nly>so can I write a guix.scm for the package or do I inherit emacs package?
<snape>nly: see gnu/packages/emacs.scm, there are a lot of examples
<snape>they don't inherit the emacs package
<snape>then you just need to install the newly created package
<snape>and restart emacs
<nly>But this file is in store, so read-only
<snape>nly: what file?
<snape>if you want to package an emacs mode, you need to clone the Guix git repository first
<snape>it'll contain gnu/packages/emacs.scm, which you will edit
<snape>you can test it too with ./pre-inst-env guix package -i emacs
<snape>(you need to compile it first, with ./bootstrap; ./configure --localstatedir=/var; make)
<nly>How do I get the guix hash from a specific git commit?
<pkill9>nly: clone the repository and run `guix hash -xr` in it
<nly>Ty snape pkill9
<snape>nly: or alternatively, you build and use the error message
<nly>My system can't resume from suspend
<nly>$ guix --version
<pkill9>what happens nly?
<pkill9>is the power light 'breathing' and doesn't resume?
<nly>The fans come on, as they do when it resumes from suspend. But no signal on display
<nly>Let me try^
<nly>The power light fully lights up from breathing mode
<nly>But still no display
<pkill9>is this on a laptop or desktop?
<nly>Something in elogind-service-type?
<pkill9>does anything show up in `dmesg`?
<nly>How to see dmesg for previous boot? I restarted
<pkill9>oh, dunno
<pkill9>does the rest of the OS work after you resume?
<nly>How would I tell
<pkill9>you could maybe press a keyboard shortcut to open terminal and play a sound or something to see if it's responding
<nly>I guess I'll setup openssh
<nly>OK that too
<pkill9>and if it is, you could run `dmesg > ~/dmesg.log` to see if anything relating to resume is shown
<pkill9>(read it after rebooting, or yeah sshing in)
<nly>I'll do it after dinner
<nly>Half hr
<nly>I am able to ssh and dump dmesg
<nly>Is vbetool pkged on guix?
<rekado>this is neat:
<rekado>our Docker exporter is pretty slow now, and I wonder if that would make it faster.
<nly>hydroponics are awesome
<nly>sry, wrong window
<rekado>it’s true!
<rekado>(aquaponics is nice too)
<nly>Yep :D
<efraim>We thought about aquaponics at our place but it technically counted as a fish farm which isn't legal in town limits
<nly>Were you setting up something big?
<efraim>We picked up a couple 220 liter barrels and were getting everything ready
<nly>Ah, too bad
<kurimi>Hello, is it normal that installing manifest takes ages? i runned it once... it did its job... i rerunned (to check if its really finished) and... im doing it like for 6 hours...
<nly>Ah, idk
<nly>My gpu(rx570) isn't being used in 0ad
<Laalf>nly: the rx series cards need proprietary firmware
<Laalf>actually amd cards need proprietary firmware.
<davexunit>yeah, I bought an amd card after reading up on how they had free drivers only to find that it didn't work because it requires proprietary firmware.
<Laalf>how do you even get the amd cards to run? xf86-video-amdgpu isnt packaged anywhere
<Laalf>probably cpu rendering
<Laalf>gonna get a 5960x just for cpu rendering because libre compatible gpus dont really exist today
<nly>My PC can run 0ad at 5 fps lol
<Laalf>with a decent cpu it should run faster...
<nly>Laalf: there is an update for Linux 4.20 have you read about it?
<nly>Laalf: of course
<Laalf>nly: we are at 4.19-rc6. what news?
<Laalf>i know that i should not click on phoronix articles and "DRM" scares me even more.
<nly>Looks bad
<nly>tree is placeholder for propreitary code?
<Laalf>nly: do "cd ~ && tree" and you will know what tree is
<taylan>fun-fact: "cd" is equivalent to "cd ~"
<Laalf>i wouldnt know because alias. i even shorten cd. what is wrong with me
<efraim>Tree is one of my favorite commands
<efraim>That and tig
<nly>Laalf: I am aliasing this
<Laalf>nly: cd ~ changes directory to your home. tree is the command i wanted to show
*taylan didn't know of tig
<taylan>surely it can't beat Magit?
<lfam>Laalf: In this case, DRM stands for 'direct rendering manager'
<lfam>It's not about copy protection
<Laalf>lfam: also "digital restrictions management" because i cant use it without closed software.
<lfam>That's not what it's referring to in this case
*nly trying tig
<Laalf>i know now. but i still dont know what graphics card to buy...
<lfam>Does anyone know any programs package in Guix, besides LibreOffice and Audacity, that crash when you use the 'File > Open' dialog on distros besides GuixSD?
<rekado>lfam: we have a few packages that have their executables wrapped in GSETTINGS_SCHEMA_DIR with a comment saying “For GtkFileChooserDialog”. Is this related?
<lfam>Yes, that's what I'm looking for. I'll grep
<efraim>i don't use most of the features from tig, mostly just to browse the git history
<nly>Tig doesn't work in emacs shell
*nly shudders
<Laalf>when wanting to add a patchfile to a package, how would i go about it? can i give links to patchfiles?
<lfam>Laalf: Yes, you can either download the patch as an input to the package, or include it in the Guix source tree
<lfam>Commit 445ecce92307aa7ab70cf02b70078e860de17dc0 shows an example of including the patch in the Guix source tree
<lfam>Give me a minute to find an example of the former
<nckx>Laalf: Yes. See openttd-engine for an example.
<nckx>Seems like me & lfam crossed streams :-)
<lfam>Thanks nckx
<Laalf>lfam: i just saw that patches takes file-like objects. i will see if i can add a file after an add-after so my wish of ovmf with libvirt and qemu patches gets finally fulfilled
<lfam>My opinion is that it's usually better to include the patch than to download it. It's more reliable to just include the patch in our source code. I would only download the patch as an package input if it's very large or there are a lot of them and they can be downloaded programatically, like for our Bash package
<Laalf>i know that the patches are more than 3000 lines long and i understand 0 about it.
<nckx>...ouch. That's just never a good sign.
<lfam>Okay. The best choice is to proceed in the way that works for you and solves your problem. If it turns out to be a suboptimal solution we can always change it when reviewing your patches
<Laalf>they are not my patches so i will not submit them. i could never write patches for qemu:D
<lfam>I mean, your patches for Guix
<lfam>Who is hosting <>?
<Laalf>one thing i am doing is too specific. i could maybe add something to the docs but not to the package itself. ovmf input for libvirt would be helpful for more i think
<lfam>efraim: Do you know who is hosting <>?
<lfam>efraim: Never mind, I think I figured it out
<efraim>Should be ludo
<lfam>Right :)
<lfam>efraim: Do you know if the way we use them in the build farm involves virtualization (specifically KVM)?
<efraim>lfam: I don't believe so, but i'm pretty sure it has /dev/kvm
<lfam>Right, that's okay. I'm reading this: <>
<efraim>I think I was still working on generating images so we weren't running the system tests yet
<lfam>Even better ;)
<nly>efraim: have you looked at guile-wm?
<efraim>nly: no, I spend most of my time in enlightenment
<nly>efraim: can you share your config.scm?
<lrochfort>Hi all. I'm having trouble installing an ssh client. I have ssh in my use-package-modules, but it's not in my PATH, and I can't install it via guix package -i. Any pointers?
<lrochfort>Oh, this is on GuixSD
<lfam>lrochfort: If you want the SSH client to be available to all users of your system, add it to the list of packages in your config.scm
<lfam>Otherwise, `guix package -i` should work. What command did you run?
<lrochfort>lfam: guix package -i ssh
<lfam>lrochfort: The package you probably want is called 'openssh'
<lfam>lrochfort: You can search the available packages with `guix package --search=FOO`
<lrochfort>lfam: Yes, that would do it! Thanks :)
<lfam>Great :)
<nly>How do you find out which module is missing from config.scm
<lfam>nly: Sometimes a message is printed with suggestions. Otherwise, please share the error message you get, and your config.scm, on <>
<nly>lfam: I can figure this out. Thanks
<lfam>Okay :)
<nly>Also, how do you edit your config.scm. I am editing it in emacs with Tramp. C-x c-f /sudo::/etc/guix/config.scm
<nly>Geiser runs into problems with that ^
<nly>The other option is sudo emacs, without any plugins in root profile
<nly>Error in procedure canonicalize-path in geiser repl
<nly>When i press C-c C-k
<rekado>finally published:
<rekado>strangely, the PDF does not contain any of the graphs and plots ¯\_(ツ)_/¯
<janneke>rekado: congrats!
<civodul>rekado: hurrah!
<civodul>reviewing took a bit of time indeed :-)
*civodul -> zZz
<brettgilio>Hey ludoVV. I watched one of your talks list night
<brettgilio>was good