IRC channel logs

2022-04-27.log

back to list of logs

***daviid is now known as Guest1808
***daviid` is now known as daviid
<podiki[m]>phodina: I don't know what wine staging is these days after the big wine version releases recently, maybe dxvk can build with regular wine now
<podiki[m]>I would try that first
<podiki[m]>(wine staging I know will fail right now because it wasn't updated after wine had a new big release)
<phodina[m]><podiki[m]> "(wine staging I know will fail..." <- Yup, it's still at version 6.6 I think and wine is at 7
<podiki[m]>I'm not sure if/what the new patchset is, but I would try dxvk with current wine anyway
<apteryx>interesting, (package-definition-location (car (find-packages-by-name "python2-pyalsaaudio"))) returns #f
<apteryx>package-definition-location-code returns #f for this package; why?
<the_tubular>    (properties `((superseded . ,sshfs)))))
<the_tubular>What does this shnippet do ?
<apteryx>I guess it's used by UI code to tell a user, hey, this package is superseded by sshfs
<apteryx>and perhaps it uses sshfs in its place too (just speculating, use the source :-))
<the_tubular>I guess, I don,t know what superseded means
<apteryx>package-superseded is documented as "Return the package the supersedes P, or #f if P is still current."
<the_tubular>Thanks :) That answers it
<apteryx>and when you use package specifications, it will return the new package that superseded the old one (with a warning)
<EMax`0Mancer[m]>(connected to my earlier ongoing issue:) emacs on guix doesn't seem to know the language environment/encoding unless I force it with `(set-language-environment "UTF-8")` and/or `(set-locale-environment "en_GB.UTF-8")`. and even after setting it, this seems to fail in certain (mail-related) buffers.
<apteryx>have you configured your locales correctly as mentioned in the manual?
<apteryx>rekado: I'm not a bit saddened by this: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55139, as it puts a dent in my plan to axe every leaf python 2 package definitions via a script.
<apteryx>I'm now*
<podiki[m]>'(E . Max `(0 ,Mancer)): I use mu4e and emacs on guix system and haven't noticed anything weird compared to emacs on arch
***zacts is now known as z4kz
<littlebobeep>So I can't use Guix on a MIPS32 74K CPU right?
<littlebobeep>I don't know a MIPS32 machine with enough RAM to bootstrap really
<apteryx>I don't think MIPS is even supported so far
<apteryx>someone correct me if I'm wrong
<horizoninnovatio>Hoping someone can help: installing (using graphic install 1.3 & editing config.scr) onto an old lalptop with bios/gpt, and grub keeps failing. Tried mbr, bios-grub (fat32, ext4, and clear). Any hints to a solution? Thanks.
<zacchae[m]>Is it intended that programs in a guix home container will be able to use ones x11 server in the future? Currently, it seems that programs launched from a container will only work in terminal mode
<zacchae[m]>or maybe I just need to --share a certain x11 related directory?
<jpoiret>zacchae[m]: that's exactly it, you'll need to share /tmp/.X11-unix as well as the DISPLAY env variable
<jpoiret>horizoninnovatio: wdym by grub keeps failing?
<jpoiret>i'd suggest using the latest installer as well, lots of bugs have been fixed on it
<mothacehe>hey guix!
<jonsger[m]>hi mothacehe :)
<jpoiret>hello
<abrenon>hello guix
<horizoninnovatio><jpoiret> "horizoninnovations: wdym by grub..." <- Exited status 1. Mentions: embedding not possible, will not proceed with blocklists. - fat32, for unformatted partition, error- unknown file type. Tried latest & testing.
<jpoiret>did you let the installer format the partition or are you keeping it as is?
<jpoiret>you may simply not have enough space in the mbr for grub
<horizoninnovatio>Grub partition formatted or cleared before installer. Gtp file system so no MBR. Grub-bios partition 1st on disk 100mb so plenty of space. Config.scr edited to install grub on partition.
<jpoiret>horizoninnovatio: the partition shouldn't be formatted apparently
<jpoiret>also i'm not sure if the target should be the partition or the whole disk for such a setip
<jpoiret>can you check also that the partition does have the bios_grub flag set?
<jpoiret> https://emojipedia.org/melting-face/ est cursed par contre
<jpoiret>oops, wrote in the wrong chat >:)
<horizoninnovatio><jpoiret> "horizoninnovations: the partitio..." <- As stated before: partition flagged BIOS_grub, tried: unformatted - error unknown file system, fat32 - error, blocklist etc. Now trying an experiment...
<WesterWest[m]>I have a question, i tried to package org-roam-ui package (https://github.com/org-roam/org-roam-ui)
<WesterWest[m]>but I have a slight issue, the package gets properly installed but it depends on the out/ directory where are some non-elisp files located, which means that the package when installed actually is missing the folder in it’s store item and won’t work properly
<WesterWest[m]>my question is, how do I solve this? i just found that there’s a variable that sets the path for the out/ directory, but I probably shouldn’t set it to the input store item path
<WesterWest[m]>iirc the package definition written by guix importer contained the directory listed in #include, but the actuall store item only contains elisp files
***zacts is now known as z4kz
<bricewge>Wester West: I guess it's not (yet) possible to package it since the javascript part depend on >6000 line of decencies form npm
<WesterWest[m]>bricewge: well they already provide a built version of the website
<bricewge>It's quite challenging to package npm related software in Guix
<bricewge>Then it won't be pure and it may work
<WesterWest[m]>bricewge: the repo already has the out/ directory so it can be directly saved (for the time beeing, before npm is available)
<bricewge>So you probably need to copy that directory in the package output and adjust the location of that directory in the rest of the package code
<bricewge>You could take inspiration from the install-image phase emacs-org-roam for exemple
<bricewge> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/emacs-xyz.scm?id=936f23a654d4b1a29840792b1802d78e378275a5#n29375
<the_tubular>Umm which commit updated podman ?
<the_tubular>I can't seem to find it
<zacchae[m]>jpoiret: Thanks, that worked
<sneek>Yey! yewscion is back!!
<yewscion>sneek: botsnack.
<sneek>:)
***konstantinos1 is now known as konstantinos
<eskin>I sent a patch to guix-patches@gnu.org a couple hours ago and didn't get an acknowledgement and it's not showing up on the archive, is that unusual?
<bjc>is it your first?
<eskin>yeah
<bjc>there's a moderation period for the first one, iirc
<eskin>ah gotcha thank you
<bjc>if it's not there tomorrow, or you don't get an ack, a post to the ml might me in order
<eskin>will do
<tribals>Hi, folks!
<tribals>Recently I decided to move my local guix repository to another place. I did so, then tried `./pre-inst-env guix ..` - it failed. What do I need to do in order to properly move guix project to other filesystem location? Eg, do I need to `make something?`, or just re-do steps from some manual page?
***zacts is now known as z4kz
<attila_lendvai>tribals, probably a make distclean; ./bootstrap; ./configure --localstatedir=/var --sysconfdir=/etc
<sneek>Welcome back attila_lendvai, you have 1 message!
<sneek>attila_lendvai, apteryx says: you could also reference the package/origin directly via gexps (e.g, #~(modify-phases ... (invoke "something" ... #$the-origin) ...)
<attila_lendvai>apteryx, oh, excellent, thank you!
<tribals>attila_lendvai: thanks, will try it
<bjc>does guile have a flatmap equivalent, or some other way to flatten a list?
<jpoiret>bjc: concatenate in srfi-1?
<jpoiret>and if you want to map -> concatenate there's append-map iirc
<bjc>append-map may work
<bjc>thanks
<bjc>ah, nope. no go
<bjc>i have a list of (atom atom atom (list atom atom) atom atom)
<bjc>and i'd just like to splice that internal list somehow
<apteryx>bjc: probably append-map + match-lambda
<apteryx>if you git grep 'alist->list' you'll see an example you could adapt for your use case
<bjc>thanks, i just ended up hacking something together with append, map, and an ensure-list function
<tribals>Another question: how to import inferior package? There is `lookup-inferior-packages`, but returns a list of "matching" packages. I need a concrete one. Can I directly import it? There is also `inferior-package->maniferst-entry`, but IIUC it is meant to be used at manifest *processidng* time, not *definition* time. Or I'm missing something?
<wdkrnls>Dear Guix, I have a bunch of R packages in my private channel which I would like to get in Guix proper.
<wdkrnls>However, I am getting stuck with the (complex to me) developer workflow.
<wdkrnls>I have made the patch with git format-patch, but I cannot get the email to send with git send-email.
<wdkrnls>I have no other emails working yet since I am trying to switch away from Google to the FSF recommended email Posteo.
<wdkrnls>And I haven't yet figured out how to get Emacs to cooperate with that one yet.
<wdkrnls>Somehow git seems to know my old email address, except when I ask it: in which case in knows my correct email address.
<wdkrnls>which is stored in .gitconfig
<podiki[m]>you can also just attach the patch in an email, doesn't have to be sent with git
<podiki[m]>patches from gmail or other email addresses will be accepted as well (first messages will be be held for approval first though, not sure if that applies to patches list)
<wdkrnls>podiki[m]: fair enough, I can do that through their web interface.
<attila_lendvai>there's quite a lag with maintainer feedback... :/ i do understand the reasons, but it nevertheless has the unfortunate effect of pushing contributors towards less cooperation (e.g. having my own (practically unknown) guix channel; duplicating/shadowing code into other modules instead of patching them in-place; etc...)
<EMax`0Mancer[m]><apteryx> "have you configured your locales..." <- I have ` (locale "en_GB.utf8")` defined in the configuration. Is that not sufficient?
<arjan>is there a way to run stuff like dropbear and cryptsetup tools in a Guix System initramdisk?
<tribals>How about gathering concrete inferior package? :D
<vats>Hello, has anyone else had telegram-desktop build failure recently?
<bovid-19>hello guix
<apteryx>EMax`0Mancer[m]: like this: https://guix.gnu.org/en/manual/devel/en/html_node/Application-Setup.html
<EMax`0Mancer[m]>apteryx: I've done that already (installed `glibc-locales`). And put `export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale` in .bashrc and added it (via `setenv`) to Emacs for good measure. Still I have the same issue with mu4e buffers (but no other Emacs buffers) not knowing the encoding. Is there something else I should be doing?
<podiki[m]>you are on foreign distro or guix system? (those steps shouldn't be neede don guix sytem i think)
<EMax`0Mancer[m]>On Guix System
<mekeor[m]>rekado: i'm now running the hpcguix-web service locally. when i open the website in the browser, it attempts to open a packages.json file and some other files which all result in a 404. -- does hpcguix-web require a web-server (like nginx) to be installed and to serve some folder?
<apteryx>EMax`0Mancer[m]: no idea; perhaps a Mu4A specific problem?
<apteryx>mu4e*
*mekeor[m] uses mu4e on guix-system, too
<EMax`0Mancer[m]>apteryx: I don't know. only happens on my Guix machine and not on other machines with the same emacs config.
<EMax`0Mancer[m]>I'm assuming I have something set wrong somewhere
*mekeor[m] can't find '(E . Max `(0 ,Mancer))​'s original question
<EMax`0Mancer[m]>(and it's fine in the gnus-view mode of viewing individuals messages in mu4e. seems to only be a problem in the mu4e-headers view and mu4e-compose view.0
<EMax`0Mancer[m]>> * <@mekeor:matrix.org> can't find '(E . Max `(0 ,Mancer))​'s original question
<EMax`0Mancer[m]>Original question is in mu4e-headers and mu4e-composer buffers, but in no other emacs buffers, it doesn't seem to know what encoding (utf-8 etc.) to use or at any rate won't display emojis, devanagari font etc. but these display fine everywhere else in emacs.
<mekeor[m]>'(E . Max `(0 ,Mancer))​: actually, i also experience some problems with mu4e (on guix system) but it might be because i did not configure mu4e well: (1.) it does not use unicode-characters for the tree view. it uses ascii characters to show the hierarchy. and (2.) it freezes regularly, since some weeks ago or so.
<mekeor[m]>but i don't know about emojis. i did not try to display them.
<EMax`0Mancer[m]>The tree-view stuff seems to work fine. It's things outside of a certain character range.
<EMax`0Mancer[m]>it says "not encodable by coding system iso-latin-unix" and then if I specific in Emacs (which I don't have to do on other systems) `(set-language-environment "UTF-8")`, then it says "not encodable by coding system utf-8-unix"
<EMax`0Mancer[m]>(when I C-u C-x = on one of the non-displayed characters)
<mekeor[m]>huh, weird
<apteryx>EMax`0Mancer[m]: perhaps you could try from a pure environment or even a container
<apteryx>to ensure nothing from your system is messing with it (such as externally installed MELPA packages or the likes)
<EMax`0Mancer[m]>that doesn't sound easy, given that to test it properly, I really need my emacs configuration, including MELPA packages
<EMax`0Mancer[m]>when I run `localectl` it tells me `System Locale: n/a` - is this to be expected in Guix
<EMax`0Mancer[m]>* in Guix?
<mekeor[m]>i don't have localed/localectl installed on my guix-system machine