<EMax`0Mancer[m]>I've tried setting up the iptables-service as per the example on the webpage ( https://guix.gnu.org/manual/en/html_node/Networking-Services.html ), but I seem then to lose outgoing connectivity too (cannot connect to websites in a browser; cannot ping). I don't know iptables well in the first place, but the example looks straightforward enough. Is there something else I need to do on Guix beyond the configuration in the example.
<lechner>EMax`0Mancer[m]: you could try iptables -L but netfilter is complicated. maybe you do not need it
<notzmv>hello folks! I'm trying to write my first package and I would like some pointers please. Right now my problem is that guile is complaining about (method git-fetch) being an invalid field specifier. does that have something to do with not having the sha256 field yet? https://plaster.tymoon.eu/view/3070#3070
<FlaminWalrus>notzmv: checking my packages, I always pass the (git-reference...) to the (uri) function. It may still be the sha256 field; that's not hard to generate for testing. Clone or navigate to a git repository at the commit you're trying to package and run `guix hash -rx .` in the root directory.
<jpoiret>things like "the best compiler, number 1 in speed in efficiency" would be met with a snarky remark on the MLs :p
<notzmv>jpoiret: I've given up on that because I've found an alternative solution, using kmonad instead. On the other hand, now I'm having rather noobish problems with my config.scm and I can't really figure out the issue because all guile says is that it expects a struct, but I've mostly seen people using cons* like I tried here: https://plaster.tymoon.eu/view/3071#3071
<jpoiret>notzmv: the issue here is that %desktop-services is a list of services
<jpoiret>basically, the (services ...) field expects a list of services, but here somewhere in the list there's %desktop-servces
<jpoiret>just remove that line, since (modify-services %desktop-services ....) will return a modified list based on %desktop-services, and (cons* el1 el2 el3 rest) will give you a list with el1,2,3 prepended to rest
<notzmv>ah, that makes sense. I got confused by seeing people using just plain %some-services, cons* and append in different files after services, but now I understand. thanks!
<notzmv>I've dabbled with CL way more than scheme, so I get tripped on some stuff like that, and scheme tooling seems a bit less robust too (or I just haven't figured out a good workflow yet)
<notzmv>yeah, it's honestly fine. sly/slime are just too good :p
<jpoiret>personally, i've never used much tooling and i feel okay with it, just syntax highlighting and paren manipulation, then directly test the code with a shell
<notzmv>I'll try to go through the guile manual this week to get my bearings and get used to working on its repl
<notzmv>(accidentally) jumping straight into guix on my main machine has been quite a fun adventure, despite all the struggling
<WesterWest[m]>is there a more thorough explanation of the package format? after reading the manual I still can’t wrap my head around derivations, builders, gexps and how do build systems use gnu’s if they use the same build steps but there is bo makefile
<sneek>zimoun, rekado says: I built everything out on wip-pyyaml and fixed problems as I saw them. It’s hard to compare failures across branches with cuirass. Those failures I checked were present on the master branch as well.
<zimoun>My Guix is broken is a way I am not able to fix it. Well, I do not have any ~/.config/guix/current nor /var/guix/profiles/per-user/simon/ and then “/usr/bin/guix pull” returns an ugly backtrace. What is wrong?
<jpoiret>WesterWest[m]: you really don't need to understand the inner workings if you only need to package things
<jpoiret>but unfortunately, there's not much documentation for the internals, barring reading the actual code (which is pretty well documented with guile docstrings)
<bjc>individual functions are reasonably well documented, and the highest level of creating a package is well documented, but the middle ground which bridges those two has basically none
<bjc>that's not a complaint, just a criticism. no one's owed anything here, obviously
<bjc>if someone had the kind of time and ability, it would be great to see the steps that are taken from package definition to files, using the guixy jargon, along with an overview of how those steps fit together
<enno>Hi. I mostly finished my own channel setup, but while all looks fine, I get
<jpoiret>enno: i'd say is that repo password protected?
<jpoiret>if so i'm not sure it'll work with guix pull, maybe you could clone it locally and then point the channel.scm file to the local checkout
<stampirl>Hi. Can someone help me with installing docker-compose? There is an issue with PyYAML version https://issues.guix.gnu.org/54934. Is there a way to "pin" older version? I can't even find list of version numbers I could use for that
<PurpleSym>stampirl: You can try `guix time-machine --commit=20303c0b1c75bc4770cdfa8b8c6b33fd6e77c168 -- <your guix command here>`, which uses a version before the update.
<enno>jpoiret: Yes. It is a private repo. I will try a local copy.
<mothacehe>enno: "guix pull" supports SSH authenticated repositories if an ssh-agent is running iirc. You can use the gitlab SSH url instead: firstname.lastname@example.org:enno/oaichannel.git or something like that
<sneek>Welcome back mothacehe, you have 1 message!
<xaver>Hi, I'm trying to get a config file into my XDG_CONFIG_DIRECTORY. I'm using home-xgd-configuration-files-serrvice-type and it gets written to my .config directory as expected, but when I want to execute it with sx, it tells me "/home/xaver/.config/sx/sxec: Permission denied"... The code I'm using: '(simple-service 'sx-config-service-type home-xdg-configuration-files-service-type `(("sx/sxrc", (local-file "./files/.config/
<xaver>ls -la shows lrwxrwxrwx 1 xaver users for the link pointing to the file in store
<xaver>Oh, on closer inspection the script that lies in the store is read-only. Is there any way I can give the execute-flag with home-xdg-configuration-files-service-type?
<PurpleSym>mothacehe: Can you tell where? I can `guix pull` that branch without an issue.
<mothacehe>PurpleSym: strace reports that it's pending on a pselect call: [pid 91415] pselect6(228, [3 224 227], , , NULL, NULL, no clue why
<mothacehe>could be a deadlock within the guix-daemon or something else like that
<WesterWest[m]>jpoiret: well I wanted to write a new build system, i dont want to do it anymore :D but i really want to know how does the package system actually work
<apteryx>mothacehe: hello :-) quick question; does the 'Jobs' column on the CI home page show the percent of succeeded jobs for the last evaluation? E.g., if a new Guix commit triggered 10 rebuilds, and 8 out of 10 succeeded,it would show 80% ?
<apteryx>or does it rather show the "health" of the branch, as the % of passed builds for the branch?
<mothacehe>apteryx: it is the percentage of successful job for the last successful evaluation of the branch, globally.
<apteryx>the default should be -O2, per Guile itself
<apteryx>you can probably hack 'guile-compilation-rule' in Makefile.am to invoke guile with -O0
<tribals>apteryx: by "actually execute" i mean `execl`. Can I `execl` it?
<apteryx>tribals: it should be executable as a Guile script, yes: /gnu/store/fd890pxkgrlxgmc4yr2a4xsxakhsbnhj-foo: a /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-auto-compile script, ASCII text executable
<emsyr>Hi. I have a thinkpad t500 and I have a strange issue. A few guix versions back the installed bluetooth adapter by lenovo (broadcom) was working very well. Now, when the system boots up the adapter is soft blocked by rfkill. I try to unblock it but it turns to blocked right away. In dmesg I get the error: Bluetooth: hci1: Opcode 0x c03 failed: -19.
<emsyr>I have searched the internet but no luck so far. In Trisquel the adapter works ok. Does anyone have any idea what to do?
<WesterWest[m]>is there any way I can help with issues and patches? I submitted a few but there seems little to no activity and I would really like to help in some way
<euandreh>how can I be getting "guix home: error: mkdir: Permission denied" on a home reconfigure?
<euandreh>I've chown -R to myself, just to make sure
<euandreh>that's the first home setup on the machine
<euandreh>WesterWest[m]: you can both send patches, review patches, test them on your machine, etc.