<lle-bout>hello! when I try to authenticate a third party channel it tells me this: "hint: Did you forget `(use-modules (guix channels))'?" if I had it at the top of the /etc/guix/channels.scm file it continues to say it. What could I do? Thanks
<joshuaBPMan>slightly off topic question...I want to buy a integrated "drake"-like headphones with an integrated microphone. I have a T400. Does anyone know hardware that works well with linux?
<lle-bout>specially the error is: "error: make-channel-introduction: unbound variable"
<janneke>it also means that the condition "__x86_64__" may be the wrong one...hmm
<janneke>we need to test wether gcc/gas include a 64bit persona (the cross tool does not have that)
<mothacehe>What does ".code64" mean? It's been a while since I read ASM code :p
<janneke>mothacehe: hehe, i just "discovered" it while creating this patch
<janneke>i believe it switches a 32 bit assemler to 64bit mode
<janneke>without .code64, it does not recognise %rXX, only %eXX registers
<janneke>but, the (our??) iX86-cross-gcc compiler barf on ".code64"
<janneke>given the fact that this relocate64.S file was already partially littered with 32-bit #ifdefs, but incomplete, i made an effort to complete pure 32-bit compatibility (and failed to see the EFI lines), and also apparently broke things by guarding that .code64 instruction
<raghavgururajan>So,  I spent hours editing package definition of librsvg-next in gnome.scm. I just save the file in text editor.  Then, I made changes to rust-cssparser in crates-io.scm, git added crates-io.scm and git commit the changes for rust-cssparser.  I did `git reset --hard` to undo the commit on rust-cssparser. But now, my changes in gnome.scm is gone.
<nckx>raghavgururajan: First, relax, you won't do anything clever while panicked.
<nckx>raghavgururajan: You didn't commit these gnome.scm changes at any point?
<janneke>...and using emacs makes it even less likely to ever lose work
<dftxbs3e>GNU Emacs makes it an habit to open an infinite amount of buffers and never closing them aha
<nckx>Post-learning curve I agree. While still learning the sharp edges of git, adding those of emacs (and magit and…) can backfire.
<raghavgururajan>nckx: When I commited the changes for rust-cssparser, would it also save the state of the whole repo? If that;s the case, if I recover the rust-cssparser commit via `git checkout -b <branch> <hash>`, would it also bring back the old gnome.scm?
<janneke>yeah, not using git, emacs or computers makes it even less likely to lose work :P
<dftxbs3e>raghavgururajan, if you didnt git add the gnome.scm changes, it wouldnt
<dale`>mroh: Hi! My problem is not mount.nfs per se, but that mount is configured to look in /run/current-system/profile/sbin for mount.nfs, but it is not there, it is in /root/.guix-profile/sbin. Either I need to change the installation of mount.nfs, or I need to change the configuration of util-linux to look in the other path. What do you think?
<dftxbs3e>to do this kind of thing you can switch between branches and use git stash to save temporary changes and git stash apply to re-apply them onto another branch
<nckx>If you didn't commit the changes (even by accident), they're gone unless you have some file-system level snapshots or back-ups. The reflog or gitk or … are irrelevant. I'm very sorry. I'm sure it's happened to most/all of us.
<mroh>dale`: install nfs-utils in the system profile.
<janneke>raghavgururajan: i guess i can safely say that all of us lost work at times, don't feel too bad about it
<nckx>raghavgururajan: Definitely don't get in the habit of using ‘git reset --hard’ in your regular workflow. It's a special command, generally not needed, and learning ‘git stash’ (it's like a stack of temporary commits, although you can pop them out of order) will serve you well in future.
<mroh>hmm, maybe we could extend emacs-build-system to install .org files to share/doc/pkgname? I dont like to `guix show pkg`, copy the url, paste in a browser etc just to read an html rendered org file for the documentation of the pkg.
<nckx>jonsger: Can you manually verify that /path/to/foo exists and is an executable? If it is, but running /path/to/foo still says that it ‘doesn't exist’, it could mean it's missing some library dependency. ‘ldd /path/to/foo’ (part of glibc) will print them. Etc. If it runs fine, a bad $PATH is likely, a bug in bash is not.
<stikonas>dale`: you can also explore graphically with CLI, althouh, you see fewer lines with git log --graph --all
<mekeor>are there plans to make guix-system better accessible for people not familiar with scheme, programming, the command-line etc? it would be nice to have a nice GUI, e.g. for creating a systems-declaration. that way, guix-system would be an alternative e.g. to UBOS and YunoHost.
<nckx>jonsger: We know 😉 It's a month younger than the real Guix. What's interesting is that we (well, I) didn't get a single message about it until Microsoft bought it last year. The power of owning open source and the SEO that comes with it!
<nckx>Also: I *think* you mean to write \" instead of \\" but it depends on the context.
<nckx>Assuming this is Scheme (substitute*): use \".
<nckx>raghavgururajan: This might be a good time to point out the REPL (‘guile’ or ‘guix repl’): paste your strings in there and it will remove one level of escaping, and out will come what the regex engine sees.
<nckx>If you paste "assert_eq!\\(settings.get::\\<String\\>\\(\\"test-string\\"\\).as_str\\(\\), \\"Good\\"\\);"
<nckx>that will throw an error because of the \\".
<blendergeek1>I'm having trouble installing GNU solfege in Guix. It seems to have to build something from source but fails complaining about malformed UTF-8 characters. Here is the log file: https://pastebin.com/b7HU9Laf
<NieDzejkob>I'm not sure why you're putting stuff like that in your operating system definition, though
<reepca>I find myself struggling to distinguish between multiple errors that have the same errno. For example, link(a, b) can produce ENOENT because a has missing directory components, b has missing directory components, or both. A subsequent stat could give some information, but it would be subject to race conditions
<lispmacs[work]>NieDzejkob: in my approach, I consider basic office software and also some system diagnostic utils as part of the system (along with Gnome)
<lispmacs[work]>NieDzejkob: it works fine for me, I just don't know how to add the non-default output of a package to the system packages. I figured out how to do it for Manifests, but that doesn't seem to apply here
<reepca>xdg-desktop-portal-dbus is a guix service, so it would make sense if shepherd doesn't know what to do with it
<jcob>hmm.. So is the only way to really add these to add them to the guix source code?
<reepca>hendursaga: the technical term for the thing that expression evaluates to is just "service". If you want to be maximally clear, you could call it a "guix service".
<jcob>reepca: or is there some other way that I could get the guix service to launch
<reepca>I guess if you wanted to be really, really clear, you could call it a "guix service instance" (as opposed to a "guix service type")
<reepca>jcob: guix services are a bit more broad an umbrella than shepherd services, but there is a guix service type (shepherd-service-type) which can be extended with a guix-specific representation of a shepherd service. Then the config file generated for the shepherd when the system is built will include code to register and start the shepherd service derived from that representation.
<janneke>i have been using guix copy for at least a month now (long before the locking patch series), i guess copying out should work, possibly making sure that just one guix-daemon runs and is idling...
<guix-user-392>anywork around for configuring guix: configure: error: `aarch64-linux-musl' is not a supported platform.