<OrangeShark>modules are just normal guile modules. You can usually find the location of the package by doing `guix package --show=package-name`, it will then show the file location like "gnu/packages/lisp.scm" so it is in the (gnu packages lisp) module
<ZombieChicken>Anyone here using Gnome with a different window manager other than Metacity?
<lfam>I don't have a GNOME system, so I can't try this out now, but I do think you can select a different window manager in GNOME.
<ZombieChicken>fr33domlover: I havn't used Gnome in years, so I was thinking of just grabbing the whole thing, but I know I'm going to want to use a seperate window manager that fits my needs more than a floating WM
<ovidnis>but if i sudo guix system reconfigure it says cl-stupmwm is an unbound variable :(
<alezost>sneek: later tell ovidnis re "but if i sudo guix system reconfigure it says cl-stupmwm is an unbound variable". I think the problem is that you have never run "guix pull" as root, so your user has access to the latest "guix pull"-ed modules (including "cl-stupmwm" package), and your root user does not
<Petter>I get "ERROR: In procedure cadr: Wrong type (expecting pair):" when using (first input) and (second input).
<cbaines>After "Wrong type (expecting pair)" it should show you what it tried to run cadr on
<Petter>Yes, it's on the first of the (inputs). But I only get it with this code enabled.
<cbaines>I don't really follow, as far as I know, inputs should be a list of lists, where the inner lists have either 2 or 3 elements, so providing that is true, then getting the first and second elements of the inner lists should work
<Acou_Bass>quick query - is there a way to use distcc in guixSD for building packages? assuming ive got distcc setup on my main PC running arch, can i easily hook guix up with it to build stuff on my POS laptop quicker?
<cbaines>Acou_Bass, have you heard of build offloading in Guix?
<Acou_Bass>i suppose not :P ill have a look into it. does that involve using guix on all the machines though or does it just use distcc?
<cbaines>Yes, build offloading requires Guix on the machines that you offload to
<cbaines>I'm unsure how tools like distcc would work in the isolated build environments that Guix uses
<cbaines>build offloading has the advantage that its configurable, and usable pretty much everything (not just C/C++)
<cbaines>I'm sure Guix will continue to spread through your machines :P
<Acou_Bass>if i wasnt so lazy to be bothered making .scm's for all the proprietary crap i use it definitely would! i ran NixOS on all my machines for a while so i do like the concept
<cbaines>Out of interest, what kind of propietary crap are you stuck with?
<cbaines>I find it hard enough to make packages for some free software projects
<cbaines>phantomjs was the last one I pushed through, and that was just making a package for a binary release
<Acou_Bass>skype is the main one... a couple of games, steam controller GUI thingy (which isnt actually proprietary but again thats just my laziness) :D
<Acou_Bass>i made a nixpkg for one nonfree game i play so i suppose i could just redo it in scheme seeing as i already know whats needed for it to work
<cbaines>luckilly, I've got by without using skype at all so far
<Acou_Bass>-_- some people are just addicted to it... ive shown them every free (or even slightly-less-nonfree) alternative but its always 'oh its missing this miniscule little feature that ive never used but now want'
<Acou_Bass>one such feature is how it puts your webcam view 'on top' of other windows, which of course every DE/WM outside of MS windows can do just by right clicking the bar and clicking 'keep on top' but no other program seems to be able to do on windows :p
<Petter>Weird. I can loop through the (inputs) specified in a recipe, but only if none of the phases return false.
***keifer_ is now known as keifer
<Petter>How do I 'continue' in a for-each loop? Or is that not idiomatic?
<cbaines>The only way to continue would be to simply do nothing
<Petter>I mean continue as in go to next entry in list.
<cbaines>Doing nothing would work in this case, consider: (for-each (lambda (x) (if (> x 4) (display x))) '(1 2 5 10))
<cbaines>In Python say, you might write that with a for loop and continue
<sneek>ovidnis, alezost says: re "but if i sudo guix system reconfigure it says cl-stupmwm is an unbound variable". I think the problem is that you have never run "guix pull" as root, so your user has access to the latest "guix pull"-ed modules (including "cl-stupmwm" package), and your root user does not
<jmi2k>jmd: I used it for two years, and it was a pretty convenient feature. For example: I had neovim with the python-neovim optional dependency to allow certain extensions.
<jmi2k>cbaines: I can work for certain packages, but if you have more than one optional dependency, package definitions can get a bit redundant.
<jmi2k>At the moment it isn't vital for me, I'm happy with Guix as is, but I wanted to know if there was something similar.
<cbaines>If the optional dependency is just at runtime, then effectively what is missing/different is documentation
<cbaines>If its needed at package build time (and maybe at runtime as well) then the package definition needs to change
<cbaines>I'm quite used to the Debian model for this, as there is Recommends, Suggests, Enhances, and a few other relationships as well
<cbaines>The main advantage of this is that for end users, the contributors to the distribution can take care of working out all the details, so every user doesn't have to know that python-neovim extends neovim, as its recorded somewhere
<cbaines>At the moment, it could go in the description, but maybe in the future it would be good to have some structured data in the package definition, and that could then be used by scripts that install packages
<jmi2k>Sounds good. I never used Debian seriously (I switched from Ubuntu-like distros to Arch Linux, I only used Raspbian briefly), but it seems like a nice way of organizing dependencies.
<efraim>openjpeg-CVE-2015-6581.patch this file seems unused
<ZombieChicken>Holy cow. Note to self; don't install a full desktop profile when trying to test something out. It isn't worth it...
<Apteryx>Hmm... My git tree got corrupted somehow, and I'm using it directly to run Guix. Any recommendations to get it re-cloned without screwing Guix?
<Petter>Have you considered downloading it again in a new dir, and update the symlinks?
<Apteryx>Petter: That sounds like a safe approach.
<Apteryx>I'm toying with git to see if I can fix it, but this seems like the best option failing that.
<Apteryx>My exact git error is: fatal: loose object bbae1510169ceb4e6e1d653928b6bd8781c9575a (stored in .git/objects/bb/ae1510169ceb4e6e1d653928b6bd8781c9575a) is corrupt
<Apteryx>Since it's a loose object, I wonder if I could just delete it.
<alezost>Apteryx: yes, we don't like tabs; check 'indent-tabs-mode' variable. BTW this variable is set by Guix's ".dir-locals.el" file, so if you edit some package module in a guix source tree, tabulation should be disabled (unless you disable dir-locals or alike in you emacs config)
<paroneayea>so nice to see that guix is ahead of the game in providing the guile-2.2 packages for things
<ZombieChicken>Can grub handle UUIDs? I'm trying to setup a VM to test RAID+LUKS with a seperate drive for /boot, yet it seems like the configuration doesn't like using a UUID for the ...(grub-configuration (device (uuid "xxxx-xxxx-xxxx-xxxxxxxxxxxx")))
<paroneayea>grub can handle uuids, though I don't know about the grub-configuration part of guix
<ZombieChicken>Yeah. I though I had this working last night but today it just seems to refuse to work
<civodul>(and it would have to be a GPT UUID, not a file system UUID)
<Apteryx>How can I purge older system generations created using "guix system reconfigure" ?
<jmi2k>ZombieChicken: If you're interested, days ago I wrote a simple function to obtain a block device path given the path of one of its filesystems. I use it in my portable Guix installation, where that path changes depending on the computer I'm using.
<cbaines>Apteryx, guix gc is probably the way, I think you need to remove a symlink somewhere though
<cbaines>so that guix gc doesn't think that you still want it
<Apteryx>cbaines: I was looking for something equivalent to guix package --delete-generations