<buenouanq>I've come across something like: (version (package-version package \ in a package def, but the hash is still a hardcoded string... Can I somehow download and calculate the hash in place in the config?
<buenouanq>`In most cases, updating a package to a newer version requires little more than changing the version number and the checksum. Guix can do that automatically aswell: $ guix refresh hello --update'
<sss2>hi all, is it possible to use distributed compilling with guix on non-guix host os ?
<leoprikler>IIUC all you need is the package manager plus some setup in /etc, but that's only as far as the documentation explains.
<sss2>i see config samples only for system, not for standalone guix (
<leoprikler>Are we talking about `info '(guix)Daemon Offload Setup'`?
<pinoaffe>Hi guix! in (guix build profiles), the function `build-etc/profile` generates posix shell code to enable the given profile - would it be a sensible addition to guix to also generate, say, guile code?
<leoprikler>for which purpose exactly? so that you can run $GUIX_PROFILE/etc/profile-wrapper.scm <shell command>?
<pinoaffe>leoprikler: I figured it'd be handy to have access to the required environment variable changes in a format different from posix shell, particularly since I want to be able to enable profiles in a guile/emacs/whatever process so that the profiles are enabled in any child processes forked off from said process
<leoprikler>pinoaffe: Have a look at `guix package --search-paths -p <profile>`
<sneek>Welcome back PotentialUser-35, you have 3 messages!
<sneek>PotentialUser-35, nckx says: If you're the same PotentialUser that asked about Eiffel: Thank you for the kind words ☺ Unfortunately, the Liberty Eiffel ‘source’ consists of machine-generated C created by a previous version of LE. So it's not bootstrappable as-is.
<sneek>PotentialUser-35, nckx says: Maybe if we start from an ancient version of SmallEiffel (that's 2 projects ago, pre-SmartEiffel...), but I'm not hopeful. There's other non-bootstrappable software in Guix but it's actually something we want to avoid wherever possible. Sorry.
<sneek>PotentialUser-35, nckx says: If you're not the intended recipient, you must of course destroy the above message.
<divoplade>My computer does that too if there are firmware missing
<nixo_>Hi guix! I had a couple of packages that some months ago used to compile just fine, but that now fails with undeclared functions (std::sin, std::atexit, ::atol) did anything change in older GCCs?
<leoprikler>nixo_: perhaps your paths have been outdated after a GC? try reconfiguring the source and ensure that everything is set up correctly
<dannym>I'm pretty sure I haven't checked lib/arm-mes-gcc/setjmp.c much. After all, is much more aggressive caching variables in registers, so if I forget one register gcc needs that could totally explain this tcc_state variable seemingly going to 0
<guixer>hej Guix! I'd like to set certain locale settings globally. Like LC_PAPER or LC_COLLATE. Default should be EN_US.UTF-8, but a few settings should be POSIX C or some other locale. Unfortunately I don't know how to set these properly. Also on guixsd the locale command is not available (by default) and I don't know what to install to get it. Any
<cbaines>Ok, so I've found the relevant activate-setuid-programs procedure now
<cbaines>I think I follow what you're trying to do
<cbaines>I think you'll need to re-arrange the code to make it possible though
<cbaines>So, currently, the activation service type is extended with a gexp that contains (activate-setuid-programs (list <THEN SOME STRINGS>))
<bonz060>How would you access mariadb from inside a guix container?
<cbaines>Rather than programs just becoming part of the list, you're going to need to map over it, and generate gexps for each element, the behaviour of those parts can then be influenced by the element, say if it's a record. Does that make sense?
<cbaines>bonz060, I don't think there's just one way, it depends on how mariadb is configured, and also on how you've setup the container, like does it share a network namespace with mariadb
<bonz060>cbaines: I'm running: `guix environment -C --pure --network --ad-hoc php coreutils mariadb`. Wrt Mariadb, it's set up from host distro i.e. ArchLinux. I'm trying to access that from within the container...
<bonz060>cbaines: I get: `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")"; then I tried: ` guix environment -C --pure --network --ad-hoc php coreutils mariadb --expose=/run/mysqld/` and (naturally) got: `guix environment: error: mount: mount "/run/mysqld/" on "/tmp/guix-directory.hTqO7l//run/mysqld/": Operation not permitted`
<cbaines>You're not trying to generate a file though, you just want to generate some small gexps that form part of a larger gexp, from elements in a list
<dustyweb>leoprikler: talkinga bout it here with cbaines and g_bor[m], I thnk I'm fine thanks :)
<cbaines>dustyweb, you could have a (match with a bit for the record, and a bit for a string. Each of those bits result in a gexp that does the right thing for that element. You then dump all those gexps in to the activation gexp.
<leoprikler>nckx: I'm not sure whether the anticaptcha stuff can be included in a free as in freedom software distribution
<leoprikler>I've glanced over it a bit and it seems to be not more than advertisements for some paid SaaS.
<apteryx>civodul: OK, here's the question, after all: #39272 is about man -H missing an absolute reference to groff. But since the groff referred to by man-db is groff-minimal, it wouldn't support -mandoc -Thtml options anyway.
<leoprikler>The interpreters OTOH could probably be enabled were the dependencies packaged. If they should rather be stripped at build, that's an oversight on my part
<leoprikler>I wasn't quite certain what to comment, and neither were the reviewers at the time, so it has gone on uncommented.
<leoprikler>Rather than deliberate, it's just that we need to find the right words.
<leoprikler>73b305737cccaf20cb0b0d82c8f80075b9eda35c does nothing wrong btw.
<atw>thanks all! what I've learned is that specifications are very flexible ( guix show guile@2 shows this off well, three matching packages are returned) but that at least one matching version does have to be available in the distribution, so guix show icecat@68 doesn't find anything. Asking because <https://issues.guix.gnu.org/43610> :)
<apteryx>So, I guess we can leave it as is, or we could double the size of our man-db package (form 100 to 200 MiB, about) to support all the features.
<leoprikler>nckx: I'll be afk for a while, I'll report back once I've gathered more thoughts.