<quiliro>hello... i have been fidling in the guile interpreter.... but i still do not understand what lambda does...i know it is an anonymous function ... that means it does not have a name... but what is its use?
<bandali>for one thing, lambdas are useful for writing quick one-off functions and passing them around, instead of defining a proper named one
<bandali>like, there’s a whole bunch of them in my emacs config
<Minall>bandali: Thanks, I think I needed that too... BTW, what's the difference between let and lambda?, can the two of the be used similarly?, to use variables and to get a result?
<bandali>Minall, you can use lambdas in conjunction with lets, to create a local binding with a name for your anonymous function, only valid inside that let’s scope
<bandali>in general let is used for creating local bindings with limited scope
<bandali>at least that’s my knowledge from elisp and haskell, i doubt it’d be much different in guile
<bandali>i’d recommend reading the manual though :)
<brettgilio>Hey all, I am trying to use guix without an X Server. I want to change some of the grub configurations like usually found in /etc/default/grub on Debian to change the GRUB_GFXMODE or GRUB_GFXPAYLOAD_LINUX values. I don't see the correlating option in the bootloader configuration for Guix, any advise?
<sneek>Welcome back brettgilio, you have 1 message.
<sneek>brettgilio, apteryx says: look at the #:include argument of the emacs-build-system. It is a list of regex which determine which files/directories get included. Example: emacs-elpy.
<Minall>How can I add a channel but not from github nor a url, but from a file in my pc?
<quiliro>yes without defining the path on the command line
<brettgilio>Minall: Install from file doesnt generate a derivation. But I see what you are saying, but like I said, channels are for repositories. You can add load paths to the guix daemon, which in effect does the same thing as specifying -L.
<brettgilio>So, just modify your guix daemon configuration to look for packages in that directory too.
<ng0>I'm preparing a gnurl update right now. Compared to the version in guix git there were some recent changes which might enable you to drop dependencies. Do you want me to spin up a Linux VM with guix set up to do the patch, or does anyone else want to look into it once I have 7.65.3 out?
<ng0>I'm not 100% positive about this, but I think at least groff is no longer a hard requirement
<rekado_>ng0: however you want to contribute (VM or otherwise) — a patch would be welcome.
<ng0>ok. I'll look into it when I have it updated in pkgsrc. It's probably more fair since I get paid for the work on it and distribution counts towards it.
<jollyjester>hello, if anyone has experience with guixsd, how can i disable GDM, also i would like to know how to fix errors at startup telling me that dbus-daemon failed to activate org.FreeDesktop.[something]
<g_bor[m]>jollyjester: I looked at you paste, and it seems to have some parenthesis mismatches. Try to fix those first. If you need more help with that you can come back to me. At least the use modules is missing one paren.
<Minall>What I'm trying to do is to make a custom linux kernel with my own .config file, and getting most important things from the linux-kernel package, such as version or hash?
<Minall>Are you talking about my paste or other thing?
<Minall>Ok!, you mean that define-modules is wrong there?
<jollyjester>g_bor[m] what do you mean move? where should i move it?
<ng0>hmmm... has anyone set up Guix System on bhyve before? If not, are you interested in noted I can provide or a blog article? I'm not sure if this is interesting enough.. this would be the Bhyve hypervisor on FreeBSD, but using a wrapper around it called `vm`.
<g_bor[m]>jollyjester: move the rows starting with remove behind the use-service-modules. The use-service-modules desktop is like an include defining the %desktop-services global variable. The variable is unbound before that, giving the error. Does that make sense?
<jollyjester>g_bor[m] nope not at all can you do that for me? just modify it and upload it to 0bin again
<jollyjester>it would be much better and easier to do it like that than explaining it to me
<ng0>ping me if you think it's good enough, otherwise I'll just write about it on my website when I'm done with it
<dongcarl>bavier: Okay, another question: for cross compilers, I see that the gcc cross compiler's store directory has something like: `/gnu/store/blahblah-gcc-cross-sans-libc-x86_64-linux-gnu-5.5.0/lib/gcc/x86_64-linux-gnu/5.5.0/crtbegin.o`, BUT "$GUIX_ENVIRONMENT/lib/gcc/x86_64-linux-gnu/5.5.0/crtbegin.o" doesn't exist. Why is that?
<dongcarl>(this is in an environment which has the cross compiler declared in its manifest)
<dongcarl>$GUIX_ENVIRONMENT/lib/gcc/x86_64-linux-gnu/9.1.0/crtbegin.o exists, however, which is from another package in the manifest... (sorry this is a very weird manifest)
<dongcarl>so there's something odd with conflict resolution here
<dongcarl>But I presume that the general assumption is that the environment won't contain multiple toolchains
<davexunit>dongcarl: sounds to me like gcc is in your profile, but not libc
<davexunit>well then I dunno. I've had similar issues that I've fiddled with before. :)
<bavier>anyone have experience working with glib schemas?
<bavier>I have a package that tries to load its own schema at runtime from an absolute path, which doesn't work great with our schema profile hooks
<bavier>if I run glib-compile-schema to produce the expected schema, will that interfere with the guix profile schema in any way?
<sebboh>I have done a lot of `guix package -i ...`. Now, can I somehow 'export' this activity to a config.scm? So I can build a clone of this machine elsewhere?
<mbakke>sebboh: there is a 'manifest-to-manifest' script somewhere on the interwebs that takes the generated profile manifest and makes it into a proper manifest that you can use to replicate the profile.