<Tsyesika>does this make it easier to package my software ;)
<Tsyesika>hopefully this evening i will find time to play with guix
<Tsyesika>might even throw it on my thinkpad rather than a vm
<Tsyesika>oh i did have a question now i come to think of it! I'm wondering when you're defining your system config file and the user section, if you specify say zsh rather than bash will it be able to pull in that package if it's not installed? I presume not but that'd be really awesome
<davexunit>Tsyesika: I'm not sure if it does that *yet*, but I know it's possible.
<davexunit>civodul wrote a really cool thing call "g-expressions"
<DusXMT>Tsyesika: you could add zsh to the system packages, and then edit /etc/passwd to make it your shell
<davexunit>so you could add this "gexp" that contains zsh, and when guix builds the derivation, the zsh package will be included as an input.
<Tsyesika>sure but i'm just wondering if it'd possible to make it so that it does it automatically
<davexunit>I don't really know how they work, so my explanation is at least partly wrong.
<davexunit>but I think it's possible for it to happen automatically.
<Tsyesika>I'm wondering if maybe packages could list what files they provide so the zsh package might be able to list it provides /bin/zsh or whereever and then guix package manager do a check to see which packages provides that shell
<Tsyesika>what you'd want is packages in their definition to list a bunch of files provided or them to maybe come with a seporate manifest file or something so that you could query guix to ask what package provides a certain file or in this case executable (/bin/zsh) and it could query that and install it as part of the transaction?
<davexunit>I just can't give you the right answer right now :)
<Tsyesika>i'm not sure how else it'd know what provides zsh without that?
<davexunit>it's not about knowing what provides the zsh binary, because you as the programmer know that the 'zsh' package has it. many packages *could* provide /bin/zsh, but you need to explicitly refer to the one you want.
<Tsyesika>i think i was more wanting an eligant solution than having to manage packages to get my config to work
<Tsyesika>so rather than adding zsh to a list of packages i want installing and then defining the user i want let guix figure some of that out
<Tsyesika>davexunit: and installing something based on a "what provides" works yum/dnf has such a feature
<davexunit>I think that's where gexps come in, when you reference a package in a gexp, that package is automatically added to the inputs of the "derivation". the derivation in this case builds an operating system.
<Tsyesika>i think i need to look at gexps more but i suspect it won't do what i want as i don't think guix packages currently have enough info to do that
<Tsyesika>davexunit: maybe if i specify a package rather than a path but it'd then have to derive the path from the package somehow
<davexunit>I'm sure that they *should* have that info, and either way I think you can get what you want.
<davexunit>it would be a lot easier to demonstrate if I knew the code to write :D
<Tsyesika>davexunit: another example of this might be me saying i want openssh-server/sshd enabled and i don't want to have to touch a package list or have to care if it's installed nor should i have to care about adding it or removing it from the init system
<Tsyesika>i was wondering if you could enable multiple at once as the documentation encurrages you to setup own build farm if possible, not saying i definitly will but just wondering how it might work if you want to maybe enable two?
<Ulrar>I was wondering, is it possible to install packages from source instead of binary ?
<DusXMT>Ulrar: just pass --no-substitutes to the command
<alezost>Ulrar: it is described in manual: (info "(guix) Substitutes")
<tadni_>davexunit: Well, not a ton of motivation to compile it locally right now. Maybe when/if it gets multi-key maps and a mode-line like Stumpwm. Right now, even if I can get guile-wm tiling to work proper, what I'll end up with it just bassically ratpoison. :^P
<tadni_>It's not like I have the hacking skills currently to be able to contribute anything of worth to guile-wm anyways either... :^I
<cantstanya>also is there anyone using guix to manage local packages under ~/ in another OS such as OS X or FreeBSD?
<davexunit>cantstanya: not that I know of, though it should work.
<tadni_>cantstanya: Don't use another OS, butk other unix-like OSes should in theory work.