IRC channel logs

2018-11-26.log

back to list of logs

***Server sets mode: +cnt
<efraim>does git-minimal skip the dependency on subversion?
<rekado>logs are back
<civodul>thanks rekado!
<civodul>could we add it to bayfront.scm?
<civodul>or at least write the command-line in a comment until we take the time to make a real service
<civodul>efraim: yes
<civodul>we should also add a "curl-minimal" package
<efraim>civodul: should probably override the outputs, no need for git-minimal:svn output
<civodul>because it's a bit of a kitchen sink right now
<civodul>yes
<civodul>i've just pushed it actually: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=c23cf1832aba44c03ba50a6f318b0415a4437d53
<efraim>ah, nvm, i see git-minimal has "out" as the sole output
<efraim>I should've seen that coming, 'git grep git' in my GUIX_PACKAGE_PATH did not give me the results I wanted at all
<efraim>'git grep ,git' worked though
<rekado>civodul: I’d like to try today.
<rekado>it’s a little convoluted
<civodul>ok
<civodul>any recommendations for a good+cheap ath9k dongle?
<civodul>(wifi)
<civodul>i used to have https://tehnoetic.com/tehnoetic-wireless-adapter-gnu-linux-libre-tet-n150 but i'm wondering if we can do better
<roelj>civodul: Two of those in bonding mode? :D
<ng0>i have these rather big dongles with detachable antenas
<rekado>civodul: ‘better’ in what way?
<ng0>i think you can even put them into mixed-mode, though I', not sure
<ng0>TP-Link TL-WN722N
<ng0>might want to check if they are listed as free, but I'm pretty sure I bought them just because they'd work with -libre and no other modules.
<ng0> https://www.conrad.de/de/tp-link-tl-wn722n-wlan-stick-usb-20-150-mbits-995624.html
<ng0>oh.. that's the exact same chip only with the option for a better antenna I think
<ng0> https://h-node.org/wifi/view/en/357/Atheros-Communications-Inc--AR9271-802-11n
<ng0>anyways, the antenna option is really good in my experience, but it also takes some space (if that's an issue)
<Laalf>Does someone use nomodeset with an Intel GPU? I am unable to start x with it. I thought about adding some options to /etc/modprobe.d but I don't know how.
<civodul>rekado: cheaper and better quality
<civodul>and smaller
<rekado>oh, on all axes :)
<civodul>rekado: yeah or at least one of them :-)
***benny is now known as Guest30159
<Laalf>Is there still no way to populate modprobe.d?
<civodul>Laalf: no, see https://issues.guix.info/issue/24097
<civodul>that said, it shouldn't be hard to do with an "activation snippet" that writes to /run/modprobe.d
<Laalf>civodul: so if i write a service which creates a file in modprobe.d it will not be called at startup, right? What can I do to use kms?
<civodul>Laalf: yes, you would write a service that extends 'activation-service-type' with code to create the relevant files
<civodul>re kms, what do you mean?
<civodul>on x86_64 it "just works"
<Laalf>civodul: I'd like to use nomodeset with my igpu because optimus laptop. I can't use the mode setting driver if I got that right. At least if I want any external displays
<Laalf>Fiddling with activation service type is not really what I want to do
<civodul>in what sense?
<roelj>Has anyone packaged tensorflow for Guix yet?
<Laalf>civodul: I have the nvidia wired to external displays. To use the same x as my Intel, I cannot use modesetting
<rekado>roelj: I’m working on it right now.
<rekado>I still haven’t managed to build all of it, though.
<rekado>the Cmake stuff that comes with it is a little inflexible
<rekado>and some of the options to disable features don’t really work
<rekado>(I wanted to disable gRPC support, but then later it ended up asking for gRPC anyway)
<roelj>rekado: Can you share the patches so far? Maybe I can help.
<rekado>sure
<rekado>when I stop in a few hours I’ll send you what I’ve got so far.
<civodul>roelj: see also https://issues.guix.info/issue/31386
<civodul>by the same author :-)
<roelj>Heh, thanks :)
<rekado>I’m afraid that the previous patch won’t be enough for most projects.
<rekado>it provides just a single statically linked library, which is intended for smartphone apps.
<rekado>no Python support included, etc.
<rekado>my current work for a more useful tensorflow package unfortunately still relies on a lot of bundled sources.
<roelj>rekado: We have a case for a Python-based tensorflow program.
<roelj>rekado: So maybe I can devote time to helping out there.
<roelj>That 'maybe' is a matter of time before I can start working on it
<rekado>yeah, we also have a bunch of them that all need the Python bindings.
<rekado>that’s why I’m working on it.
<roelj>It's absolutely super work you've done so far! Tensorflow and Bazel are really hard..
<rekado>I’ll skip Bazel
<rekado>it’s too difficult
<rekado>the cmake build system for Tensorflow is deprecated, unfortunately, but I hope this will buy us some time.
<Laalf>does someone here use an optimus laptop? i am not able to output to external displays. intel-virtual-output is not existing in xf86-video-intel. there are probably some dependencies missing
<joshuaBPMan>I've got guix installed on a foreign distro, "info guix" fails to open the guix manual.
<jonsger>joshuaBPMan: what gives a "ls /usr/share/guix*"
<joshuaBPMan>jonsger: ls: cannot access '/usr/share/guix*': No such file or directory
<civodul>joshuaBPMan: you should make sure the manual is in $INFOPATH
<rekado>joshuaBPMan: how did you install it? Did you use the installer script?
<joshuaBPMan>rekado: I used the installer script.
<joshuaBPMan>civodul: I'm not sure where the manual is.
<joshuaBPMan>my info path is
<joshuaBPMan>export INFOPATH="/home/joshua/.guix-profile/share/info${INFOPATH:+:}$INFOPATH"
<civodul>joshuaBPMan: guix-install.sh puts the manual in /usr/local/share/info
<civodul>so you need to add that to INFOPATH
<joshuaBPMan>ok. let me try.
<joshuaBPMan>that seems to work! thanks civodul!
<civodul>cool, yw!
<pkill9>does guix have a window manager/desktop environment packaged that uses wayland?
<pkill9>also is xephyr supposed to be in the xorg-server package? This commit implies it should be http://git.savannah.gnu.org/cgit/guix.git/commit/?id=324caeb10958ac0fab593584fd2c494def54c23c
<civodul>pkill9: there are quite a few packages that directly depend on Wayland
<civodul>ISTR that our GNOME works on Wayland, but i've never tried that
<pkill9>oh i found xephyr, it's spelt with a capital X
<civodul>ah!
<rekado>successfully built /gnu/store/rkkh4krqp0a76rz5ii2aigkydr806zfn-tensorflow-1.9.0.drv
<rekado>but something didn’t quite work and it only installed executables.
<rekado>but we’re close!
<civodul>yay
<bavier`>resolving install issues on big packages like that is the worst
<roelj>rekado: Woah cool!
<rekado>roelj: I’ll send you the ugly patches so that you can play with it.
<roelj>rekado: Thanks. What do you think is needed to get "python support"?
<rekado>the Python stuff is actually already built
<rekado>it’s just not installed
<roelj>Hm, ok! So you're very very close to have that too..
<rekado>sent!
<rekado>gotta go paint some window frames now…
<roelj>Oh, have fun / good luck!
<roelj>I guess it'll take some time before I built TensorFlow here.
***vagrantc_ is now known as vagrantc
<civodul>sneek_: later tell snape hope you'll like this: https://issues.guix.info/issue/33515 :-)
<civodul>sneek_ ?
<civodul>sneek_: botsnack
<civodul>hmm, sneek_ looks like a zombie
<janneke>o/
<pkill9>how do i start a second X server instance (bound to another virtual terminal) as another user? i'm getting 'cannot open virtual console 4: permisison denied'
<pkill9>oh i think I need to tell it to output to one of the later vt*'s
<pkill9>hmm i successfully did that but still not allowed
<pkill9>ok temporarily fixed that with chown
<apteryx>don't we have a package for logrotate in guix?
<efraim>we should, we even have a service
<efraim>we have rotlog
<OrangeShark>I am trying to run "make distcheck" on a project I am working on and it complains about a missing TeX binary. Is there a recommend texlive package for this?
<apteryx>efraim: I see! thank you.
<OrangeShark>oh I see a texlive-tiny, lets see if that would be enough
<apteryx>efraim: the package is actually named rottlog
<efraim>oops
<OrangeShark>it works
<pkill9>does guix with %xfce-desktop-service not support switching users? the 'switch user' button is greyed out in the 'action buttons' xfce widget
<_tibbe>Hi, is there a proper way to get the checksum of a git checkout when writing a package definition?
<bavier`>_tibbe: you can use `guix hash -x -r .`
<apteryx>or guix hash -rx . to save 2 chars ;-)
<_tibbe>bavier`: Thanks. Works for me
<bavier`>_tibbe: np
<bavier`>I'm hoping to push my openshot patches soon; the qtwebkit components of that patch set affects, IIRC, 29 packages. Is that fine for 'master'?
<civodul>bavier`: sure, 29 packages is ok for master
<pkill9>for the record on my last question, I'm 99% sure it's greyed out because the 'switch users' button calls a binary that is in the 'gdm' package
<bavier`>civodul: thanks.
<pkill9>so my next question is how do I set gdm to be the login manager?
<pkill9>i assume it's not implemented since the manual talks about slim and sddm, but not gdm
<civodul>GDM, good question
<rekado>we do have a gdm package, but I don’t think we ever made it work as a login manager.
*vagrantc didn't know there was much of anything else it did
<rekado>we use it as an input to other packages
<rekado>but we don’t use it for its intended purpose
<vagrantc>yeah, that was my unspoken hunch :)
<bavier`>efraim: does go@1.4 build on your aarch64 system?
<tavoris>When writing shell script, what should the shebang be in guix?
<tavoris>sorry guixsd
<tavoris>eg. in other systems for bash it'd be #!/bin/bash
<ng0>you could simply write portable shell scripts and use /bin/sh. Or you could use this other line I am thinking of right now
<rekado>tavoris: you can install a particular version of bash in a profile and link it to /bin if you wish.
<rekado>tavoris: or you could use #!/home/tavoris/.guix-profile/bin/bash if it is installed there.
<rekado>tavoris: or #!/run/current-system/profile/bin/bash which is available on GuixSD.
*rekado –> zzZZ
<tavoris>what if it's a portable script?
<tavoris>rekado: like that could move across users and systems
<ng0>also note that you can creat /usr/bin/env
<tavoris>ng0: won't that pollute the environment for other users?
<ng0>there's multiple ways to do it.
<tavoris>ng0: adding env to the root system sounds like a good approach, is there an idiomatic way of doing that?
<tavoris>ng0: I was just wondering if there was an agreed upon approach to this because alot of these exist in the wild
<ng0>ignore the bitrot, but here: https://c.n0.is/ng0/systems/old_systems/tree/guixsd/workstations/abyayala/config.scm#n347
<tavoris>ng0: looks promising thanks
<tavoris>ng0: to be clear this configuration is only applied at install time or on startup also?
<ng0>this entire configuration is for a custom guix and can not run on what you probably have
<ng0>oh
<ng0>yes, this is at system activation time
<tavoris>system activation does that mean startup or installation time?
<ng0>i don't know what your perspective is right now
<ng0>the short story is, it would just exist in the system you have
<tavoris>I used a config script like that with guix system init config.scm /install-dir
<tavoris>but as far as I can tell that was the only time it was invoked
<tavoris>during the installation I mean
<ng0>yes, upgrades of system specific components must be done with "guix system reconfigure" and your file
<tavoris>cool, I'll go play with that for a while then and come back in a few days when I have more questions ^^