IRC channel logs

2019-03-13.log

back to list of logs

***tristanC2 is now known as tristanC
<nckx>ngz: Not necessarily; maybe it just petered out.
<nckx> I support the idea, by the way. It might be convenient to ignore errors when (substitute* (find-files "." ".*") …)'ing [is it?], but I don't think the bitrot that it allows is worth it. We can always add SUBSTITUTE-FOUND or something for that edge case.
*nckx → zZz too.
***catonano_ is now known as catonano
<quiliro>hello Guix
<quiliro>finally have telecomunications at home
<quiliro>now i can hack on guix easily
<quiliro>only need a new machine
<quiliro>because the installation of packages takes too much time
<Blackbeard[m]>quiliro: ٩(◕‿◕。)۶
<Blackbeard[m]>:D
<quiliro>hi again
<quiliro>i have a better signal now
<quiliro>i am sorry i could not see your messages
<quiliro>or that i could not send mine
<quiliro>i hope this new location is better
<quiliro>ping
<quiliro>why is browsing the web with epiphany or icecat so lame on guix?
<taylan>quiliro: with "lame" do you mean slow or something?
<quiliro>i know the web is full of non-standard and non-free websites...but i have a lot of problems viewing web pages with them on guixsd
<quiliro>not slow...pages just don't show...or some things work on one browser and not the other
<quiliro>emacs' eww is the best one that has worked up to now
<taylan>lol! I think I know what you mean, but it's probably a combination of various issues.
<Blackbeard[m]>quiliro: ping
<Blackbeard[m]>you are using default icecat?
<Blackbeard[m]>check the addons
<Blackbeard[m]>you might prefer if you disable some of them
<Blackbeard[m]>and install others like
<Blackbeard[m]>noscript, ublock origin, and decentraleyes
<buenouanq>ublock matrix
<buenouanq>best thing ever
<quiliro>Blackbeard[m]: i did disable all plugins! but still have problems
<quiliro>some web pages do not work on icecat....but i cannot say now...i am at another location
<quiliro>how can guix be so powerful!
<buenouanq>quiliro: freedom and lisp
<buenouanq>┐( '~')┌
<quiliro>buenouanq: yup
<quiliro>haven't had the pleasure with scheme but it sounds promising
<quiliro>starting to learn it
<quiliro>elisp looks similar
<quiliro>and there is a great introductory manual
<Blackbeard[m]>quiliro: yes ٩(◕‿◕。)۶
<Blackbeard[m]>you can take a look at SICP too
<Blackbeard[m]>the video lectures are great
<Blackbeard[m]>:D
<g_bor>hello guix!
<efraim>hi!
<rvgn>o/
<g_bor>I intend to start working on switching the default jdk to openjdk11.
<g_bor>I think I will try to get to the point where openjdk11 itself builds after the switch, then ask for an evalutation on the build farm to see what breaks. Is that reasonable?
<efraim>Sounds good
<efraim>How many packages is it?
<roptat>hi guix!
<roptat>guix refresh -l icedtea says ~400
<roptat>but that sounds very low
<efraim>I think I'd try to also get building the packages needed for the other build systems, like clojure
<rvgn>Hello Guix!
<rvgn>Is it possible for anyone to package Evolution please?
<efraim>You could try the flatpack in the mean time https://wiki.gnome.org/Apps/Evolution
<civodul>Hello Guix!
<rvgn>efraim Thanks! I thought of that. I miss transactional upgrade and roll-back <3 :D
<rvgn>civodul Hello o/
<rvgn>civodul efraim Is there a page to see the status of addition of new packages that are in progress or planned?
<civodul>rvgn: you can check https://issues.guix.info which tracks bug reports and patch submissions
<roptat>I recently wanted to test a feature from godot that's not yet available on the latest version, so I tried --with-branch, and it worked perfectly!
<roptat>civodul, thank you for adding that feature :)
<rvgn>Thanks
<civodul>roptat: glad that it's useful to you! :-)
<civodul>i've just posted patches that add '--with-git-url' among other things
***rekado_ is now known as rekado
*rekado is swamped with work :-/
<nckx>Guix-related work, it seems.
<civodul>rekado: good luck with that, let's hope you'll soon have a calm period ahead!
<rekado>nckx: yup!
<rekado>well, that’s part of it anyway
<rvgn>Hello Guix!
<rekado>rvgn: hello!
<rekado>rvgn: you wanted to see the Evolution mail client packaged, right?
<rvgn>rekado Ah yes :)
<rekado>rvgn: do you think you could figure out what packages are still missing?
<rvgn>To my knowledge GNOME core is not complete yet. Evolution, Contants, Calendar, Tasks etc are missing. I will try to make a list and send it you.
<rvgn>*Notes
<rekado>Are all of these needed for the Evolution mail client?
<rvgn>Oh wait
<rvgn>I thought Evolution comes as one package.
<rvgn>I though you were asking about other missing gnome apps. sorry, my bad.
<rvgn>rekado are you refering to dependncies of evolution?
<rekado>yes
<rekado>it’s easier to tackle something as big as Evolution when it’s clear what missing pieces we will have to deal with.
<rvgn>I'll try to learn and gather dependencies information of evolution from the web and cross check with guix repo.
<rekado>excellent, thanks
<rvgn>And will let you know :)
<rekado>you can also download the Evolution sources and take a look inside the build system files
<rvgn>I see.
<rekado>the information contained therein is usually better
<rvgn>Cool, I'll have a look.
<rvgn>As Guix can be installed inside a foriegn distro, can other pacakge managers (eg. pacman) be installed and used inside Guix System?
<rekado>generally yes.
<rekado>but you can’t mix packages meaningfully
<rvgn>I see.
<rvgn>Just a doubt. So there is actally a package "gnome-calendar" that exists. But why it didn't get installed in my system in the first place when I used desktop.scm config which invokes gnome meta-package and desktop-services?
<rekado>rvgn: that because the gnome package includes only an arbitarily small set of GNOME packages. There’s no good reason for this other than to give the users more flexibility.
<rvgn>Ah I see.
<rvgn>Is it the same case with xorg package too?
<rvgn>An xorg driver for the monitor buttons and stylus pen touch was not installed. How can I get it? Seems like there is no package with name "xorg-drivers".
<rvgn>*for X200T
<nckx>rvgn: ‘xorg-drivers’? Why?
<nckx>‘guix package -A ^xf86’ lists a bunch of stuff, but I've never used monitor buttons or styli under X.
*nckx thought you meant buttons on your monitor, but X200s are laptops, so confused.
<rvgn>nckx I meant buttons on laptop screen.
<nckx>rvgn: Right. I was looking at the wrong image. Nice machine.
<rvgn>nckx I think there is a driver for stylus to work on screen? That is what I used when I was using hyberbola.
<nckx>rvgn: And what was it called?
<rvgn>nckx Thanks. If you know how to enable fingerprint sensor as well, it will be helpful.
<rvgn>Just a sec
<nckx>rvgn: Nope, sorry.
<rvgn>nckx It is xf86-input-wacom
<rvgn>Thats okay]
<nckx>rvgn: Unfortunately for you, xf86-input-wacom isn't part of %default-xorg-modules.
<rvgn>:/
<nckx>You'll have to add it to ‘xorg-configuration-file’ with #:modules (cons xf86-input-wacom %default-xorg-modules)), but I hope someone else knows exactly how. I've never done that.
<nckx>We sure do thread a lot through the display manager…
<roptat>I think there's an example of exactly that in the manual
<roptat>almost, look for bepo-evdev in 6.2.7.5 X Window
*nckx libinputs all the things.
<rvgn>thanks :)
***Elon_Satoshi is now known as Copenhagen_Bram
*civodul posts a 1.0 status update
<taylan>anyone know whether I can load a module directly from a .ucode file, in e.g. the /root directory?
<civodul>taylan: isn't .ucode the extension for some firmware blobs?
<civodul>kernel modules are .ko
<taylan>civodul: you're right, I confused firmware with modules
<taylan>I wish to load the iwlwifi firmware blob for my HP EliteBook's wifi card
<taylan>my connection dropped. my last line was: I wish to load the iwlwifi firmware blob for my HP EliteBook's wifi card
<taylan>I know I'm sinning, but USB tethering over my smartphone is annoying and not very stable :P
<civodul>taylan: i don't recall the details of firmware loading, but hopefully you can find that by grepping through the code of Guix :-)
<taylan>ok, thanks :)
<puoxond>Hello Guix!
<puoxond>I'm having trouble printing certain PDF files on Guix System.
<nckx>civodul: So should we call the installer image and similar things guix-system-…, or just guix-…?
*nckx prefers guix-…
<rekado>puoxond: does it produce empty pages? There is a discussion on the mailing list about this.
<lfam>nckx: But then how to distinguish the standalone package manager tarball?
<puoxond>rekado: No. It doesn't print anything at all.
<nckx>lfam: We have a Guix System tarball? Okido. It was just shorter. I don't really prefer anything. I lied.
<lfam>Lol
<puoxond>It only affects certain files (e.g. https://www.ichkoche.at/?ctl=recipe_pdf&recipe_id=3161).
<lfam>We offer downloads of the operating system installer and the standalone package manager. I don't really care how they are named (we can call them anything we want in the download link)
<lfam>How can I make Guile backtraces not abbreviate file names?
<civodul>nckx: good question! i was looking at that and did s/guixsd-/guix-system-/ for the file names
<puoxond>rekado: Do you mean this (https://lists.gnu.org/archive/html/help-guix/2019-02/msg00195.html) discussion?
<civodul>lfam: you can set the COLUMNS environment variable to a large number
<lfam>Thanks civodul
<puoxond>rekado: It looks like it might be related. I'm using lp and lpr instead of evince, though. And evince has no trouble displaying the file.
<nckx>civodul: Oh, you're already making those changes?
<nckx>Never mind then.
<vagrantc>puoxond: A4 vs. US letter paper size, possibly?
<vagrantc>that often messes with printers
<vagrantc>(or at least used to)
<puoxond>vagrantc: I don't think that's the problem. The document is A4 and so is the paper. And it prints fine if I try it on Debian.
<efraim>I haven't tried printing in a few months but last time I had to pass it over ssh to my other machine with the printer
<nckx>;; Comment of the day: ‘Since Guix System does not have /usr/bin, it is also detected as Windows’
<nckx>That escalated quickly.
<ng0>what
<ng0>where?
<nckx>ng0: gnu/packages/tex.scm:188
<ng0>oof
<vagrantc>one of the more bizarre ways to detect the OS...
<e^x>that is funny
<ng0>"it detects Unix by checking for the existence of the /usr/bin directory" kay..
<ng0>ah it has more problems than just this
<lfam>It's not a bad heuristic! Plus, GNU's not Unix ;)
<nckx>GNEW (GNU's Not Exactly Windows).
<ng0>don't forget the subsystem in windows 10 ;)
<vagrantc>that's why the acronym should use fuzzy wiggle-words.
<efraim>GNU/NT4
*vagrantc wonders if anyone has tried guix on WSL
<ng0>GNU/NT .. GNU's Not There
<nckx>vagrantc: What's WSL?
<nckx>Oh. Never mind. Also what.
<rekado>mbakke: you updated llvm 7 to 7.0.1, but the patches no longer apply.
<rekado>mbakke: erm, never minde.
<rekado>the problem is with python-llvmlite
<lfam>Hey rekado, is it possible to add a Cuirass job on Berlin for the wip-go-build-system branch?
<lfam>Okay if no — in that case I'll either push to staging or master based on the number of rebuilds
<rekado>lfam: oh, sorry, I forgot about this.
<rekado>I’ll try.
*rekado looks at the notes…
<lfam>rekado: It's okay if you are too busy. Like I said, I can push it elsewhere
<rekado>nah, it’s fine
<rekado>I’m just not 100% sure I know what I should do :)
<rekado>but I’ll figure it out
<rekado>lfam: I’ve added it. If it hasn’t started building something in the next few hours I must have forgotten something.
<lfam>Okay, I'll check on it. Thanks :)
<rekado>on the web interface it’s the only entry without a value for Inputs… hmm.
<rekado>I did in fact forget to also modify the Inputs table. Done now.
<lfam>Thanks rekado
<nckx>Icecat randomly (?) chooses a font to draw its chrome and some Web content.
<nckx>Icecat does not look great with the monospace ‘Hack’ font.
<nckx>😒
<nckx>Anyone had this happen before?
<nckx>(And no, there doesn't seem to be a setting to specify the font used by Icecat itself.)
<kmicu>Not really.
<kmicu>(Icecat should respect Fontconfig.)
<nckx>kmicu: But does fontconfig specify ‘uses’/preferences for fonts? fc-list shows many fine fonts, almost all of them a better fit (you know; proportional). My random guess is that Icecat tries a [few] well-known good font[s], then falls back to whatever.
<kmicu>(You could also use GTK’s setting to set a font for it. Alas as an old Conkeror user I know those things 😹)
<nckx>Oh well, time to find out.
<nckx>kmicu: That sounds promising. How'd I do that.
<kmicu>nckx: yep, ideally font preferences should be descrcibed in fontconfig and all apps should repspect user’s choice.
<kmicu>(In practice, well there are bugs everywhere and each GTK release changes something xD)
<nckx>kmicu: Ah, so I can tell fontconfig things like ‘this is the font to use for UIs please’? I thought it was just a metadata indexing/caching/thing.
<nckx>OK, cool.
<nckx>Thanks, kmicu.
<nckx>Such fun that popular malware is also called ‘chrome’ and this is impossible to DDG properly.
<kmicu>nckx: Oh, sorry, in fontconfig we only say things like ‘use Hack when an app requests a monospace font.’.
<nckx>kmicu: The fact that it's a monospace font makes it even weirder, yes. Like, is that the best you can do?
<nckx>All the docs I find are ‘how to subkern your subpixels’.
<kmicu>If you want per app setting then ~/.gtkrc-2.0.icecat with gtk-font-name = "Hack 8" and then executing GTK2_RC_FILES=~/.gtkrc-2.0.icecat icecat should do the job.
<nckx>That's weird. ‘fc-list | grep -i dejavu’ returns the empty void. I have it installed, and have things like /home/nckx/.guix-profile/share/fonts/truetype/DejaVuSans.ttf, and yes, I have run ‘fc-cache -r’ six hundred times.
<kmicu>Oh, it looks like Guix’s Icecat is GTK3 (“ #:configure-flags `("--enable-default-toolkit=cairo-gtk3"”).
<kmicu>nckx: did you run ‘fc-cache -fr’?
<nckx>kmicu: Thanks for all the info though, I'm storing it for later, in my brain.
<nckx>kmicu: -f, -fr, -r, … nothing.
*nckx goes to look for cache files owned by root or somethin'.
<kmicu>Let me install it and test here. guix package -i font-dejavu?
<nckx>kmicu: Yes. And thanks!
<nckx>Sigh. /var/cache/fontconfig was root-writable, apparently overrides my user's cache, and of course fc-cache silently ignores this.
*nckx has 623 new fonts.
<nckx>Sorry for the noise.
<nckx>kmicu: ^ and thanks again.
<kmicu>ah, yes fc-cache -fvr is the best way xD
<nckx>kmicu: I'd done even that, but managed to miss the message.
<kmicu>Ok, here it works.
<kmicu>Is my /var/cache/fontconfig root-writbale? Let’s see.
<kmicu>Yeah, it looks like a default.
<nckx>I wonder if /var/cache/fontconfig even makes sense on Guix Systems. It can only serve to torture people who accidentially ran ‘sudo fc-cache’ once (I'd never run it on purpose) and should definitely not override the one in ~/.cache.
<rekado>why do I even have it?
<nckx>Ah, it exists by default? That's even worse, but would mean everyone should have this problem, which they don't?
*nckx has to go pick someone up. TTYL.
<kmicu>Yeah, that’s why I’m curious why installing DejaVu works for me here.
<kmicu>(*^▽^)/ Cya.
<nckx>dmenu picked up the changes without even restarting; a new Icecat instance look sane; all I did was remove that file and fc-cache -fr so it was the cause.
<taylan>speaking of fonts, anyone else have problems with Terminus? emacs doesn't recognize the non-bold ones for me.
***jonsger1 is now known as jonsger
<taylan>Font not available: #<font-spec nil xos4 Terminus nil iso10646-1 normal normal normal 14 nil 110 nil ((:name . "-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-*-iso10646-1") (:user-spec . "-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-*-iso10646-1"))>
<taylan>(that's even though emacs's auto-complete suggests it)
<nckx>taylan: Argh. I recently updated terminus and everything ‘looked fine’. Of course, I didn't know I was working with a borked cache then.
<kmicu>Heh, Emacs and fonts, that’s another rabbit hole.
<nckx>So I'd see if reverting solves it first.
<taylan>I can live with the bold variant for now
<kmicu>I can test it on a fresh install if you could provide commands to execute.
<taylan>the combination of removing /var/cache/fontconfig, running fc-cache -fr, and restarting emacs solved the problem ^^
<nckx>Sounds like /var/cache/fontconfig generation should be disabled on Guix System.
<nckx>It doesn't make sense in a profiled world.
<kmicu>I have /var/cache/fontconfig too and I see user-installed Dejavu font. 🤷
<nckx>Now I wish I'd kept mine to know why deleting it solved the problem.
<lfam>efraim: Is it a known bug that cgo isn't working on aarch64? It fails with "Error: unknown architecture `armv7-a'" and "Error: unrecognized option -march=armv7-a"
<lfam>Of course that's the wrong architecture...
<lfam>For example, this build from the wip-go-build-system branch: https://berlin.guixsd.org/log/g9gxvilwwqvchngyvilfr3xl7risk814-go-github-com-burntsushi-toml-0.0.0-0.a368813
<lfam>efraim: Never mind, I see in the blog post about your work at the Guix Days that this is a TODO