IRC channel logs

2019-12-20.log

back to list of logs

<gnutec>My simple-scan said I need libsane-hpaio for my scanner. The printer work fine.
<nckx>gnutec: That's provided by the hplip package. I don't know how to tell sane to find it though.
<kirisime>1. put everything into guix env 2. point every environment variable to $GUIX_ENV
<nckx>3. $PROFIT=uhuh
<kirisime>There was a time when I needed a PHP extension that wasn't packaged or included, so I wrote a package and configured PHP to look for extensions in $GUIX_ENVIRONMENT and put the PHP and the extension package in a guix env to use it. There has to be a better way to do that, though.
***jonsger1 is now known as jonsger
<gnutec>Now I think my internet is good.
<gnutec>I need to know how do I install the scanner of my printer multifuntion. The simple-scan said I have to intall libsane-hpaio, but this package is not in guix repository.
<leoprikler>Didn't nckx already tell you it was part of hplip?
<gnutec>leoprikler: I lose connection. But I'll look this now.
***catonano_ is now known as catonano
<gnutec>I add hplip into config.scm and use guix system... but still not work. Did I must use "guix install hplip"?
<pkill9>gnutec: you need to add it to the 'extensions' field of the cups service
<gnutec>pkill9: How I do this?
<bandali>hey folks, anyone around?
<bandali>was wondering if there's a neat way to inherit from a package, and add some patches to its source field, without having to repeat the rest of the fields in the source record
<bandali>ah, looks like there's a `package-source' exported from (guix packages)
<str1ngs>bandali: all the package record accessors are in (guix packages) correct
<bandali>str1ngs, right, thanks :)
<zap`>Hi guix!
<zap`>Has anyone used cdist?
<civodul>Hello Guix!
<zap`>Hi civodul !
<zap`>I have tried it recently. If you have to use push approach to configuration I find it much better than ansible
<zap`>You can use any scriptable language (read guile) with it
<zap`>rather than interpreting horrible dsl and doing zip dance it just executes anything passed to stdout on remote machines
<zig>zap`: I are you mentioning this project: https://en.wikipedia.org/wiki/Cdist
<zig>zap`: the wikipedia page tells about sh scripts, and python. No other language is mentioned.
<zap`>zig: right
<zig>I am not sure how this relates to guix. To my mind, an intermediate solution to help provision / configure / setup a fleet of guix boxes will be something similar to Python's fabric 2.
<zig>Clearly, shell is not a suitable replacement for Scheme (or Python) and with Ansible they managed to create something worse that sh.
<zig>I am not really familiar with modern approaches like Teraform et al. I guess JSON as programming language makes sense </irony>
<zap`>there are files gencode-remote and gencode-local which could be written in any language. Anything passed to stdout executes on remote hosts. Local cache is available through local enviroment during cdist run
<zap`>zig: I agree. Some people are forced to use push architecture. I just waned to share tool that some might find valuable for managing non guix systems
<zap`>But I really used it to automate guix installation on debian hosts :)
<zig>afaik fabric is push too.
<zig>thanks for sharing.
<zig>that is very interesting: https://guix.gnu.org/blog/2019/managing-servers-with-gnu-guix-a-tutorial/
<zap`>zig: definetly! I next year I am planning to lo experiment with guix deploy. It look really promising to me especially because project's misson I am working on is to build global network
*zap` i meant mission of the project I am working on
<civodul>somehow, i can't get to reinstate my proxy settings in IceCat
<civodul>in about:config, isn't it just network.proxy.http?
<civodul>and .ssl?
<zap`>it should be
<civodul>uh, doesn't work for me :-/
<zap`>there is network.proxy.type it set to 1 for me
<jayspeer>what's up #guix
<sneek>Welcome back jayspeer, you have 1 message.
<sneek>jayspeer, roptat says: I fixed behave, you should be able to use awscli after a guix pull
<zap`>sup jayspeer!
<adflytapt6[m]>hi Guix
<adflytapt6[m]>problem with fonts in IceCat built in Guix in Debian: https://paste.pics/25a6a47a1771e0526e22313a9acdce44
<adflytapt6[m]>how to solve?
<zap`>adflytapt6[m]: It's locale problem
<zap`>I have the same issue too
<jayspeer>How exactly does "guix pull" work? Should you run it as each user? Or does running it as root suffices?
<jayspeer>roptat: Thanks for fixing the package! awscli shows up in my profile :)
<leoprikler>jayspeer: Run as user
<jayspeer>what about the daemon?
<leoprikler>the daemon should already be started by shepherd, why?
<leoprikler>are you using guix system or foreign distro?
<jayspeer>foreign distro. What I read somewhere is guix-daemon (running as root) is only updated when root run guix pull
<leoprikler>Yes, that is the limitation of foreign distros.
<leoprikler>So you need to regularly run `guix pull` as root, whereas on Guix System you don't.
<jayspeer>thanks, that explains it
<roptat>hi guix!
<zap`>hi roptat!
<adflytapt6[m]>leoprikler: something new. thank you.
<adflytapt6[m]>this is absent in docs: https://guix.gnu.org/manual/en/html_node/Installation.html#Installation
<adflytapt6[m]> https://guix.gnu.org/manual/en/html_node/Invoking-guix-pull.html#Invoking-guix-pull
<adflytapt6[m]>zap`: do you have solution for it?
<leoprikler>adflytapt6[m]: "Once installed, Guix can be updated by running guix pull".
<leoprikler>Granted, it does not explicitly say "as root", but it should be clear that normal users should not be able to affect the system itself, hence only leaving root as an option to upgrade guix.
<jayspeer>IMHO it should say to run guix pull as a user under which guix-daemon is run
<jayspeer>at least at foreign distro
<kmicu>Hi adflytapt6[m]: yep, that's a (known) bug.
<adflytapt6[m]>leoprikler: it's not obvious I think. this understanding is not common for new users.
<adflytapt6[m]>jayspeer: I agree.
<adflytapt6[m]>kmicu: so, no one use Guix IceCat for now?
<kmicu>adflytapt6[m]: I was referring to a frequently raised issue here ‘how to update my Guix xor Guix System; with guix pull, sudo guix pull, sudo -E guix pull, sudo guix pull as root and so on?’.
<leoprikler>"sudo guix pull as root" is my favourite :)
<kmicu>Those were lazy finger.
<kmicu>fingers*
<jayspeer>well, newbie might say something along this lines :)
<kmicu>adflytapt6[m]: the font issue is also a known issue :) iirc you could install some fonts with Guix and restart IceCat to fix that.
<kmicu>adflytapt6[m]: also after installing fonts execute ‘fc-cache -r’ to update stale cache so IceCat could find those fonts.
<kmicu>(Probably adding e.g. GNU Unifont as IceCat dependency would move us from critical ‘I installed IceCat but is unusable’ to ok ‘I installed IceCat but font is ugly’ 🤷)
<zap`>kmicu: I thought it is related to locale on foreign distros problem. I tried to install font-gni-unifont, update cache but it didnt help
***jonsger1 is now known as jonsger
<zap`>icecat logs say it cant find Nimbus font that is not presrnt in guix. That is strange
<kmicu>nothingmuch: did you solve your Debina/IceCat issue?
<kmicu>zap`: Could you try installing nimbussanl, gs-fonts or font-bitstream-vera, refresh cache and restart Icecat?
<zap`>kmicu: font-bitstream-vera and gs-fonts did't help.
<zap`>Is nimbussanl in guix repo?
<zap`>I cant find it
<kmicu>zap`: font-liberation :) could you try XDG_DATA_DIRS="$HOME/.guix-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" icecat (based on https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00565.html )
<zap`>bingo :)
<zap`>Now it works great
<zap`>I missed the advice
<kmicu>(Reported year ago but generally desktop packages from Guix on foreign distros are ‘second class’ citizens.)
<kmicu>adflytapt6[m]: ^^ setting XDG_DATA_DIRS could help in your case too.
<zap`>thanks kmicu. I tried reisntall icecat to see the advice but it didn't show up...
<kmicu>zap`: iiuc that message is from Pango and is displayed only when we install pango. So that’s not your fault; that’s still a bug in IceCat.
<zap`>gnu icecat can't render fsf website because of librejs blocks :(
<kmicu>A properly packaged software should Just Work™. Feel free to file a bug when that’s not the case 😺
<kmicu> https://www.fsf.org/ renders here but I have js turned off by default xD
*kmicu went to watch an episode of QI ( ^_^)/
<zap`>fsf added some blockchain-style animations to attract new members :)
<leoprikler>FSF Website is blocked by LibreJS? The irony.
<zap`>yep. Not the front page tho. https://directory.fsf.org/wiki/Main_Page
<bandali>known issue, i think
<zap`>And again ironically fsf maybe the only one who may react to LibreJS Complaint :)
<bandali>not if folks stepped up and contributed to it :)
<mjw>zimoun, where is the mirror now?
<mjw>BTW. I added git smart http support and now the https url (and git url) of my personal mirror work as expected. https://code.wildebeest.org/git/mirror/guix/
<zimoun>mjw: I do not know yet, nckx and Ricardo are working on. If I get what has been discussed here and on guix-devel. :-)
<zimoun>mjw: I have seen. Thank you!
<zimoun>and thanks for the input in bug #30756 ;-)
<mjw>o man. That is so confusing. And makes this newbie question everything about using guix. All these environment variables are already so complex, which to set where. And then some don't work as advertised :{
<zimoun>with great power comes great responsibility ;-)
<mjw>great confusion :)
<mjw>the other thing just discussed in this channel, which guix pull to run where to actually update all parts of guix is another
<leoprikler>Guix System or foreign distro?
<davexunit>zap`: getting mediawiki to be librejs compliant is nearly impossible.
<davexunit>I know because I was tasked with trying to figure it out back in 2014 when I worked for the fsf.
<davexunit>I think librejs is a complete waste of time and not worth using.
<adflytapt6[m]>kmicu: yes, adding XDG_DATA_DIRS helped. but it is not documented as I understand? is there a bug?
<adflytapt6[m]>kmicu: thank you
<adflytapt6[m]>is it a bug?
<zap`>davexunit: Iteresting. Trying to free the internet seems like impossible task. Especially considering current level internet users awareness of the problem
*zap` afk
<davexunit>even so, I don't librejs is anywhere close to the right solution.
<davexunit>it is so burdensome on even the people that *want* to comply with it that there's absolutely no way that anyone that's not 110% committed to it will use it.
<davexunit>I would spend hours trying to make sites compliant and librejs would still reject my javascript files and give cryptic or no reason at all why it was rejected.
<bandali>davexunit, have there been any ideas on how to improve upon that? (make it less 'burdensome')
<davexunit>mandating that every piece of javascript code on the web have a machine readable license information in source code comments (or producing a separate license map file) is just ridiculous. it could never work and the fsf should stop pushing it.
<bandali>does it have e.g. any heuristics to detect free software js files with omitted license info?
<davexunit>bandali: I think the premise is fundamentally wrong.
<leoprikler>I'm not sure about that. From a user's POV LibreJS acts like yet another script blocker most of the time.
<bandali>okay, so to repose my question, what should people worried about their freedom do when it comes to browsing the "modern" web?
<davexunit>disable javascript entirely.
<davexunit>webassembly is around the corner.
<leoprikler>Because Web Assembly is oh-so-free.
<davexunit>the point is that a tool for javascript is going to be irrelevant soon.
<sneek>I'll keep that in mind.
<leoprikler>sneek what is the point
<sneek>the point is that a tool for javascript is going to be irrelevant soon.
<davexunit>thanks sneek
<leoprikler>sneek forget about that
<sneek>Okay.
<davexunit>the point is that a tool for javascript is going to be irrelevant soon.
<sneek>I'll keep that in mind.
<davexunit>thanks sneek
<bandali>if the average person isn't committed enough to add a few rules for JS files using LibreJS, how can we expect them to "inconvenience" themselves by entirely disabling JS?
<bandali>and yeah webassembly is a real concern -_-
<davexunit>I think you're mixing up devs and other people
<bandali>elaborate, please?
<kmicu>adflytapt6[m]: it is a bug and it’s reported on guix-devel mailing list. Situation should improve in the future. Generally all those big desktop packages using implicit global variables require more time to fix properly.
<leoprikler>but wouldn't typical script blocking approaches also expand to web assembly?
<davexunit>gotta go afk.
<davexunit>point is: librejs sucks and I always disable it first thing on a new icecat installation.
<adflytapt6[m]>zap`: which version of IceCat do you have? I do not have LibreJS enabled after building it in Guix on foreign distribution: https://paste.pics/0042055188a754df24eaaf5c0910f6f4
<bandali>anyone else care to explain if/why i'm confusing devs and other people?
<leoprikler>your complaint about librejs appears to be from a dev pov
<bandali>is it because i'm arguing from a user's point of view of using LibreJS, rather than the devs taking steps to add the license info to their JS?
<leoprikler>from a user pov librejs is nothing more than yet another script blocker
<leoprikler>ah, wait, other way round
<bandali>ohh i see, well, i was trying to argue from a user's pov
<bandali>but i think dave was coming at it from a dev's pov
<leoprikler>davexunit is complaining from a dev's pov
<bandali>right
<leoprikler>which tbh is a bit nonsensical as well, because as a dev including license info should be a no-brainer as long as you're relying on free or self-written software
<leoprikler>the real problem is the huge load of non-free frameworks that librejs tries to fight
<bandali>if only more devs were aware of and cared about licensing issues and free software...
<leoprikler>Licensing? Ain't nobody got time for that! Here, let us use five different package managers to somehow build our web application.
*bandali sighs
<kmicu>bandali: chillout, any traditional distro dev/user could use the same arguments against Nix/Guix :)
***ng0_ is now known as ng0
<leoprikler>why does linux-libre not allow my non-free kernel plugin 😢️
<str1ngs>leoprikler: linux-libre can not load tainted modules at all. it's been disabled
<str1ngs>davexunit webassemble is interesting but that it might introduce other issues in that it will be harder to audit. though most JS is unreadable now a days anyways
<str1ngs>leoprikler: ahh I think you were being sarcastic :P
<leoprikler>yep
<str1ngs>leoprikler: how do you make out with your gnome shell environment experiment?
<leoprikler>Which experiment are you talking about? The variable thing?
<str1ngs>yes
<leoprikler>Well… I have a concept, but no proof, so to say.
<bandali>kmicu, which argument exactly?
<str1ngs>I like the idea of a shepherd X11 session. it might not directly solve this problem right away. but it could lay the ground work for the concept of user services
<str1ngs>leoprikler: ^
<leoprikler>Would that work though?
<leoprikler>let's say we have shepherd spawning gnome
<str1ngs>maybe if there was a user service that could query environment varibles
<leoprikler>and let's also say shepherd root allows manipulation of its own env variables
<leoprikler>even then, I don't think those variables would be applied
<leoprikler>until shepherd restarts gnome
<leoprikler>which works in the xorg case, but not wayland
<str1ngs>something like systemctrl --user show-environment/set-environment
<kmicu>bandali: a lot of them, including general statements like ‘complete waste of time and not worth using’, ‘madating every piece of code have x’, and so on.
<leoprikler>but how would that work internally?
<bandali>kmicu, that wasn't me, davexunit was typing those
<leoprikler>maybe for a starter, how does systemd do it?
<str1ngs>leoprikler: systemd probably does it over dbus
<str1ngs>leoprikler: so say you have a shepherd user service called guix-environment which responds to rpc and returns profofiles environent variabls on request.
<kmicu>bandali: yep, just saying LiberJs has its place and arguments against it stated here weren’t very good.
<bandali>kmicu, i understand, and i'm saying i wasn't arguing LibreJS; davexunit was :)
<bandali>arguing *against LibreJS
<kmicu>Heh, yes I know :)
<str1ngs>leoprikler: there is still a chicken/egg issues when launching something from gnome for example. but this could ad a mechanism for restarting a gnome session without having to logout and back in. and it would provide user services via shepherd
<alextee[m]>just sent a patch for vl1-emulator
<leoprikler>I don't think we need RPC to query the variables – shepherd should be able to load guix internally.
<leoprikler>we do need RPC (specifically D-Bus) if we want to change the environment variables of GNOME Shell
<str1ngs>for querying no, but lets say you are switching profiles
<str1ngs>maybe RPC can be avoided for sometime. but I suspect at one point it will be needed
<str1ngs>it's the only way I can think a sub process can talk to the parent process
<str1ngs>in the context of environment variables
<leoprikler>which process would make the call then?
<str1ngs>think of something like this. environment-service switch-profiles -e '("/path/a" "/path/b") this is pseudo code
<str1ngs>also you could then do something like this. eval $(environment-service get-environment)
<str1ngs>that for bash. for say gnome sell you could query the environment using rpc. avoiding sub shell's etc
<str1ngs>s/sell/shell
<leoprikler>you can already do that with "guix package --search-path" tho
<brown121409>Hi, geeks! I'm trying to set up an external monitor for my laptop but it seems like X crashes or something... xrandr --listproviders gives me modesetting and nouveau and if I --setprovideroutputsource nouveau modesetting I my external monitor shows as connected. The problem is that if I turn it on from xrandr, the whole desktop crashes, it spits so
<brown121409>me stuff in the TTY and then gets back to the display manager (SLiM in my case). Do you have any suggestions?
<str1ngs>leoprikler: right, but if you want to use these from a non shell it requires a sub-shell
<str1ngs>leoprikler: maybe though RPC can be avoided, that is more ideal I agree.
<adflytapt6[m]>as I understand, LibreJS must be installed and enabled in IceCat by default: https://www.gnu.org/software/gnuzilla/. it is not so for Guix IceCat?
<davexunit>it is. I've disabled it many times.
<gnutec>I add hplip in my config.scm but the scanner of my multifunction doesn't work yet.
<leoprikler>is it listed with scanimage -L?
<adflytapt6[m]>davexunit: I've built it recently and there is no LibreJS: https://paste.pics/0042055188a754df24eaaf5c0910f6f4
<adflytapt6[m]>how it could be?
<bandali>what recipe did you use?
<adflytapt6[m]>guix install icecat
<jackhill>adflytapt6[m]: The Icecat is guix is a pre-relase of vertison 68. 68 is not finished upstream, but given that the previous one was out of support, this seemed like the better option. See the warning in the package description (guix show icecat).
<adflytapt6[m]>it took too long to build it.
<bandali>what jackhill said
<bandali>we're still working on getting a proper 68 release out
<jackhill>so I suspect that's why is may be missing some usual icecat features :)
<bandali>i haven't yet had a chance to try and build icecat using mark's guix package recipe, but building makeicecat from the upstream repo, i see librejs included
<adflytapt6[m]>now I understand, thank you jackhill bandali
<adflytapt6[m]>it is not 'just works' - you need to read everything )
<bandali>cheers :)
<bandali>it's not great, but we thought having the prerelease out may be better than a vulnerable browser
<bandali>the reason 68 is taking so long is a series of backwards incompatible changes in upstream firefox from 60 through 68
<adflytapt6[m]>it's interesting - how many people works on Guix IceCat now? (to put it into the repo)
<bandali>it used to be just one maintainer, now we're four co-maintainers
<bandali>almost all four of us are currently very busy
<bandali>but we're trying our best
<bandali>mark has been doing an incredible amount of work on icecat recently
<bandali>and that's besides him writing and maintaining the icecat guix package
<brettgilio>civodul: thanks for your reply. I think I'll just follow what you did and use Fencepost with a forward to my IMAP-enabled account. It seems a lot easier that way
<civodul>brettgilio: certainly :-)
<gnutec>leoprikler: scanimage -L return "No scanners were identified.
*rekado installs one of the new build servers…
<jayspeer>Does anyone here use next browser? I'm having issue starting it up on foreign distro
<rekado>I would appreciate help with mumi (issues.guix.gnu.org)
<rekado>the lack of fibers is why we have to keep restarting it
<rekado>and fibers had to be removed due to a regression
<rekado>I tried upgrading the whole stack to Guile 3 to test if the problem still exists, but I’m stuck on getting gnutls to work.
<rekado>any volunteers?
<str1ngs>jayspeer: what problem are you having?
<jayspeer>str1ngs: it seems the issue is with the dbus already running (provided by fedora). next fails to start
<jayspeer> https://paste.debian.net/1121901/
*adflytapt6[m] have got LibreJS by starting downloaded IceCat 60.3.0, closing it and starting Guix IceCat - unexpected side effect.
<gnutec>leoprikler: Printer is working!
<leoprikler>hmmm
<leoprikler>and you reloaded sane/cups/whatever after reconfiguring?
*kmicu every single time when rekado mentions mumi https://framapic.org/Xck0FZbJokst/sCzyfac5or0X.gif (too much dr who).
<gnutec>leoprikler: I reboot the system.
<leoprikler>okay, that should suffice
<str1ngs>jayspeer: seems to work for me on foreign distro. does the socket /run/user/1000/bus exist already?
<leoprikler>any interesting dmesg output?
<str1ngs>jayspeer: also lsof /run/user/1000/bus may help. possibly you'll need to log out and log back in as well.
<jayspeer>str1ngs: yes, because dbus is started when I log in. At least it seems so on fedora
<str1ngs>jayspeer: try maybe to login in again see if that helps
<jayspeer>I've already tried rebooting and reloging several times
<gnutec>With "sudo dmesg"? Nothing that I can see about HP printer.
<civodul>rekado: i'll try adding the service to berlin.scm (it may not fix the problem, but it's a start :-))
<leoprikler>._.
<civodul>rekado: oh, and great that you're looking into the new servers!
<str1ngs>jayspeer: could be selinux related. try with sudo dnf install setroubleshoot && sealert
*civodul goes afk for a bit
<jayspeer>str1ngs: I've already run setenforce 0
<gnutec>leoprikler: Someone told me to add a extension, but I don't know how.
<leoprikler>which extension to what?
<str1ngs>jayspeer: hmm I'm running out of ideas then. the error is not very apparent either.
<str1ngs>jayspeer: what version of fedora are you using?
<jayspeer>str1ngs: 31
<gnutec>leoprikler: He didn't say. I ask but he don't answer.
<adflytapt6[m]>why http://guix.gnu.org/ do not have such good wiki as https://www.archlinux.org/ has on top? to describe packages as in Archlinux.
<gnutec>leoprikler: I wasted scanner to a SD card.
<bandali>adflytapt6[m], i guess guix has the manual+cookbook+blog for that
<kmicu>adflytapt6[m]: Arch is twenty years old distro, Guix System reached 1.0 this year :) Arch didn’t have a good wiki at the beginning too. Those things take time.
<leoprikler>gnutec: could you paste your current config.scm?
<rekado>uhm, I just got this error on “guix offload test”: guix offload: error: implementation cannot deal with > 32-bit integers
<rekado>maybe it’s due to the fact that this server hasn’t yet been configured to emulate other systems
<gnutec>leoprikler: Yes! The printer is working, why not the scanner? So I think that my new config.scm is no the reason. I did guix system... with config.trainer.scm then I move to /etc like "sudo mv config.trainer.scm /etc/config.scm".
<leoprikler>but what does that config.scm look like?
<gnutec>leoprikler: Like this. /etc/config.scm https://unixpablo.blogspot.com/2019/12/impressora-no-guix-system.html
<leoprikler>Okay, so you did indeed add hplip as an extensions just as you were asked to.
<jackhill>gnutec, leoprikler: (sorry I haven't followed your whole conversation) I have a `(simple-service 'custom-udev-rules udev-service-type (list sane-backends))' in my operating system services
<leoprikler>jackhill: were you the one who had difficulties with the scanner group/permissions a few days ago?
<rekado>nckx: I can’t connect to one of your Overdrives
<jackhill>leoprikler: no, it's been serveral months for me :)
<rekado>“implementation cannot deal with > 32-bit integers” apparently means: you didn’t generate signing keys. TIL.
<leoprikler>Okay, would you then like to elaborate what that service does for you?
*rekado sends email to bug-guix@gnu.org
<jackhill>but my scanner is part of a multi-function (Cannon) devices. As far as I know the printer doesn't work with free software, but the scanner does. That left me with the impression that for these multi-function devices (at least for mine) the scanning setup was entirely separate from printing
<leoprikler>and you believe adding these rules will make the scanner available if it works like your device
<jackhill>leoprikler, gnutec: sure, my scanner is picked-up by the kernel, and a device node is created, but the permissions weren't right. I believe it show up when I ran 'scanimage -L' as root, but not as my user. The service adds udev rules to allow scanners dev nodes permissions to be set so normal users have access.
<jackhill>this is for a usb-connected device
<leoprikler>Ah, but that's where your situation differs from gnutec's; the scanner does not appear to be picked up by the kernel (at least as far as dmesg is concerned) and also not listed by scanimage -L.
<rekado>ci.guix.gnu.org now has a new fast build server
<rekado>will add another one later
<leoprikler>s/also not/is also not/
<jackhill>leoprikler, gnutec: ah I see, that is tricky. Sorry for the noise. I'm afraid I don't have any good ideas :/
<leoprikler>np, I'm in guessing mode myself
<jackhill>gnutec: is it a usb device? Can you see it in the output of lsusb? -- A common troubleshooting thing I do.
<gnutec>jackhill: Yes!
<jackhill>gnutec: well that's something at least :) What's the device id and name (or just the line containing that device)? I'm wondering if we can find generic linux information for it online, and then "port" those instructions to Guix.
<busara>hey guys, someone please package this https://github.com/wlach/wvdial it would be really helpful for modem only users if it could be included in the installation images
<gnutec>jackhill: Is a HP Photosmart C4680.
<jackhill>gnutec: what is the numeric id printed by lsusb?
<jackhill>gnutec: I don't see that scanner listed at http://www.sane-project.org/sane-mfgs.html so that may not be a good sign. Although that page is, I think, for use-space support, and you seem to be having kernel support problems.
<jackhill>I'm afraid that I have to head out, good luck!
<grillon>hi there
<grillon>I have installed guixsd on a chromebook appollo
<grillon>apollo lake
<grillon>installation goes well but it then hang on boot grub time
<grillon>before installation I tried galliumOS with libre linux kernel and it works fine so it should work...Does anyone know how to debug this?
<grillon>(libre linux does not support sound and wifi because I need some blob but I don't care because I have enternet adaptor and blutooth speaker)
<grillon>I would like to know what is the problem...is it grub? the ramdisk? something else?How can I verify it from grub?
<bandali>not sure; do you get any kind of log or error message?
<gnutec>jackhill: But work fine with Trisquel.
<alextee[m]>is there an example somewhere for packages using local files?
<jackhill>gnutec: ah, well, hmmm, I'm afraid I don't know then, apologies!
<grillon>bandali: nothing it just hang on grub screen after I press enter
<bandali>grillon, that's weird...
<bandali>could you maybe try dropping into the grub console
<bandali>and in general see how one may gather some info from grub in boot stage?
<grillon>I can use grub console indeed but don't know what to do with it bandali
<bandali>grillon, sorry, i'm not exactly sure either. maybe one of the more knowledgeable folks here could help you
<bandali>or perhaps you could try asking on help-guix@gnu.org
<Parra>thanks to guix community, I have achieved to package my software into a self portable tarball, and you know what? it runs even on a busybox. Thank you very much!
<Parra> https://github.com/metacall/core#41-installation
<bandali>Parra, nice! small nit: using Guix instead of GuixSD there is preferred
<Parra>uh I just thought the opposite
<leoprikler>Guix System if you want to distinguish distro and package manager
<Parra>I will modify it
<nothingmuch>kmicu: i believe I did but I don't remember how, I'm sorry (the font issue, right?)
<bandali>GuixSD was the old name of what we now call Guix System
<Parra>good
<Parra>anyway, I'm very happy
<Parra>I've been trying to package this during a year
<bandali>but in your case, the package definition applies to both users running Guix System and running Guix on foreign distros
<Parra>it has been a nightmare
<bandali>so just Guix is more accurate :)
<bandali>and congrats!
<Parra>and it's not completely packaged yet
<Parra>but it's something
<Parra>I don't feel 100% comfortable yet with Guix but I hope it will be a matter of time
<grillon>bandali: ok let's try this
<grillon>it possible to reinstall only grub? I guess it's because I have set legacy mode instead of efi mode
<grillon>if I do a system reconfigure it would take several minutes...
<bandali>it shouldn't be too bad if you haven't pulled, no?
<rekado>fetching substitutes from ci.guix.gnu.org is really fast when installing the new nodes.
<rekado>I wonder where it all becomes so slow
<rekado>maybe at some point we go through a 1G bottleneck
<rekado>internal network is 10G
<rekado>very noticeable differenc
<rekado>*difference
<rekado>second server is ready
<rekado>ugh, geda-gaf added a new dependency (libfam or gamin), which had its last release in 2008, is superseded by inotify, and cannot be built with even gcc 5.
<rekado>lepton-eda (a fork) on the other hand added support for Guile 2.2 (from 2.0) and converted more code to Scheme.
<leoprikler>could we build libfam/gamin with mes though? 🤔️
<rekado>:)
<rekado>luckily the fix is easy (replacing a deprecated glib macro with “const”), but it’s ugly to add an abandoned piece of software to the inputs for a new release in 2019.
<rekado>(they also provide a configure switch to disable whatever uses this library, but it doesn’t disable all uses.)
<kmicu>nothingmuch: thank you. In the end setting XDG_DATA_DIRS solved the issue.
<gnutec>How I activate the SE Linux in Guix System?
<gnutec>The Guix System has all the tools to manager SELinux, but the MAC is not enable. In other system I have to configure the grub.cfg.
<civodul>hi gnutec!
<civodul>gnutec: there's no SELinux support in Guix System
<civodul>though perhaps little is missing to enable it, dunno
<nckx>Hullo #guix.
<nckx>rekado: Which one?
<rekado>nckx: I think it’s dmitri?
<nckx>rekado: OK, thanks, I'll kick 'm.
<gnutec>civodul: But Guix System has selinuxenabled, setenforce... I understand that is not necessary, but If is installed, why there is not support?
<g_bor[m]>gnutec: we are missing a selinux base policy for guix system.
<g_bor[m]>I believe it would be doable to author one, but nobody did it yet.
<g_bor[m]>hello guix!
<g_bor[m]>gnutec: and it might also be a bit problematic to keep the policy uptodate, as guix software upgrades mean new store paths. This was discussed earlier when rekado authored a policy for the daemon for fedora.
<gnutec>g_bor[m]: There is support to Guix. You can see in guix.pdf. But their say nothing about SELinux in Guix System.
<g_bor[m]>gnutec: yes, for guix itself a policy was created, but not for guix system.
<gnutec>g_bor[m]: Ok!
<lispmacs>hi, which package provides the command line print tools, lp, lpq, etc.
<nckx>lispmacs: cups.
<g_bor[m]>gnutec: soemthing like this could be adopted after some customization: https://github.com/SELinuxProject/refpolicy/wiki
<jackhill>Can SELinux policy be updated at run-time? I'm wondering if the daemon could manage policies and keep them updated with store-path changes
<jackhill>or, at least take care of re-labeling everything.
<g_bor[m]>jackhill: I believe that there is no need to actually modify the policy, provided that the files get installed with the appropriate labels.
<g_bor[m]>But I am not very familiar with selinux.
<gnutec>g_bor[m]: I just wait. The Guix System Dev will say something if somthing change. Thanks.
<g_bor[m]>yw
<jackhill>g_bor[m]: yeah, that sounds reasonable to me.
<lispmacs>hi, I set up cups daemon with the appropriate driver package and added my USB printer. But if try to print anything, before it gets to the queue, I seems to get blocked by dbus:
<lispmacs> http://dpaste.com/2FE8JGH.txt
<lispmacs>here is my config.scm:
<lispmacs> http://dpaste.com/068KT5F.txt
<lispmacs>I am using v1.0.1 commit for guix system reconfigure
<lispmacs>(since newer versions break my networking: bug#38653)
<nckx>lispmacs: Which command did you use?
<lispmacs>nckx: for printing? I used the gnome print dialog
<lispmacs>I used the cups webgui for adding the printer
<lispmacs>I was going to try lp command but couldn't figure it out
<nckx>lispmacs: ‘lp thing.pdf’ or ‘lp -d PRINTER-NAME thing.pdf’.
<lispmacs>command `lp -d HP_LaserJet_Professional_P1102w text.txt` gives me
<nckx>I don't use Gnome but I use Evince (and LibreOffice and IceCat and lp and…) and I've never seen dbus be involved. Maybe that message is unrelated, it's pretty vague.
<lispmacs>lp: Unsupported document-format "text/plain".
<nckx>lispmacs: Oh. Try adding cups-filters next to hplip-minimal.
<nckx>Hm. Here, ‘echo . >text.txt; lp text.txt’ gives me ‘"No usable font available"’ in my laptop's CUPS (it's never sent to the remote server).
<nckx>But that's in the Web UI, so it did actually arrive in the queue.
<lispmacs>i think we need a "make-printing-work" meta-package
<nckx>cups-service-type is that.
<nckx>You should™ just be able to print. I am.
<nckx>cups-filters are included by default, but explicitly adding hplip-minimal overrides that. I don't think we should silently add it back, but maybe having (extensions cups-filters hplip splix every-printer under-the sun) as default would be nice.