<wheeler>Hope everyone's well and staying healthy. Packaging audacious for guix but running into some issues with audacious-plugins. A separate package but it insists on writing to the /gnu/store...-audacious-4.0/lib/audacious directory. It says permission denied. Very new to packaging but wanting to learn how to do the tightly coupled but separate package thing. Anybody know the right way to handle this?
<brendyyn>spk121: Are you the developer of guile-gi? I'm tryning to run the example with guix environment --ad-hoc -l guix.scm guile; guile-gi examples/browser.scm, but it says guile-gi doesn't exist. seems that instruction is wrong?. Below it the instructions for building from git dont work either; they say found development files for 3.0, but guile is 2.2
<spk121>brendyyn: Well, it "works for me" as they say. But for Guix, because of how it needs to update so many environment variables and path, the Guix package is safer than building from master. The next rev 0.3.0 is just waiting on me to finish writing this manual.
<str1ngs>this is assuming you are writing something you that is going to run locally
<brendyyn>I think that programs that include a guix.scm in their repo, indicating guix support, should Just Work. it's great customer experience. when guix takes over the world it would be great if when someone sees a guix.scm in a projects root, they can think "sweet, i can just run guix environment -l guix.scm, and it will all magically work
<str1ngs>this does not apply to gobject-introspection
***nckx changes topic to 'GNU Guix | register your nick to talk! | get it at https://guix.gnu.org | videos: https://guix.gnu.org/blog/tags/talks/ | bugs & patches: https://issues.guix.gnu.org | paste: https://paste.debian.net | Guix in high-performance computing: https://hpc.guix.info | This channel's logged: http://logs.guix.gnu.org'
***nckx changes topic to 'GNU Guix | register your nick to talk! | get Guix at https://guix.gnu.org | videos: https://guix.gnu.org/blog/tags/talks/ | bugs & patches: https://issues.guix.gnu.org | paste: https://paste.debian.net | Guix in high-performance computing: https://hpc.guix.info | This channel's logged: http://logs.guix.gnu.org'
<str1ngs>daviid: this is related to GLib-GObject-WARNING **: 21:29:34.629: cannot register existing type 'GtkWidget'. which is not an issue with g-golf but GI in guix. guile-gi suffers from it as well.
<daviid>spk121: where is tha efined? and does this affect all your modules, i mean those modules that needs it of course
<daviid>but this is a guile problem we shoul move this talk to guile
<daviid>be right back, need to prepare something to eat :)
<str1ngs>spk121: can you please try try with. guix environment --ad-hoc gtk+ gobject-introspection webkitgtk guile guile-git . then guile ./examples/browser.scm when you have time. which should be on topic for guix since only guix is effected
<Kimapr>anyone knows how to set up multiseat on guix system with one GPU, two keyboard/mouse pairs and two displays?
<bricewge>How do you debug your configuration? With message like “guix system: warning: invalid argument list” or “guix/ui.scm:1876:12: In procedure run-guix-command: In procedure find: Wrong type argument in position 2 (expecting list): #f” for example.
<iyzsong>um, i didn't follow it. maybe a nginx proxy cache is enough? I have my VPS in japan, and it sometimes provide 200KiB/s, and other time almost 1KiB/s. In the end, I think it's just my ISP's speed limiting so bad..
<civodul>would you be able to rsync berlin's 'guix publish' cache in China?
<peanutbutterandc>iyzsong, Just ran a local build. It gives creates a 'my.domain/path/' directory and puts everything therein. Which isn't exactly what I want. I think I just want the index.html to be outside of any sub-dirs and the posts to be under a directory name /hello-haunt...
<peanutbutterandc>which I could do just by manually `mv`-ing stuffs around, I figure. I was only wondering if there's a better way to do it
<iyzsong>okay, then i guess you have to looking into the code and hack with it :-)
<peanutbutterandc>iyzsong, That is the problem. I am not yet that much of a guile expert. But yes, perhaps I'll have to go with my manual `mv`-ing for now
<peanutbutterandc>iyzsong, is janneke the designer of guix website? It looks so cool! And guile's website is one of my favorites ever! Clean and elegant
<andydarcyjewell>I've done what it seems to suggest, but I'm now getting an error message: error: (arguments #:phases (modify-phases %standard-phases (delete (quote configure)))): invalid field specifier
<brendyyn>andydarcyjewell: i think you want a backtick `
<peanutbutterandc>guix-vits, Hmm... yes, that is another one that I did find. In this first phase, I'm just trying to see how viable a website in haunt will be if one does not have dedicated hosting. And I've got the elephant in already (CI/CD is done) but the tail is stuck (the link issue), as they say around my part of the world.
<andydarcyjewell>brendyyn: Yep, that was it, thanks. Now onto the next error! I'll inevitably be back later
<peanutbutterandc>Ah! That is how I know Mr. janneke from! I was so sure I'd read his name a couple times before! He even got guix to run on his pinebook! Neato, Mr. janneke!
<brendyyn>I guess I learnt with tabs because I was too rock n roll to learn sheet music
<peanutbutterandc>It looks neat. Kinda' like IMSLP, I guess. But I am not that into classical music, yet. But I do use lilypond. It's been of great help to me. I use it to transcribe ukulele tabs with personal annotations (RH and LH fingerings, etc.)
<rekado>peanutbutterandc: “But I am not that into classical music, yet.” <— the “yet” is the right attitude!
<peanutbutterandc>rekado, You do not happen to be Mr. Ricardo Wurmus, do you? Oh... yeah. I know when I'm no yet smart enough to appreciate the beauty in things. Like LISP. And even guile and scheme and guix and all the crazy sorcery that the wizards around here do it. :)
<rekado>peanutbutterandc: yes, one of my other names is Ricardo Wurmus.
<peanutbutterandc>I only hope to be smart enough to do magic with guile and stuff... like all the crazy smart hackers around here. And hopefully I'll learn to appreciate classical music too....
<peanutbutterandc>Mr. nckx is the coolest. He's helped me out a lot. Mr. Courtes, I know, was the one who started guix. Super cool, too. I haven't been well-acquaintaited with the rest... sadly
<brendyyn>peanutbutterandc: What are you working on with Guix?
<peanutbutterandc>brendyyn, I use guix as my primary package manager. I am actually working with haunt and not guix. Also, I'm just a normal user (hobbyist). Not a professional. Hence the fanboying. :)
<brendyyn>peanutbutterandc: It's ok I've spent 3 years working up from Novice to Beginner here.
<peanutbutterandc>The reason I love guix is because now I don't have to worry about screwing up my machine when I install software. I can clean everything up back to the way that it was. It is so very super cool. It has put fun back into computing for me. Guix and Guile.
<peanutbutterandc>rekado, I literally have a printout of 'GNU Emacs Survival Card' next to me. I am that level of n00b. But yes, I am so glad that the maintainers and all the crazy smart people here are so very helpful. The other day, I was talking to a gentleman who was developing a bootstrapping thingy that, in theory, could restore all of our present day technology in 7 days (or so), even in case of a total technological apocalypse. Everyone is so very smart
<peanutbutterandc>janneke, Like I said, you all are super smart and super modest. And not to mention lilypond. Such beautiful scores! And such great program! I use it to transcribe my ukulele sheets with annotations.
<peanutbutterandc>janneke, And because it is Free and Open Source, I know that even my kids and grand-kids (I'm still in my early 20s) will be able to use it. Your work has benifitted me so much. And lilypond prints such neat scores!
<peanutbutterandc>brendyyn, Hmm... I always get overwhelmed by how much things there are to be done with emacs (and family). But I'll try to look those up as well. Thank you very much.
<brendyyn>peanutbutterandc: thats why i use spacemacs. it doesnt give you something perfect, but its all setup and integrated. if you open a python file, it will automatically download emacs packages for working with python.
<peanutbutterandc>brendyyn, Oh wow. That does sound very helpful. I will take a note of that as well, then.
<rekado>peanutbutterandc: thanks for sharing your transcriptions! These will be useful for the two Ukulele players in my apartment.
<janneke>peanutbutterandc: thank you -- we all have our heros and we do what we can
<peanutbutterandc>rekado, I will consider that my small token of gratitude to you, sir. I would also recommend the CC-BY licensed (thereby Open Culture) books by Mr. Al Wood (http://howtoplayukulele.com/) for the learners. I hope they do great! (P. S: My repo uses git-lfs to track tuxguitar (.tg) files ) :)
<peanutbutterandc>janneke, I would suppose so, sir. I am extremely grateful for your work. Thank you very much once again.
<jonsger>maybe we should focus on xfce and/or mate. They seem to be more handlebar
<bgardner>Good morning guix! I'm trying to better understand how my disk space is being so I can repartition and plan better. I have a 30G / partition that crossed 80% usage, so I reviewed my packages and decided that instead of openjdk, I should be using openjdk v11. So I issued 'guix package -r openjdk:jdk -i openjdk@11:jdk', which ran fine. Then I ran a pretty aggressive gc: 'guix gc -d 1w'. My expectation
<Kimapr>okay so i just started sway and figured out how to run apps
<andydarcyjewell>Hey Guix, I'm back with more daft questions! I've got Factor to build with, but now I need it to download a boot image and then "bootstrap" it. The first involves downloading a file, so I'm wondering if that should go into a separate package, and be depended upon by this package?
<andydarcyjewell>The bootstrap step involves running the new factor binary with a flag to continue the build of the Factor modules.
<andydarcyjewell>So for that, I think I need to run this bootstrap command from within this package.
<andydarcyjewell>Am I thinking along the right lines, or is there a more Guix canonical way to do it?
<mbakke>andydarcyjewell: I don't really understand the question, but you can add the boot image (and any other "origin") as inputs and refer to them in the build process
<bricewge>Would it be a bad idea to submit a patch to support modifying services based on their name and not only their type?
<andydarcyjewell>hey mbakke: the make process requires the "boot image" for the Factor system to be in the build dir, run make, and then invoke the bootstrap process, which pre-compiles the Factor ecosystem (i.e. factor modules)
<bricewge>It would allow modifying services defined with simple-service.
<andydarcyjewell>mbakke: so in the "(source (origin ... ))" call, I currently have just one "(uri ...)" call and a "(sha256 ...)" call; do I just add another pair like that for the boot image download?
<nagamalli>I have completed writing package description and 2 of my patches were
<mbakke>andydarcyjewell: GHC might not be the best example as it does not use the standard (modify-phases ...) syntax, but I'm sure you'll figure it out ;-) there is also 'git-manpages' which is an input to the git package.
<nagamalli>Hi,Hope u know about my status,What should be my next task?
<NieDzejkob>LPT: check out staging and core-updates branches with `git work-tree` so that you don't have to recompile everything each time your switch branches
<g_bor[m]>Yes, I know a little bit. Have you already recorded your contributions?
<apteryx>oops: sha256 hash mismatch for /gnu/store/v4lx2zi5zgzzfkicsvzpvc5jkz3g6pjl-rustc-1.34.1-src.tar.gz:/sha256 hash mismatch for /gnu/store/v4lx2zi5zgzzfkicsvzpvc5jkz3g6pjl-rustc-1.34.1-src.tar.gz:
<apteryx>this is on Guix 7ff639510096ff762b9cced5fba6db254a961af9
<munksgaard>I just did a fresh install of GuixSD and after adding the nonguix channel (https://gitlab.com/nonguix/nonguix) I've run `guix pull` and now `sudo guix reconfigure /etc/config.scm` which fails in a substition of nss-certs-3.5, something about a broken pipe. Does anyone know what could be wrong? I'm brand new when it comes to guix
<civodul>munksgaard: could you paste the complete output?
<roptat>I'm getting closer to the maven-build-system, the resources and compiler and jar plugins did their job successfully, the surefire plugin still has some troubles running tests, and the install plugin has problems provisioning a dependency
<roptat>but I passed the build phase successfully, I have built a *hello world* with maven :D
<guix-vits>munksgaard: i'm not a developer. Yes, supposed to be run as non-root. `guix pull` `sudo guix reconfigure /etc/config.scm` `guix package -u`
<g_bor[m]>nagamalli: I would do the administration, so record your contributions. Then you could write a timeline draft for the internship if you have not done so.
<munksgaard>guix-vits: The --fallback flag seemed to fix things. I still don't know what's going on, but now I'll get to actually reading the manual...
<civodul>munksgaard: could you use paste.debian.net? (pastebin.com rejects Tor users)
<guix-vits>munksgaard: sometimes the substitutes on the fresh `pull` aren't ready yet; try `guix weather` to see what is ready.
<munksgaard>I'm still at little baffled that I need to manually go and install glibc-locales. This is a completely fresh install on a new machine. But perhaps my addition of the nonguix channel was the culprit.
<bricewge>No, a lot of first comers have issue with locales. People are trying to fix it. So it's probably not the unholy channel.
<apteryx>civodul: hmm, I could successfully build the email@example.com source upon a second try, after freeing some space. This makes me wonder if the ENOSPC issue was only partially fixed... Will keep an eye or further occurence, as this system has a really small drive (55 GiB).
<roptat>the shepherd doesn't capture outputs from services
<troydm>roptat: where are service descriptions stored?
<webstrand>in guix philosophy, are working packages ever removed? For example, in gentoo repositories package maintainers regularly clear out old versions of packages that they no longer want to maintain.
<lfam>webstrand: We don't remove packages unless they are broken or there is some other good reason. There are not any hard rules though
<alextee[m]>uhm, is it acceptable to delete/replace packages? i moved "zlfo" (just merged) to a "zplugins" repository that includes other software (for maintainability reasons), so would it be ok to send a patch to add "zplugins" that deletes zlfo? or should i keep the old repo too for legacy reasons?
<nckx>alextee[m]: You can deprecate packages. Then Guix will tell users using the old foo to install bar instead.
<nckx>lfam: Double-check my reading, but if it is, adding ‘serial’ to the name would at least clarify things. I don't mind failed services for hardware obviously missing. I prefer it to fake success. Ideal would be for Shepherd to have an ‘irrelevant for you, never mind’ status.
<drakonis>you wrote a whole parser just for that huh
<roptat>I completely reworked the dependencies to build maven as soon as possible (dropping some build dependencies and test dependencies, except junit), while installing everything in lib/m2, using the maven layout. I added a java parser and a plugin.xml generator to build the plugin.xml required to run maven plugins (this is usually done by the maven-plugin-plugin)
<roptat>btw, it's Guix System, not GuixSD anymore ;)
<roptat>two things: I can't seem to make maven more verbose, it won't give me debug outputs (even with -X, it doesn't, and suggests running with -X ...), and I don't know how to make it keep the "generated manifest-only jar" for surefire...
<roptat>I thought it could be because I use slf4j-simple (maven doesn't like it), but even with maven-slf4j-provider, it doesn't change anything (except more colors I guess)
<roptat>also, if I manage to fix that, I wonder if I should use maven-3.6 for that bootstrap purpose, or simply maven-3.0 (since it's already a dependency for the plugins), then use the maven-build-system to properly (re)build maven
<webstrand>everything I've read online suggested it wasn't possible, since the kernels don't get copied to /boot.
<webstrand>Is there an existing guide? I don't recall any section in the manuals, but it's been a few months since I last checked
<roptat>it's possible, grub can decrypt your root fs, then load the kernel from it
<roptat>I think you only have to decleare that your rootfs is encrypted, the grub will be configured correctly
<nckx>webstrand: I don't see it mentioned above so beware: you'll be entering you passphrase twice every boot if you use this method. Guix doesn't support any of the work-arounds required to avoid that.
<roptat>haha! I was able to make it wait for a debugger. During that time I could get the generated manifest-only jar, it seems that it's missing a lot of things
<webstrand>nckx: ah, because there's no way for grub to pass the password to the kernel. That makes sense. It'll also prevent me from unlocking remotely via ssh