<Guest96914>Hello, can someone help me? I am trying to make a package for software called obs-gphoto but when I tried to build it it says gphoto2 is missing, despite me including it in the code. What is going on?
<PotentialUser>Hello. Im trying to install dotnet core with the script that microsoft provides, said script installs at /usr/share but there is no such directory in GUIX, any suggestions? (i can provide a different install directory with their script, but i dont know wich one is the replacement for /usr/shared)
<PotentialUser>alextee: looking at the logs i see that you were asking about dotnet too, did you find any workaround?
<apteryx>PotentialUser: you can use find /gnu/store -maxdepth 1 -name '*icecat*', which is probably going to return the results faster than what a bash autocompletion would be able to do on thousands of entries
<peanutbutterandc>Quick question: How do I use emacs-geiser with guix? Preferably, I want run-geiser to start `guix repl` instead of the normal `guile`. How could I go about doing it?
<sneek>Welcome back peanutbutterandc, you have 2 messages!
<sneek>peanutbutterandc, leoprikler says: did you test Julien's .asoundrc? If so and it didn't work, then fine.
<sneek>peanutbutterandc, leoprikler says: Your hack can probably be made a little nicer by using (assoc-ref %build-inputs "alsa-plugins:pulseaudio"), but it still remains a hack around a somewhat different problem. Perhaps you might want to contribute towards documentation regarding the use of ALSA/Pulseaudio on foreign distros.
<peanutbutterandc>leoprikler, I am trying to polish up the change, yes. Yes, I see that this is quite a huge issue. But hopefully we'll have a solution/more-elegant-fix soon.
<wleslie>should `make` have clobbered all the po files in the guix repo?
<peanutbutterandc>does anybody here use geiser? How do I get a `guix repl` running with geiser?
<peanutbutterandc>apteryx, I opened a package, (emacs -nw stand-alone.scm) and then did C-c C-a, which loaded the guix repl, and then went to the stand-alone.scm buffer and did M-x geiser-load-current-buffer and it complains about "no code for module (guix packages)". I am not sure what is going on
<apteryx>what does entering %load-path at the REPL prints?
<apteryx>there should be your guix source tree there
<peanutbutterandc>wleslie, I think package name. Only, you need to have it available to guix. So, for eg: `guix lint -L . my-package-that-is-defined-in-current-directory-as-a-public-variable-in-a-module`
<peanutbutterandc>wleslie, or, if I'm in my guix source checkout, from the root, `./pre-inst-env guix lint name-of-package-that-i-changed`
<apteryx>if not, you need to set it in your .emacs, with something like: (setq geiser-guile-load-path '("~/src/guix")) or the likes.
<peanutbutterandc>apteryx, I'm on a random directory (my channel).... is it possible to set it while running emacs (and how - I'm an emacs n00b). I move around a lot.
<wleslie>thanks, I figured out why that didn't work for me when I first tried it
<peanutbutterandc>wleslie, If there's anything wrong in the package: any syntax error, anything at all.... it just says 'package not found'. In case of `guix lint -L /path/to/all/personal/.scm-files`, if any of the .scm files have an issue, it fails. Hope that helps!
<peanutbutterandc>apteryx, Hmmm.... I will try this route out then. Thank you very much. Sweet dreams.
<peanutbutterandc>I think I'll just ask things manually for now. Where do I get subsitute-keyword-arguments from?
<scottviteri>I think I have found the answer to my question: I should run guix system init without the no-bootloader option, accept my guix partition as making my primary grub configuration, and add a menu-entry for my arch partition in the guix config
<peanutbutterandc>I could have brute-forced through the #:use-module in a grep-ed package definition and would have found this out already but no: I had to figure out a way to do it with geiser. :[
<scottviteri>What is the expected workflow of adding packages to one's distribution? Are we supposed to install packages and update the guix config? Or can we just add package names to the guix config? I am assuming that we have to do the former, because otherwise the boot sequence would also have to know how to install packages/connect to the internet. Thanks in advance.
<ryanprior>When you add package names and `guix system reconfigure`, it fetches the data ahead of time and updates your profile before you reboot.
<ryanprior>You can even launch your new reconfigured system in a VM to try and get a sense for how it will behave.
<mfg>so i just wanted to build guix from git, and inside a guix env guix --pure environment the configure phase fails, stating that it can't find guile development packages. Has anyone had the same problem before? if so how did you solve it? :|
<moesasji>mfg. I definitely remember hitting this and it seems to be a known issue when using guix on a foreign distro. My recollection is that you need to add something to the environment command to avoid using the system guile.
<PotentialUser-77>Hello! Does anyone have a recommended way to run virtual machines in Guix? GNU Boxes sort of works, but it won't let me pass through USB devices (trying to enable pass-through for devices just immediately switches off when I click it) and I'm having trouble figuring out how to configure file sharing. virt-manager, on the other hand, isn't connectin
<cbaines>janneke, assuming you mean corresponding Guix Data Service, it can, but not necessarily. I'm using it in conjunction with the Guix Data Service, as that provides information about what derivations can be built, as well as providing substitutes for the derivations
<PotentialUser-77>PotentialUser-69: Ah, okay. So I was looking at the right config. I guess my config of it is wrong though
<cbaines>janneke, I'm excited about the Guix Build Coordinator because it can do things like automatic retries, building things more than once, and offers a different take on how to provide substitutes
<PotentialUser-77>It looks like I actually have the same issue on gnome-boxes as with virt-manager. The difference is I didn't realize it with gnome-boxes because I only saw it when I started it from a terminal.
<PotentialUser-77>"(gnome-boxes:4822): Boxes-WARNING **: 17:00:03.330: libvirt-machine.vala:275: Failed to connection to system libvirt: Unable to open qemu+unix:///system: internal error: Unable to get DBus system bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory"
<PotentialUser-77>So I guess in general I have an issue with getting virtual machine managers to connect to the DBUS system bus socket
<cbaines>civodul, thanks, I've only attempted to build the package so far, but hopefully I can attempt to actually get it running sometime soon...
<cbaines>PotentialUser-77, does that file exist, or does it not as the error suggests?
<cbaines>It exists on the machine I'm currently using
<mroh>PotentialUser-77: try to add your $user to the "root" group, maybe?