<fossquen>How is the $PATH variable defined? Can I add to it in an idomatic way? I have two packages defined in my home-configuration.scm, emacs and htop. The binaries for these two are available at .guix-home/profile/bin, and they run just fine. However, htop and emacs are not callable without a full path every time as it appears that .guix-home/profile/bin
<fossquen>is not included in $PATH. Please help. I've been lost on this for a few days. Thanks!
<Kolev>jpoiret, I'm using latest to install. We'll see if it works.
<atuin>'(with-store %store (run-with-store %store (lower-object s)))' I am trying to create a derivation for a service (s there is a service) but i get gexp-input-error. What's the way to derive a service?
<lilyp>atuin I suppose you have already tried easier stuff like gexp->derivation?
<atuin>yeah, that throws a wrong type argument, I guess i am missing some step in the middle to get from service to the gexp
<tux1c>has anybody here successfully built %hurd-default-operating-system from gnu/system/hurd.scm?
<tux1c>im trying to simply execute `guix system vm config.scm`, config.scm returns %hurd-default-operating-system, but guix complains about "'term-tty6' requires 'host-name', which is not provided..." but a host-name is obviously provided in the default configuration
<fnat>Anyone who has special access to guix-patches and that could help me debug an issue where my emails to the list seem to be dropped
<fnat>I know there's a moderation-related delay, but I don't think that explains it as some email never shows up on the ML
<fnat>I suspect new email addresses may be gray-listed and moderated separately, but this is an address known to the list already
<fnat>I tend to think I might be doing something wrong with git-send-email, but then again my msmtp logs would seem to indicate that the email has been sent successfully
<fnat>Unfortunately I don't have direct access to the SMTP server (as in access to the logs)
<nckhexen>fnat: The moderation delay generally affects only new addresses (and separately, for each list). All moderation queues are currently empty. If you have a copy of a message that never arrived, we can ask the FSF sysadmins about it. I don't think any Guixer has privileged access to the gnu.org mail server.
<nckhexen>Or even unprivileged access for that matter.
<fnat>nckhexen: yeah, thanks, I'll try and contact the ML sysadmins then - I noticed I'm actually not subscribed to guix-patches, so that might make it more likely for me to be caught by some antispam...
<nckhexen>(I don't think so, but then nor do I have an answer.)
<fnat>yes, I have the original message and the local msmtp log
<nckhexen>Can you share the message with me? At least I can check whether the address hasn't been accidentally blacklisted in Mailman.
<nckhexen>Re: ‘try’: I'm happy to interface with them if you'd rather not or suspect you'd have technical troubles.
<fnat>nckhexen: hey thanks, that's very kind of you, I've actually sent them an email just now (them = firstname.lastname@example.org, as found on the ML page); of course I'm happy to share the email and the various bits of info with you - shall I DM you here or do you prefer email
<redacted>> You found a bug: the program '/gnu/store/[hash]-compute-guix-derivation' failed to compute the derivation for Guix (version: "[hash]"; system: "x86_64-linux"; host version: "1.4.0"; pull-version: 1).
<yaslam>Hello, I am trying to create a package and I need to use propagated-inputs, but it does not install anything into the system profile, am I using it wrong, thanks. http://ix.io/4Kgl
<nckhexen>Description of the week award. Aside: you can, and I would, write (replace 'build (lambda …)) instead of (delete 'build) (add-after 'configure 'no-wait-build-anyway (lambda …)).
<nckhexen>I'm going to have to do my annoying ‘define ‘does not install’ please’ thing again. Your code looks fine.
<ryblade>grub is stuck at boot after upgrading the kernel to 6.5.9, after selecting guix in the grub menu the menu goes away but the background graphic remains. been that way for several minutes. anyone know what could be wrong?
<nckhexen>I don't think it's stuck, just unable to display.
<yaslam>nchexen: Thanks for the advice, I have changed it. I have no idea why the program doesn't see qtsvg.
<ryblade>it still accepts ctrl-alt-del to reboot so it isn't proper hung
<ryblade>is it also weird that i'm asked twice for my password? /boot is unencrypted on my system (the rest is encrypted) and i'm using /boot (rather than /boot/efi) as my ESP.
<ryblade>if that isn't expected behaviour i will mention it in my email
<nckhexen>yaslam: Stepping back a bit: ‘guix shell --pure -f /tmp/4Kgl.scm -- prismlauncher’ doesn't complain about a missing QtSVG. It draws cats. SVG-looking cats. Although I didn't check whether they are.
<nckhexen>ryblade: Nah, that's expected. Being asked only once (and it working) would be weird.
<nckhexen>Guix System does not currently support booting unencrypted files, not without manual scripts/modifications.
<nckhexen>(You'll notice that your ‘unencrypted boot’ doesn't in fact provide anything needed to boot the OS, i.e. the kernel & initrd.)
<nckhexen>GRUB needs to decrypt your /gnu/store to load them, then later Linux needs to decrypt the same thing to mount it as /, and there's no sharing of secrets between the two.
<ryblade>right on, i noticed on guix the kernel and initrd are in the store and not copied to /boot as some other distros do.
<weary-traveler>hm is there a way to disable 'check' build phase on some of the dependencies when building a project using guix?
<nckhexen>You can define a package variant with #:tests? disabled (either by using inherit, or using package transformations, see the options->transformation example in the manual). Note that an untested package differs from a tested package and will have a different hash, affecting all its dependents.
<NewGuixUser>rekado I've tried a few different commits to see if there's one that fixes the matplotlib issue and haven't had any success. Do you think writing my own package for matplotlib and setup_scm_git_archive would help?
<vivien>Should I add rules to pack everything in a static library, and install the library and the header files? That seems to be quite a stretch
<vivien>Or maybe I should add a rule to install the whole source tree in /share?
<nckhexen>RavenJoad: Legalities-wise (is that what you meant?) I don't see anything missing. Although you do switch between Raven and Karl in different places.
<graywolf>Hi, quick question, what is a good way to basically use (local-file), but replace specific things with store references? I basically want mixed-text-file, but for a amount of content that I would prefer in a standalone file.
<RavenJoad>nckhexen: Yeah, legalities was really the important thing. I must have missed my name in a few places.
<the_tubular>Anyone is able to run exwm inside a nested wayland session ?
<rekado>NewGuixUser: I haven’t had any time to look at this today, but I’d investigate why matplotlib insists on using setuptools_scm_git_archive and why it claims that it isn’t there.
<lucypoo>hello there, has anyone using `package-input-rewriting` encountered an issue where it seems to have no affect before?, maybe a clear of the cache but i am hesitant to do that currently as a lot is riding on my cache and a lot seems dependant on the store item i wish to rebuild
<lucypoo>providing a name transformation function seems to trigger a rebuild of the software stack, maybe will resolve, but will be a long time
<NewGuixUser>rekado: I manually deleted setuptools_scm_git_archive's drv and tar.gz from my /gnu/store/ and guix now complains that it can't find the drv when trying to build matplotlib. So that seems to indicate to me that it was looking for it. I am a little puzzled why it didn't recreate the files though when it saw they weren't there.
<nckhexen>But to your point: removing store items ‘to force a rebuild’ is a (bad) habit from other distributions. Guix has many bugs but boy does it know how to hash things and put them in the same bucket each time 💯
<vivien>lilyp, I’m trying to debug the sip test error in gnome calls. The test suite fails, but if I open a shell in the kept failed directory, and set up the environment variables, then I can build the test fine. I see one difference: the test uses 192.168.1.*** in the shell, and 127.0.0.1 in the build.
<lilyp>vivien: hum, there appears to be at least one networking test among them then; you won't get networking to work in the build container
<lilyp>check if there's a flag to disable those; otherwise try to identify the one that requires networking and disable that
<NewGuixUser>This is bizarre. I've done a clean build and see matplotlib still complaining about setuptools_scm_git_archive. When I grab that derivation from the matplotlib derivation I see that it does exist and was built in my /gnu/store. The last thing I can think of is that somewhere along the line a version isn't being specified properly because I see
<NewGuixUser>"ERROR: Could not find a version that satisfies the requirement setuptools_scm_git_archive (from versions: none)" in the matplotlib build log.
<lilyp>NewGuixUser: ahh, that's a nasty one – which commit are you at?
<NewGuixUser>lilyp: I'm using v1.4.0 on master and 1e25b23faa6b1716deaf7e1782becb5da6855942 from guix-past to get python3.8.5
<NewGuixUser>I've tried changing up the commit on guix master and it hasn't helped, so it must be related to pulling in an old python
<lilyp>hmm, you could try ((package-with-explicit-python (delay python-from-guix-past) "python" "past-python") python-matplotlib)
<NewGuixUser>lilyp: Yep, I've already got a function that does that courtesy of rekado
<lucypoo>ooh i just stumbled upon the explicit python func
<weary-traveler>is there a way to tell 'guix build' to ignore 'check' phase of some/all dependencies?
<lilyp>NewGuixUser: you might for whichever reason be missing python-setuptools-scm as well
<NewGuixUser>weary-traveler: If you look at the package-with-explicit-python function in my paste right before your message there's an example of deleting the check phase with a transformation
<NewGuixUser>lilyp: I don't think so. Based on matplotlib's drv it's looking for "/gnu/store/jblkvvmk1mc1b26b4imwifvm3nrbhr10-python38-setuptools-scm-6.3.2.drv" which I have and I also have the corresponding build directory
<NewGuixUser>so python38-setuptools-scm has a "/lib/python3.8/site-packages/" which contains code, however python38-setuptools-scm-git-archive-1.0 has a "/lib/python3.8/site-packages/setuptools_scm_git_archive/" which only contains __init__.py and __pycache__
<NewGuixUser>so maybe setuptool_scm_git_archive never actually got built
<weary-traveler>NewGuixUser: i see. so will have to define a package transformation that selectively deletes 'check from #$phases as you have. will need to figure out some guile i suppose. thanks
<weary-traveler>i did post a message on help-guix earlier today regd this, but i'm guessing it's waiting in queue to be reviewed since it was my first post to the mailing list
<NewGuixUser>or maybe that's the intended behavior? I just did a normal "guix install" of setuptools_scm_git_archive and get the same empty directory, just for python3.9 instead of 3.8
<attila_lendvai>nckhexen, did you have a chance to look whether you can find your luks/cryptsetup --allow-discard patch for guix?
<lucypoo>nckhexen: so i wasnt replacing the python used by the python build system, so it seems `( options-transformation '( ( with-input. "email@example.com"))` replaces the build system python and `( package-input-rewriting '( ( "python" . python-3.12)))` does not
<f1refly>what would be the best way to automatically mount an sshfs automatically no a laptop?
<f1refly>I have a hetzner storage box and would like to have access to it from my laptop, but it should be able to notice if its offline or online and mount/unmount the sshfs appropriately
<NewGuixUser>Several iterations ago on this manifest I had been using with-input to replace python, but was running into issues that needed package-with-explicit-python to be solved. I guess I'll try using both at once and see what happens.
<rekado>NewGuixUser: I’ll try patching matplotlib next
<rekado>the problem is not with setuptools-scm* but lies deeper
<rekado>it will also fail to find numpy when given the opportunity
<NewGuixUser>rekado So is the thought that the provided setuptools with 3.8.5 is incompatible with the setuptools-scm and git-archive plugins provided in v1.4.0? I'm reading up on setuptools now to try to get a better understanding of how these pieces all fit together