<blake2b>hiya guix, I'm trying to use the gexp->script function (gexp->script "current-home" #~(begin (getenv "HOME") ...)) in a package to create a script that can be used both in the build process but also with the code generation mechanisms that the package I'm working on performas (which isn't a (wrap-program...) issue, unfortunately).
<blake2b>in the repl's store-monad, the derivation builds fine. but I get: "Unbound variable: gexp" when trying to build the package, even though (guix gexp) is included in the module definition
<blake2b>I've tried (with-imported-modules ... (use-modules (guix gexp)), #:modules `((guix gexp)), and declaring (use-modules ...) in the definition, all to no avail
<Ribby>Can you guys host the firewall-config or firewalld? It's a firewall program from red hat.
<Ribby>is there a way to software install deb files on guix?
<anadon>Looks like it, but it still has some failures.
<anadon>Ribby: depends. What exactly are to trying to do?
<Ribby>Trying to figure out those deb files. GUI way or the CLI way? We got debootstrap and dpkg. dpkg seems to be the earlier program than apt. Apt is said to be easier, but it might have its limitations.
<anadon>Ribby: The GUI way? Again, what exactly are you trying to do? What is the product of the task you are trying to accomplish?
<anadon>For your purposes, you probably want to install `dpkg` and all the packages listed in the `apt install` line from guix. Then, download the `komorebi` .deb from github and install it with `dpkg`. This should work, but it is possible that the dependencies in guix are missing or the wrong version. If you have time, I encourage you to make a new
<anadon>guix package for komorebi and submit the patch.
<apteryx>I can't find a way to generate texlive formats that'd include hyphens with fmtutil-sys in a package (texlive-polyglossia); any tip? The current package definition looked like https://paste.debian.net/1236340/
<apteryx>and the build fails due to "Package polyglossia Warning: No hyphenation patterns were loaded for `latex'" (I think)
<atka>hi guix, booting into guix installer on ryzen 4750g, radeon,pcspkr both black listed. I've been hung for 10 minutes with: udevd: no sender credentials received, message ignored
<atka>any tricks to get guix installer to run on stubborn hardware?
<attila_lendvai>is there anyone who is using geiser to interactively develop guix code? how do i make sure that the guile that geiser starts in my emacs is loading the same code that a make -j does in the terminal?
<attila_lendvai>for me it seems to be loading .go files from .cache/guile/ccache/3.0-LE-8-4.6/..path../guix/gnu/build/linux-container.scm.go
<minikN>Hello, how would one mount a simple nfs network share in guix? I've searched the docs but couldn't find anything.
<jpoiret>minikN: wouldn't a usual file-system with type nfs work? just a though
<attila_lendvai>littlebobeep, that's not really an option. i want to load all of guix into it, and interactively develop the code. i think it would be prohibitively slow to load everything from .scm.
<littlebobeep>attila_lendvai: Yeah for interactive development though don't you need .scm files? About slowness, do you know how to benchmark this?
<attila_lendvai>littlebobeep, i don't even know how to make it work. in fact, i'm not even sure what's happening: i get an error at shell+make, but i don't get it in geiser. my assumption is that the syntax rules i've changed are not alive when loaded into geiser.
<jpoiret>minikN: that seems to be about having a root NFS, not a simple nfs mount
<attila_lendvai>is there an expert in macros around? in (gnu services configuration) i have i really hard time to teach DEFINE-CONFIGURATION to accept for the (TYPE DEFAULT-VALUE) also (TYPE) and simply TYPE forms, and use 'DISABLED as the default value when not specified. any hints would be appreciated!
<attila_lendvai>i did the same for match-record recently, but that one is using define-syntax, while this one is using a helper function and syntax-case
<jpoiret>just a heads-up, capital letters are used for variables, bound names are fine in lowercase
<jpoiret>btw, i was thinking that instead of using symbols to denote the disabled value (which would clash with a possible actual value of 'disabled), you could use something fresh, like (define config-disabled (list 'disabled)), so that (eq? config-disabled (list 'disabled)) is #f unless you're really using config-disabled
<jpoiret>FTR, quoted lists may not be fresh, whereas list and cons always return fresh list objects
<attila_lendvai>it all seems to work out pretty well, but i'm stuck at this last step
<jpoiret>so do you want the value of a field without a default value set to be *unspecified*? or 'disabled? i didn't really get it
<attila_lendvai>jpoiret, *unspecified*, but i didn't want to complicate my initial question, which is unrelated to the 'disabled -> *unspecified* refactor.
<jpoiret>what did you already modify? you said you modified match-record
<jpoiret>actually, define-configuration is pretty ugly
<jpoiret>the first branch of the if that i was talking to you about will actually never be hit i think
<jpoiret>because earlier, field-default is set to #''undefined if there's no specified default value
<jpoiret>and that if actually matches on that field-default
<attila_lendvai>it's ugly indeed i think. i'm still trying to grasp hygienic macros, and it doesn't feel like the best testbed for excercises... :)
<jpoiret>oh actually no it'll be hit, but it's very ugly
<tschilptschilp23>Hi! I'm having an issue ssh-ing into a qemu-guix-guest (set up through installer): https://paste.debian.net/1236375. I haven't use guix as an openssh-server so far, so quite possibly it's something obvious! The qemu host is a debian-11, I'm forwarding ports as with all the remaining vms.
<tschilptschilp23>Well, I have used the guix' openssh-server before, but just on a guix host -> guix-vm setup. This is not what I'm after right now.
<sneek>PotentialUser-84, acrow says: After installing your new R library did you try uninstalling and then reinstalling the main R package? I'm just guessing after thinking about your problem for awhile. I'm guessing that this will rebuild your RPATH and enable that new library.
<jpoiret>isn't there a more complete traceback from when you tried doing `guix pull`? something like `this error occured while trying to build x` `can't build x because its dependencies can't be built`
<jpoiret>the issue here is that for `guix pull` to succeed and give you a newer guix, it still needs to use the gcc-toolchain of the old guix (1.3.0), which it doesn't seem to have locally, so it'll try building it but can't do so because one of its dependent can't be built
<PotentialUser-84>okay so, i am gonna install guix with bins then build guix from git in it and try to do this again
<jpoiret>i wonder how swh fallback would work with this (i've never use it though, maybe someone else could chime in)
<jpoiret>(i'm trying to see if a guix pull profile nested into a profile would still be able to pick up other channels)
<apteryx>civodul: (about rebooting) me too; part of the reason is that it used to take 5 min (now 3, not too bad), the other reason because I need to enter my passphrase 3 times pre GRUB and 3 times post GRUB ;-)
<apteryx>(LUKS passphrase -- root on encrypted 3 drives in RAID1)
<akonai>Is the plocate package broken? It tries to find the updatedb database in it's store directory, which errors out since the store is immutable
<PotentialUser-77>oh it’s not a building problem. usbmuxd can’t connect to my phone correctly with libusb 1.0.24. And it is fixed in 1.0.25. That’s why i want to update it.
<akonai>looking at the plocate package, sharedstatedir is set to the output in the store which seems like an error
<PotentialUser-77>i install usbmuxd in the user profile and execute it with ~sudo usbmuxd -z -f --verbose~. Then i get error output after iphone plugged in: libusb: warning [parse_config_descriptors] config length mismatch wTotalLength 39 real 30
<PotentialUser-77>libusb: error [parse_config_descriptors] descriptor is not a config desc (type 0x00)
<PotentialUser-77>i go to github and find it an error of version 1.0.24 and is fixed in version 1.0.25.
<PotentialUser-77>Can i update it if i remount the store to rw and alter libusb.scm manually
<vagrantc>rekado: so, i haven't fixed your pcie problems on the rockpro64, but your updates to avoiding openssl worked nicely, and were fairly easy to refresh for even newer u-boot ...
<apteryx>what can I do when meson fails finding a library?
<vagrantc>rekado: that said, guix system reconfigure works fine for me with current master, your patched 2022.01, and 2022.04-rc5 for me ... so the installation process seems correct to me
<unmatched-paren>apteryx: couldn't you try to see which package it is in the meson.build file, then `guix shell pkg-config -Df (package file)`, and try to `pkg-config --libs` or `pkg-config --cflags` the library?
<unmatched-paren>usually it'll use pkg-config or cmake (if installed) unless the package is a known weird library like GL or Vulkan, in which case it'll use whatever it's been programmed to do when it encounters one of said stupid libraries
<apteryx>yep, Meson's find_library, which uses the compiler fixed it
<unmatched-paren>cmake has an XML parser, a Visual Studio(R) project generator spanning thirty-six files, a graphviz file writer, what seems to be implementations of multiple cryptographic hash functions, lexers and parsers for Java and Fortran, a generator for DEBs, RPMs, FreeBSD packages, nuget packages, cygwin packages, and windows installers, a Qt GUI, a Curses GUI, an (approximately) 100-file testing framework
<florhizome[m]>the go importer hangs when I try to import the newest rclone, because rclone lists submodules of a package (azure/go–autorest) as single dependencies, though they obviously aren’t singularly packaged. I just imported and built that package now, can I somehow include it and import again so that the package and submodules would not be imported?
<florhizome[m]>unmatched–paren: I basically built most of these nwg–shell packages the last day btw!
<tribals>I want to try to contribute a package update to upstream. I followed instructions from manual in section "Building from Git". So, now I have a git copy of whole Guix, can edit package definitions and test it's building. But I want to battle-test it if I can. One such way could be to use that updated package in, eg. CI environment - run it on some load and see it will not fail. So, I want to use that updated package in other project (whose dependencies
<tribals>managed with guix). How can I do so? You see it: I want to keep working in "upstream" source because it is simply, *but* I want to use it *before* submiting to upstream (or trying to do so)
<civodul>tribals: what kind of automation do you have in mind?
<tribals>civodul: the notion of "building" is very vague nowadays. Basically, people meant "do whatever it need to be done in order to do useful thing", where "useful thing" varies from "just compile source code" to "lint sources before pushing it to remote git repo" to "just bring my application dependencies so i can reach them" to "manage kubernetes cluster"
<tribals>Basically, I want to do all that, and more
<civodul>tribals: ah sure, so it won't manager your kubernetes cluster, for sure :-)
<civodul>but other than that, there's "guix lint", "guix deploy", that kind of thing
<tribals>This is why I'm very interested in Guix! To me it looks very promising!