IRC channel logs
2025-10-12.log
back to list of logs
<civodul>luca: someone who recently worked in this area according to ‘git log’, for instance <mra>civodul: out of curiosity, how do reviewing teams actually work? does it just automatically ping a group of people? <ieure>mra, Yes, you get a Codeberg notification and email. <mra>ieure: ah, nifty. are the reviewing teams entirely made up of folks with commit access? <mra>there seem to be a whole lot of teams lol <mra>although I only ever seem to see core :P <ieure>mra, I believe you can be on a team without having commit access. <mra>ieure: ooh, good to know! <hunter>I'm trying to build AwesomeWM with luajit, but I'm not sure how I specify the Cmake flags. On Debian I just did `CMAKE_ARGS="-DLUA_EXECUTABLE=/usr/bin/luajit -DLUA_LIBRARY=/usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 -DLUA_INCLUDE_DIR=/usr/include/luajit-2.1" make` I suppose I want to modify the arguments #:configure-flags but I don't know what <ieure>hunter, You need to put luajit in the native-inputs of the package definition, then (arguments (list #:configure-flags (let ((luajit (assoc-ref inputs "luajit"))) #~(list (string-append "-DLUA_EXECUTABLE=" #$luajit "/bin/luajit"))))) <ieure>Repeat the (string-append ...) calls for the other flags. <FuncProgLinux>Does some process have to be followed before the 1.5.0 release? Before getting there I would like to get our MATE things on the latest 1.28.X versions (they have been working on new 1.29.X branch so that means next year or a little later there will be a MATE 1.30.X) <FuncProgLinux>My only "but" is that the panel needs a higher libwnck version and that would trigger a rebuild on ALL mainline desktops <FuncProgLinux>I already have all the missing MATE components on guix installed and tested for daily use. <apteryx>what do people use to calibrate a gamepad for sdl2? <apteryx>looks like antimicrox should be able to do some calibration, but I didn't find how yet <hunter>ieure, thanks for the advice. I managed to get that part working but the build is failing because it can't find lua-lgi. I tried just copying the whole awesome package definition and just changing the dependencies and arguments but it fails with some nonsense followed by `Unbound variable: gexp`. Of course I import (guix gexp) and I don't think <hunter>anything I change should affect that. <ColdSideOfPillow>I made some misc changes to my Guix configuration, and now I'm getting the error "guix system: error: =>: bad use of '=>' syntactic keyword" <characteristic>ColdSideOfPillow: can not look at it atm, but do you use ‘=>’ anywhere in there? <ColdSideOfPillow>characteristic: yes, I use it to modify mingetty-service-type and guix-service-type <Rutherther>ColdSideOfPillow: you seem to be missing (gnu services) module <characteristic>ColdSideOfPillow: check that ‘modify-services’ is properly imported and that the uses are well-formed <ColdSideOfPillow>Rutherther: thanks, that (and a handful of other imports) fixed the problem! <Rutherther>yes, but nothing can be done about that, that happens when you define custom syntax and forget to import it <characteristic>the error is like this because the ‘=>’ syntactic keyword is used by ‘cond’, so guile thinks that you use ‘=>’ outside a macro use, as the ‘modify-services’ macro is not imported. cond uses it this way: (cond ((assoc 'b '((b . a))) => cdr)) is 'a and equivalent to (let ((x (assoc 'a '((a . b))))) (if x (cdr x))) <characteristic>does ‘modify-services’ actually need ‘=>’ or is it just a stylistic choice? i doubt that replacing (type variable => body) with (type variable body) would bring any ambiguity, and would error with «possibly unbound variable ‘modify-services’» instead <chris0ax>hey people! ive been trying to package searxng for guix for learning. Im trying to get a basic build working and the build fails at sanity-check. I found out this is cause the script tries to run the console script entrypoints of searxng which starts up a webapp server. And this fails at an http get probably because of isolation. I noticed the tests for this package also requires some internet. How do you usually handle this? <Rutherther>chris0ax: if the tests require internet they are usually just disabled <chris0ax>Rutherther: ohh ok and i guess after the package is built you could try testing manually? <mra>does anyone happen to know if the package zulip-term-0.7.0 is broken? the cuirass bot doesn't like my pull request because building zulip-term-0.7.0 fails, but reading the logs it seems to fail entirely because of failing test cases, nothing to do with my changes <Rutherther>chris0ax: yes, but I didn't mean to disable all tests, I meant the ones that require internet. If there are some that can run locally, only like contacting the webserver itself, without needing internet, it should be fine to leave them <Rutherther>characteristic: it matches on "(kind _ properties)", so I think you need something there, doesn't necessarily have to be "=>" <chris0ax>Rutherther: gotcha, i got the basic build to work and servers running. Ill disable the tests which need internet only and see how it goes. Thanks! <hunter>I wrote my own package in a file ~/foo.scm, how can I use this in my /etc/config.scm? <nutcase>I am having an issue with ((Lua)La)TeX. I have a minimal working beamer example which compiles in an isolated guix shell container, but doesn't without --container. It tries to generate a fonts DB forever without --container. I assume something is wrong with caches or my system. Any advice, what I can check? <kestrelwx>hunter: Add it to the load path with `-L` switch. <nutcase>hunter: -L or you could create an own channel (best) or you could try with (include "/full/path/to/foo.scm") <hunter>kestrelwx, nutcase, thank you using -L worked. I'll look into creating a channel later, seems easier than remembering to pass the flag each time. <kestrelwx>I've set up a short Makefile for my configurations for that purpose. <kestrelwx>nutcase: I've been meaning to check, but got distracted. Does `espanso` bundle WxWidgets? <mra>ColdSideOfPillow: oh, is this bot new? it didn't seem to like my PR either, but the issue that the bot is having seems unrelated to my PR? <ColdSideOfPillow>mra: welp, my PR was just straight up wrong. I HAD fixed it locally, but I forgot to actually push it :3 <mra>ColdSideOfPillow: that'll happen. my PR was also definitely wrong to begin with <mra>hopefully it's correct now. i'd really like to get it merged <nutcase>kestrelwx: wdym with "espanso bundles wxwidgets"? Are talking about the guix package espanso-wayland in my PR or are you referring to upstream espanso? <ColdSideOfPillow>if I understand it tight, it should also be a step closer to ZFS support in Guix. <ColdSideOfPillow>In that case, I'm interested in your PR as well, and would also really like to see it merged :) <mra>ColdSideOfPillow: yeah, this is all part of work to get ZFS support on Guix. i've been working on it on and off since February or so <mra>perhaps "working on it" in the same way that sisyphus was working on rolling a boulder up a hill, but we'll see... <nutcase>kestrelwx: to be honest: I don't know. I've to leave now, you could comment on the PR, and I could try to check later. <trev>is it possible to gc everything that is not in your system config? <pers0n>Hi. is there a guixsd way to alias /bin/sh to dash? <sneek>Welcome back pers0n, you have 1 message! <sneek>pers0n, RavenJoad says: Guix home cannot change your default shell, since that is set in /etc/passwd. But you can always exec your preferred shell at the end of your .bashrc or wherever (though you should just change your preferred shell in your Guix operating-system definition). <pers0n>Not exactly looking to use dash as login shell. in amother shell I aliased /bin/sh for shell scripts. <trev>pers0n: doesn't the bash service have the ability to add aliases? <pers0n>Maybe I used the wrong phrase. I meant symlink. <Rutherther>pers0n: /bin/sh is probably already a symlink to bash - as long as you're using %base-services, through special-files-service-type. So the best way will be first to remove that and only then extend this service yourself. Because otherwise it sort of depends on the order of evaluation of the services and I wouldn't want to rely on that <pers0n>extra-special-file did the trick. Thanks! <scrambler>what guix package should I have as a propagated input to get cc? I was thinking gcc but then the package I'm working on will take ages to compile <ieure>scrambler, I don't understand your question. You don't want a compiler in propagated-inputs at all. What cc do you want to use if not gcc? <ieure>Are you wanting to use clang? <characteristic>if you mean «cc as in /bin/cc» then you want to replace all uses of cc with #$(cc-for-target) in the makefile, or wherever <characteristic>sometimes just passing (string-append "CC=" #$(cc-for-target)) to make or doing (setenv "CC" #$(cc-for-target)) is enough <scrambler>The problem was that I needed `pkg-config` as a propagated input. Thank you though, this might be very relevant for what comes next <characteristic>pkg-config should go into native-inputs, and most stuff should definitely *not* go into propagated-inputs <scrambler>to be honest, because i haven't read the documentation on the different input types and it works <scrambler>ok thank you, that makes sense as pkg-config would be a "system" dependency <characteristic>scrambler: well you should go read the documentation, then. in the face of ambiguity, refuse the temptation to guess, especially if the documentation is right there <Rutherther>you can also try starting with the cookbook, I think it mentions the input types <Phosphenius>`guix git authenticate` shows a completely different key fingerprint. The same fingerprint is also shown by `git log --show-signature` <Phosphenius>I’ve added a gnupg primary as well as a subkey. Is it possible that this previously unknown fingerprint is of the subkey? I cannot get `gpg` to show that fingerprint. I’m a bit lost here, as I’m a total GPG noob. ^^ <ieure>Phosphenius, GPG defaults to creating a master and subkey when you create a keypair; the subkey is used for signing. <ieure>Phosphenius, Each subkey has a bitset saying which of encrypt/sign/authenticate actions it's allowed to be used for. Default is a master key and one key with ESA bits set. <ieure>Phosphenius, GPG also has two ways of identifying keys, key ID and fingerprint; and at least two ways of formatting the fingerprint. So it can definitely be irksome to figure out which thing corresponds to what key. <Phosphenius>Yeah, I figured out the fingerprint is that one of the subkey. I did have to create the subkey explicitly though (using some expert flag I think) <Phosphenius>So, both in .guix-authorizations and the keyring branch I have to use the subkey fingerprint? I used the subkey ID in my git config to sign the commits. <Phosphenius>Because right now, I have the primary/master key fingerprint in both .guix-authorizations and the keyring branch.