IRC channel logs

2021-01-05.log

back to list of logs

<cbaines>ah, OK, that's less useful than I'd have hoped https://data.guix-patches.cbaines.net/compare-by-datetime/system-test-derivations?base_branch=master&base_datetime=2021-01-04%2023:05:15&target_branch=staging&target_datetime=2021-01-04%2023:05:15&locale=en_US.UTF-8&base_commit=ed2e0b1b50587a38ad26574585f73979874e56f0&target_commit=64e995b4cf473c7f52bad0dea8c27eea6eee662c
<cbaines>the Guix Data Service seems to just give up loading data for any system tests if it encounters an exception, so rather than the diff showing which system tests were missing, it just shows them all as missing... I'll maybe look at making the error handling more granular
<mbakke>oh my, full source bootstrap already? https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00036.html
<lfam>I pushed a commit that should fix the zabbix test
<cbaines>cool, fingers crossed :)
<lfam>What is unix "error 134"?
<lfam>tests/publish.scm is failing with error 134, but tests/publish.log shows that all the tests passed
<moesasji>maybe this one? : https://www.crazygeeks.org/questions/strange-return-value-134-to-call-gawk-in-bash-script
<spudpnds>lfam: What arch/kernel? linux-libre-headers-5.4.20/include/asm-generic/errno.h for me only goes to 133.
<cbaines>lfam, the Cuirass evaluation completed! https://ci.guix.gnu.org/jobset/staging-staging
<lfam>Hooray!
<moesasji>lfam: posted a link earlier that hints at it being SIGABRT
<lfam>Looks like a lot of failures for aarch64 on staging: https://ci.guix.gnu.org/eval/10974?status=failed
<raghavgururajan>Folks! What build-system uses qmake?
<lfam>I think its gnu, raghavgururajan
<raghavgururajan>lfam: Does gnu-build-system recognize .pri and .pro files? https://github.com/desktop-app/qt5ct/tree/59be9d1d995348687702a18ce3d653c07389cfa2
<lfam>I don't know, but a lot of packages run qmake
<raghavgururajan>I see.
<chihhaosu>How can I config the software installed by guix package manager?
<chihhaosu>For example, how to config xorg?
<antidoto>I can succesfully launch icecat in wayland "mode" by typing MOZ_ENABLE_WAYLAND=1 icecat. How can I make icecat to start by default in wayland?
<moesasji>antidoto: are you on gnome and did you set it up using wayland as described in the manual: https://guix.gnu.org/manual/en/html_node/Desktop-Services.html (search wayland on that page)?
<moesasji>chihhaosu: probably best to look at the manual. The following section shows how to configure xorg related services: https://guix.gnu.org/manual/en/html_node/X-Window.html#X-Window (but you probably want to scroll through the earlier sections if you haven't looked at it yet)
<antidoto>I am using sway. Wayland is working as expected. When I run Icecat using the command, in about:support I get that wayland is working.
<moesasji>sounds like you have the desktop configured correctly. My guess is that you need to set that option somewhere in your environment settings. This might give a pointer: https://www.reddit.com/r/firefox/comments/c8itj2/enabling_wayland_on_linux/
<zamfofex>Hello, everyone! Does anyone by chance happens to know which package I can install to get ‘libstdc++.so’?
<efraim>zamfofex: it's in the hidden package gcc:lib, but if you're installing something you'll want gcc-toolchain
<zamfofex>efraim: I see! Thank you!
<zamfofex>Err… Did I do something dumb? I ran ‘guix install gcc-toolchain’, but I still don’t have the library file.
<wleslie>what is looking for it?
<zamfofex>I decided to try a Git client called “GitAhead”. It’s not available as a package, so I’m trying to run the executable that is provided.
<wleslie>the default executable will try to use the system linker, which won't search the profile for dynamic libraries, as far as I understand. are you on guix system?
<wleslie>well, "search"
<wleslie>what does `ldd the-executable` say?
<zamfofex>I am on Guix system! I am running the linker as ‘~/.guix-profile/lib/ld-linux-x86-64.so.2’ myself. (With ‘LD_LIBRARY_PATH=~/.guix-profile/lib’).
<zamfofex>Although maybe that’s not a “good practice” kind of thing to do.
<zamfofex>I actually don’t know. If it is, I’d appreciate if anyone could let me know.
***apteryx is now known as Guest5209
***apteryx_ is now known as apteryx
<leoprikler>In lieu of doing that, you'd normally try to package it first.
<zamfofex>I suppose so. It’s not that I don’t want to contribute, but I’m not experienced with Scheme. (And also, I’m kinda impatient sometimes, I suppose.)
<leoprikler>fwiw you could also use gitg or even gitk while it's not yet packaged ;)
<maav>hi guixers!
<maav>happy new year too, if it isn't too late :-P
<leoprikler>zamfofex: Apparently git-ahead wants to build its own version of git and libgit2 really badly.
<leoprikler>I can't recommend that to you.
<mbakke>have anyone encountered random poweroffs after switching to the 5.10 kernel?
<moesasji>I've seen more than the usual complaints on that
<moesasji>kernel in the slackware forum: https://www.linuxquestions.org/questions/slackware-14/kernel-5-10-4-i915-and-dual-screen-freeze-on-intel-gpu-4175687776/
<nefix>good morning! is there any way to setup a small "build farm" so it builds the packages from my channel and I can avoid building in my local machine?
<PurpleSym>nefix: We’re using a service like this one: https://github.com/leibniz-psychology/psychnotebook-deploy/blob/master/src/zpid/machines/yamunanagar/ci.scm But you may want to look into cuirass and/or the build-coordinator.
<nefix>PurpleSym: eeeh I'm not quite sure how could use this (I'm understanding some parts, other I don't). I guess that this would be in a Guix system that would be "the build farm" and then, this would somehow be added as a service in the system configuration?
<nefix>And how would I download the packages from my computer after they would be built?
<PurpleSym>nefix: Yes, indeed, it’s a machine running Guix. You can also run guix-publish-service-type and add that machine to your substitutes server list.
<leoprikler>nefix: you'd configure it so that your build farm serves substitutes and then downstream you add it to the substitute servers and also add its keys to the acl
<nefix>PurpleSym: sooo I'd have a web server (nginx, let's say) with a valid TLS cert, with a reverse proxy to the port the system is serving, right?
<PurpleSym>TLS is not required, substitutes are authenticated differently.
<nefix>oh, I see. So it would be safe to expose it directly through HTTP
<PurpleSym>If the build machine is in your local network, you can auto-discover it through avahi too.
<nefix>And then how would I add the build farm to my computer configuration?
<PurpleSym>See manual: https://guix.gnu.org/manual/devel/en/guix.html#Getting-Substitutes-from-Other-Servers
<nefix>thanks!
<nefix>and lastly, I see that at line 74 you specify to build the variable manifest (that is defined before). Is there any way to build "all the packages" from the channels?
<nefix>or it's a bad idea/
<nefix>?*
<PurpleSym>Ping me if you find a solution for that ;)
<nefix>oh, I doubt I'll ping you then xDDD
<nefix>And like you build the manifest, I guess you could somehow build a kernel configuration?
<PurpleSym>I don’t know. Maybe you could call `guix system build config.scm` in the service?
<nefix>Hmmm I'll investigate, thank you!!
<htgoebel1>Hi and hapy new year.
<htgoebel1>Once again I'm struggling with this debbugs mail-interface. It just is too hard to use for casual users like me. I can not remember all these commands and sending an e-mail seems laborious compared to clicking s button.
<htgoebel1>Is there some kind of GUI for debbugs for managing bugs/patches (close, merge, comment)? Or a tutorial how to do this with emacs-debbugs?
<maav>htgoebel1: https://debbugs.gnu.org/server-control.html documents the commands, and there is a reference card linked there
<maav>htgoebel1: you also have "C-h i m Debbugs UG RET" for the emacs interface
<maav>(you have to either customize the projects or call with C-u debbugs-gnu though)
<htgoebel1>maav: Thx, but this control-serve is much to cumbersome to use - this is exactly what I want to get away from
<htgoebel1>maav: And the emacs interface seems to have no commands for manupulating the bugs
<htgoebel1>maav: Maybe the emacs interface is able to do this - but without a tutorial I'm lost
<maav>htgoebel1: i use either icomplete/fido or ivy to browse all the commands when I forget about one, and commenting only means replying an email (f/F), what do you exactly mean by cumbersome? surely you could add bindings for specific actions like close, raise level... but I don't see that interface as useful as simply C
<htgoebel1>maav: When using the e-mail interface, I need to known my bug/patch numbers, copy the number, go to the mail-client, start a new message, enter a receiver (control-server), type the commands, send the message.
<htgoebel1>maav: This is a lot going forth and back between windows.
<htgoebel1>maav: This might not be a problem for people using gnus as their mail-client and master touch-typing. I do neither.
<htgoebel1>maav: And I don't want to be required to remember key bindings. I'm using this occasionally only.
<efraim>the only one I remember is adding '-done' to the bug number to close it
<bluekeys>Hi guix. Does anyone have ensure-system-package working on guix? Care to share any tips?
<mbakke>bluekeys: what is that?
<rekado>efraim: same :)
<rekado>htgoebel1: there’s a GUI here: issues.guix.gnu.org but it doesn’t yet offer closing and merging
<rekado>commenting works, though
<rekado>there’s no technical reason to not offer closing and merging there
<bluekeys>When using (use-package...) in .emacs.d there is an option :ensure-system-package which should call out to https://gitlab.com/jabranham/system-packages to ensure that a system package is installed. I'm trying to modify my init.el to stop calling to melpa etc and start using the system packages emacs-...
<maav>htgoebel1: if you can invoke your mail client with certain parameters to generate a mail to the address and the content, probably you can bind emacs+debbugs to your mail client
<nij>Hello! A stupid question.. how do I alter my audio volume on a fresh installed Guix System?
<nij>I used to use pulsemixer on arch, but it doesn't work on Guix :(
<antidoto>moesasji thank you. That helped me a lot. What did the trick was setting export MOZ_ENABLE_WAYLAND=1 in ~/.bashrc. Now when I run icecat from terminal it starts in wayland.
<PotentialUser-95>Hello friends,
<rekado>nij: pavucontrol?
<PotentialUser-95>How about Jokosher Editor? It's completely free (open)??
<rekado>nij: what does “doesn’t work on Guix” mean here?
<nij>rekado: I installed and launched pulsemixer, and alter the volume bar as usual. While the volume seems to be altered, the volume does not change.
<moesasji>PotentialUser-95 as far as I can tell it doesn't have a source download and based on the Ubuntu version numbers is inactive
<nij>rekado: finally it works ! Thanks yah :D
<PotentialUser-95>moesasji, Yes, its development has stopped. Want to know is it completely free? Or do you know a program like this?
<PotentialUser-95>moesasji, Yes, its development has stopped. I want to know is it completely free? Or do you know a program like this?
<mdevos>nij: when using GNOME Shell, I use the volume buttons on my keyboard, or a slider available from the top-right, or modify the sound settings in GNOME Settings. What are you using?
<moesasji>packaging software that hasn't seen maintenance for 10 years is probably no fun depending on the language it is written in. Anyway the fact that the website doesn't have the source code of the release isn't promising
<moesasji>there must be more recent applications to edit audio
<PotentialUser-95>moesasji, Thank you
<moesasji>I don't edit audio, but I guess you might want to look at https://www.audacityteam.org/
<rekado>I use Ardour for recording, mixing, and editing.
<efraim>Pavucontrol?
<efraim>Wow I'm late to the conversation
<jonsger>:)
<dongcarl>Wondering if anyone can offer guidance on how to move forward with https://issues.guix.gnu.org/45165#10, is the next step to bisect across kernel versions with qemu?
<htgoebel1>maav: After some more struggling I'm now able to tag tickets from within emacs. Setting up e-mail was an issue here, since I had to figure out which type of e-mail setup is working for me.
<htgoebel1>maav: I can also answer to tickets within debbugs - anyhow not yet quote not "reply to all".
<htgoebel1>maav: So some progress, but no full success yet.
<htgoebel1>rekado: If issues.guix.gnu.org could be used to manage the bugs and patches, I would appreciate it :-)
<jgart[m]><moesasji "I don't edit audio, but I guess "> sox is also nice for audio editing. Here are some nice python bindings around sox. I've used these bindings to do batch audio editing and processing. https://pysox.readthedocs.io/en/latest/api.html
<jgart[m]>moesasji: Here's some messy code I wrote to avoid some DAW tedium at the time using pysox: https://notabug.org/jgart/carla_final_script/src/master/final_script.py
<rekado>htgoebel1: it’s a social question of whether we want to allow these operations
<rekado>htgoebel1: it’s one thing to have an obscure email address with arcane commands and another to have an easily abused web interface
<rekado>we could make these features available to those with commit access.
<nij>Hello! I'm missing the binary `sqlite3`.. how do I get that in Guix? I've tried to install guile-sqlite3 but it does not help =(
<bandali>hi nij, there's a sqlite package that you could try installing
<rekado>nij: guile-sqlite3 is a Guile library that provides bindings to sqlite3, so that you can work with sqlite databases from within Guile.
<nij>rekado: I thought so! THanks :D
<nij>bandali: it works :D thank you!
<nij>I used pavucontrol to control the audio volume, and it worked this morning.
<nij>I just rebooted, but it stops working :(
<apteryx>would someone know if the courier fonts as distributed with texlive (tlmgr info courier) are OK to be packaged in Guix?
<apteryx>this page suggests it's obsolete: https://www.ctan.org/pkg/courier and non distributable
<desmes>Hey people! Does anyone know if Pulseaudio is included in %desktop-services? (I'm not using a Desktop Environment) When I open "pavucontrol" I only see "Dummy Output" as Output Devices.
<apteryx>Seems I should use URW Nimbus Mono, which is a free clone of courier
<apteryx>desmes: pulseaudio is started on demand on Guix (by the applications that require it)
<apteryx>in Guix*
<nij>desmes: I think I got the same problem too.
<nij>I just rebooted and turned on a youtube video in my browser. The volume was too low, so I tried pavucontrol to tune it.
<desmes>apteryx: I see, but I should still be able to hear system sounds when using pavucontrol and to hear sound when I open a Video, shouldn't I?
<nij>There was just "Dummy Output", and I couldn't control it.
<nij>(Several minutes later, it changed. And now it worked @@)
<apteryx>desmes: perhaps you need the pulseaudio-service-type; it's included in the default desktop services (see: (gnu services desktop)). I doesn't run pulseaudio, but provide a default pulseaudio configuration, IIRC.
<apteryx>It doesn't run*
<desmes>apteryx: What do you mean? If "pulseaudio-service-type" is included in %desktop-services, I should already have it, should't I?
<apteryx>desmes: it depends of your operating-system configuration. You previously said you were not using a desktop environment.
<desmes>this is my "services" expression https://pastebin.com/wcZsrmSQ
<desmes>apteryx: Yes true. But I do have "%desktop-services".
<apteryx>Your sound otherwise works (via ALSA for example?). I'm afraid I don't know.
<desmes>apteryx: Mmmh. I really don't know how to test it. I've installed "alsa-utils" and acording to amixer my Master is unmuted and at 50% volume. But it still doesn't work.
<donotshake[m]>for a newb, slightly related question. where do I find exactly what %desktop-services entails?
<desmes>donotshake[m]: What I do is fire up a Guile REPL and evaluate: "(use-modules (gnu)) (use-service-modules desktop)" and then you can evaluate %desktop-services
<desmes>But I'm sure there are better ways to do it.
<nij>Hello! What sync services do you use for daily basis? I'm currently on Dropbox, but it's nonfree.. want to switch to a better alternatives that work on Guix System. Thanks for any advice :)
<desmes>The strange thing is that when I do "ps aux | grep pulse" pulseaudio is running: "pulseaudio --start --log-target=syslog". But when I run "sudo herd status" there's no pulseaudio service and also I cannot run "sudo pulseaudio...". I am very lost...
<desmes>nij: I would recomend "next-cloud", it is like a self-hosted dropbox (but with many more things).
<apteryx>donotshake[m]: You can git clone the source and 'git grep' for something, if it isn't documented in the manual.
<apteryx>I would usually start looking in 'info guix' -> C-s to search or 'i keyword RET' to look for indexes.
<desmes>I think my sound problem might be deeper, when I run "aplay -l" I get "aplay: device_list:274: no soundcards found...".
<apteryx>rekado: do you know if texlive-union 'packages' can be combined with other individual texlive packages?
<apteryx>if it's problematic to compose this way, is it possible to use texlive-union recursively?
<donotshake[m]>nij: depending on your use case, I have found a nextcloud server to be better for easy client configuration for family or friends. NC does a lot (bloat) that I found I didn't need from a shared folder. I personally find rsync over ssh to cover all my needs and use less resources all around, even on mobile devices. You can even handle file versioning and conflicts with little issue w rsync.
<leoprikler>versioning with rsync? how?
<donotshake[m]> https://www.howtoforge.com/backing-up-with-rsync-and-managing-previous-versions-history pretty efficiently actually using symlinks
<donotshake[m]>rsnapshot is an alternative (but I found rsync and bash to be better) and duplicty (also good stuff) is basically rsync with diff and gnupg for longer term or offsite untrusted storage
<nij>Thanks for the recommendation! I haven't had the courage to self-host.. but maybe I will try..
<nij>Does using-others-device imply none-freedom?
<donotshake[m]>Is anyone aware of something like sdf.org but open source or using guix? If not if someone in the community was willing to dedicate hardware to the cause guix seems perfect for public access unix system
<donotshake[m]>nij: by 'using-others-device' you mean someone else's computer, a vps and the like? If so most people care about the OS and software(nextclud and rsync are both open source), but at some point the hardware and majority of firmware these days is 'none-freedom', wifi graphics network cards.
<leoprikler>nij: Not necessarily, but PaaS has to be carefully evaluated always.
<leoprikler>SaaS on the other hand is never free.
<donotshake[m]>There are free/libre SaaS, like ethercalc/etherpads and other applications. Someone always pays for it in the end though.
<donotshake[m]>matrix as another example. Unless I am misunderstanding your def of SaaS and SaaP
<leoprikler>What's SaaS about Matrix? Is it not yet another chat like IRC?
<lfam>Does anyone know how to retry builds on ci.guix.gnu.org? https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00063.html
<leoprikler>Ethercalc might use free software, but I doubt that's enough to qualify as free. Collaborative editing platforms have historically been quite bad when it comes to data ownership, for example.
<donotshake[m]>I hear ya. The software can be entirely free but the admin practice can definitely take advantage of end users freedom. The only other way I can think to sync data on mobile devices without a centralized server and maintaining your own control is using some overlay network like i2p, tor, maybe syncthing qualifies as a solution here.
<nij>I installed dropbox by `guix install python-dropbox`, but after that there isn't any binary for dropbox @@ How do I launch it?
<lfam>nij: That's a library, not an end-user program
<nij>Oh :O :(
<nij>I'm not ready for self-hosting tbh..
<nij>It will be fun I know, but I have to start my job soon and will not have time dealing with server failure.
<efraim>I use dbxfs when I need to interact with dropbox, otherwise I use syncthing
<lfam>efraim: I'm wondering, do you have a graphical aarch64 system? Have you tested it with the staging branch?
<raghavgururajan>Hello Guix!
<raghavgururajan>What build-system should I use for this (https://github.com/desktop-app/qt5ct/tree/59be9d1d995348687702a18ce3d653c07389cfa2)?
<raghavgururajan>leoprikler: Congrats on getting comit access. :-)
<leoprikler>thanks
<efraim>lfam: I had to reset my aarch64 board, right now it's running armbian
<efraim>In the morning I'll reconfigure it to run guix. I can plug it in to see how it works with enlightenment
<lfam>What kind do you have?
<efraim>pine64
<efraim>I have an odroid-c2 also, but it's about to become my router
<lfam>I want to get something with some horsepower but there isn't really anything between $50 and $1000 :/
<efraim>and a firefly-3399, but it's in maskrom mode
<efraim>the firefly was great https://en.t-firefly.com/Product/Rk3399.html, not sure if it supports an m.2 ssd though
<efraim>1 x PCIe M.2 NGFF ( B-KEY ) looks like it
<lfam>That CPU is one of the better ones, but it's still somewhat lacking. The A53 cores aren't going to be so useful for Guix development, unless there were a lot more of them
<efraim>when I was using it it was using all 6 cores for compiling
<lfam>I've been thinking of buying a Honeycomb from Solid Run
<lfam>It would be nice to have one in the Guix build network, for development
<efraim>16xA72 and 2 DDR4 slots looks nice
<lfam>Very
<lfam>4xSATA and fast networking
<efraim>have you looked at the sifive risc-v board? https://www.sifive.com/boards/hifive-unmatched
<lfam>Yeah, also looks interesting. But I want aarch64 specifically
<moesasji>raghavgururajan I don't know the answer, but a quick search shows an early attempt to package it by someone else: https://github.com/blobject/guix-custom/blob/master/gnu/packages/agaric.scm
<raghavgururajan>moesasji: Thanks, I'll look into it.
<moesasji>on problem. Note that it does look a bit strange to me that it uses gnu-build system if I look at examples in kde.scm or qt.scm
<moesasji>but I haven't packaged for guix, so someone else is in a better position to answer
<leoprikler>qt-build-system uses cmake afaik
<leoprikler>so basing off of gnu-build-system might actually be the right pick
<kozo[m]><efraim "I use dbxfs when I need to inter"> Hey efraim, I saw you had a blog post about making a syncthing service but wasn't able to find one. Did you add it into Guix?
<efraim> https://bpa.st/QBZA I use this as a shepherd user service
<lfam>Speaking of syncthing, there is an overhaul of the package waiting for review on guix-patches
<efraim>I saw briefly, it re-bundles everything
<lfam>It switches to using bundled libraries in order to get the latest version
<lfam>Yes
<lfam>Perhaps we should go for it. Or maybe remove the package until we have better support for Go
<kozo[m]>efraim: Thank you very much for your service code
<kkebreau>In the event that two people submit the exact same patch, do we just accept the earlier one?
<efraim>i see you're tackling the xfce update :)
<kkebreau>efraim: Indeed. :)
<lfam>If two people submit the exact same patch, and two people review the different patches, and push them at the exact same time, what time will the train get to Buffalo?
<rekado>apteryx: re texlive-union: I don’t know! It was designed to build a union directory from individual texlive package outputs, so that the TeX configuration files can work correctly.
<kkebreau>lfam: lol, it doesn't! It ends up in Toronto because of the race condition.
<lfam>Haha
<kkebreau>There are a few unique patches, so I'll start with those.
<efraim>update to readymedia aka minidlna needed: https://security-tracker.debian.org/tracker/CVE-2020-28926
*efraim is headed off to bed
<apteryx>efraim: good night!
<mdevos>would it be reasonable to sort the ‘Copyright © YEARS NAME’ list in doc/guix.texi alphabetically? Adding my name to the end after a small change feels kind of, (I don't know actually)
<apteryx>mdevos: for what benefit? currently it's ordered chronogically, which makes sense to me.
<apteryx>or rather, it's not really ordered but new entries appear at the end
<mdevos>chronologically makes sense to me too, but it kind of singles the latest contributor out
<apteryx>this never last very long
<apteryx>;-)
<apteryx>rekado: thanks! it seems to work simply mixing texlive-union with regular texlive packages. There were various shell commands in the kpathsea scripts that needed patching.
<apteryx>rekado: would you perhaps be interested in reviewing docbook-utils/texlive-jadetex stuff? It's pretty texlive-focused, and that was pretty new to me, so there are probably many things I'll have done wrong.
<raghavgururajan>I get "ERROR: Could not find lrelease executable". Does one know what 'lrelease' is? It seems like related to Qt.
<raghavgururajan>*any one
<ngz>raghavgururajan: I don't know what it is, but there are a few comments about it throught the code base, e.g., in qtpass. You might want to try the workarounds used.
<rekado>raghavgururajan: it’s in qttools
<raghavgururajan>ngz: Thanks!
<mdevos>sneek: tell later moesasji: I'm sending the xkeyboard-config patch to the mailing list
<sneek>later, mdevos says: moesasji: I'm sending the xkeyboard-config patch to the mailing list
<raghavgururajan>rekado: Ah, qttools was in inputs, not sure why it didn't detect.
<mdevos>sneek: later tell moesasji: I'm sending the xkeyboard-config patch to the mailing list
<sneek>Got it.
<moesasji>mdevos got it although I'm not really sure what you want to patch?
<sneek>Welcome back moesasji, you have 1 message!
<sneek>moesasji, mdevos says: I'm sending the xkeyboard-config patch to the mailing list
<lfam>I want to benchmark some Guix things on a few computers on which I only have unprivileged remote access. I think that building the Guix source tree will work, but I'll need to bring all the dependencies
<lfam>I guess I can do this with `guix pack`? Any advice?
<lfam>Hm, I do have privileges after all...
<rekado>if you hadn’t you could use “guix pack -RR -S /bin=bin --localstatedir guix” to create a truly relocatable Guix tarball
<moesasji>@mdevos I don't fully get your patch although it is hard to follow in a patch form. I don't see where you convert the xkb form to the correct keymap style you would need in an initrd. Anyway ludovic who contributed this will probably get better than I do what you are trying to do.
<rekado>in a package definition what’s the difference between the (native-search-paths …) field and the (search-paths …) field?
<lfam>rekado: I have tried to figure this out myself
<lfam>I'm still not sure, so I always use native-search-paths
<civodul>rekado: search-paths is for cross-compilation
<civodul>that's where we put CROSS_LIBRARY_PATH, CROSS_C_INCLUDE_PATH, etc.
<moesasji>sneek: later tell mdevos: I don't understand what you are trying to do in your patch as the keymap that is needed in an initrd is not the same as the xkb layout you find in xkeyboard-config. It would need to be converted like is done for the console layout in keyboard.scm
<sneek>Will do.
<civodul>it's prolly the only use case in fact
<rekado>civodul: ah, that makes sense.
<rekado>(if it was up to me and nobody used Guix I’d rename “search-paths” to “cross-search-paths” and “native-search-paths” to “search-paths”, but that ship has sailed)
<desmes>Hi again folks, I'm trying to add a simple option to a kernel module. With other distros I simply put "options snd-intel-dspcfg dsp_driver=1" under (for example) "/etc/modprobe.d/swift5.conf". Now on Guix I'm trying to do it by having this config: https://pastebin.com/U6pWVEHW . But upon restarting and checking it with "systool -v -m snd_intel_dspcfg" I can see that it hasn't changed. Anyone knows how to do something like this?
<rekado>desmes: use the kernel-arguments field instead
<lfam>I'm getting "error: while setting up the build environment: cannot set loopback interface flag: Operation not permitted"
<lfam>I think it's in docker
<civodul>rekado: yeah, the goal was to make it consistent with inputs/native-inputs
<civodul>but i agree it looks weird
<desmes>rekado: As in https://pastebin.com/EtYmfSEC you mean?
<rekado>desmes: without “options ”
<desmes>rekado: Ok, I'll try right now. Thanks!!
<desmes>It doesn't work, the value is still "0" instead of "1".
<desmes>It's strange because that line is correct, it works in Arch linux, for example.
<cbaines>If we're discussing Arch Linux, looks like the Arch Linux wiki includes a . to make it one argument https://wiki.archlinux.org/index.php/Dell_Inspiron_15_(7590)#Use_legacy_HDA-Intel_driver
<cbaines>rather than the two it currently looks like
<cbaines>I'm guessing the . isn't optional
<desmes>cbaines: Nono, I'm trying to make it work on Guix, not Arch. And on Arch I did is as I said, on a modprobe.d file, not as a "kernel parameter in GRUB configuration" as it says there.
<desmes>I did it*
<desmes>I think I'll have to try with this syntax although, shouldn't I? Since that Guix expression in "(kernel-arguments " may be the equivalent for Guix.
<cbaines>The line that works in the modprobe.d file (without the .) is unlikely to work as a kernel parameter
<desmes>cbaines: I see, I'll try with this different syntax now. Thank you!
<cbaines>that sounds good, trying as the Arch wiki suggests seems sensible: setting the snd_hda_intel.dmic_detect=0 kernel parameter
<desmes>cbaines: It worked, Hallelujah!! Thank you so much, it's the last thing I needed to do to use Guix as my daily driver :)
<cbaines>Good good, I'm glad you've got it working