IRC channel logs

2013-07-05.log

back to list of logs

<civodul>Hello Guix!
<nalaginrut>civodul: heya
<civodul>hey nalaginrut!
<nalaginrut>civodul: is the bootstrap necessary? what if I have Guile as build-require in the package spec?
<BlueT_>hi civodul
<civodul>hi BlueT_
<civodul>nalaginrut: yes, it's necessary
<nalaginrut>it's a little wasteful for me, since I've already set guile-2.0.9 as the build-require, but bootstrap download 2.0.7, hmm...
<civodul>but there are good reasons to do so
<civodul>have you read about the functional packaging model?
<civodul>there's some info on the web site, manual, and in papers
<nalaginrut>civodul: I've read a little, I haven't understood it in a profound way ;-P
<civodul>:-)
<civodul>in a nutshell: functional package deployment means that you need to pass *all* the arguments to the build function
<civodul>at the very beginning ("bootstrap"), there needs to be Guile as an argument
<civodul>and an argument is necessarily something under Guix's control--i.e., something under /nix/store
<nalaginrut>do I have to run daemon each time?
<civodul>yes
<civodul>nalaginrut: see http://www.gnu.org/software/guix/manual/guix.html#Setting-Up-the-Daemon
<nalaginrut>hmm...why not set it during 'make install'?
<civodul>set what?
<civodul>start it you mean?
<nalaginrut>I think I have to run a script to setup groups
<nalaginrut>and maybe I have to write a script for init.d to start daemon each time?
<civodul>yes, something like that
<civodul>this is really distro-dependent, so that's beyond what "make install" could do
<nalaginrut>IMO, there's a way to start daemon automatically each time run guix, I think packagekitd works like this
<nalaginrut>s/packagekitd/packagekit
<nalaginrut>and maybe it's worthy to write a guix backend for packagekit if I understand all the stuffs correctly
<civodul>agreed for PackageKit
<civodul>as for starting the daemon, that's not really possible, because it has to run as root
<civodul>so it really needs to be started when the system boots
<civodul>or via a systemd activation ;-)
<civodul>anyway, on the GNU system, it will be automatically started
<nalaginrut>civodul: is Guix a completely alternative to apt-get/yum/zypper... ?
<nalaginrut>I mean a distro could use guix for the whole package management
<civodul>yes, that's the whole point
<civodul>see under "Status" at http://gnu.org/s/guix/ :-)
<civodul>so you can already use it on top of your distro
<civodul>isn't it wonderful? :-)
<nalaginrut>civodul: that's why I want to confirm it
<nalaginrut>:-P
<nalaginrut>why not put /nix to /var/nix?
<civodul>because that's not what /var is for :-)
<civodul>/var/nix actually exists, for build logs and such
<nalaginrut>so what's /nix/store?
<nalaginrut>I removed it's content, and guix can't work
<nalaginrut>No such file or directory: "/nix/store/x9x1a86flhx15cams7235rfy5gc5cww1-guile-bootstrap-2.0.drv"
<nalaginrut>how can I restore it?
<civodul>ah, too late
<BlueT_>I'm a bit confused by Guix/NIX/NixOS...
<BlueT_>civodul: so, is Guix a package management system, or a distro?
<BlueT_>refer to nixos.org, I can see Nix is a package manager, and NixOS is a distro.
<BlueT_>by some info, I saw Guix is from Nix, a package manager. Then what's the difference with Guix and Nix?
<BlueT_>and by 17:42 < civodul> see under "Status" at http://gnu.org/s/guix/ :-)
<BlueT_>I see "The distribution provides 400+ packages"
<civodul>BlueT_: 1st line of the web page: "GNU Guix is a purely functional package manager for the GNU system, and a distribution thereof."
<civodul>:-)
<civodul>let me know if you have ideas on how to improve this!
<civodul>re Guix vs. Nix: you can think of Guix as Nix with a Scheme interface
<civodul>see the ELS paper and talk on the website for more details
<civodul>and README
<BlueT_>civodul: i see. thanks, I'll try to figure them out. :-)
<BlueT_>civodul: so Guix, unlike NixOS, doesn't have a installable CD for the distro, right? Got to have a preinstalled OS (ex, debian linux) and install Guix on top of it.
<BlueT_>as a distribution.
<civodul>exactly
<civodul>but the goal is to have a stand-alone distro, obviously
<BlueT_>i see.
<BlueT_>I'm trying to see what I can help and also need to prepare more info for my LightningTalk about Guix on COSCUP conference.
<civodul>oh, that'd be nice
<civodul>i would recommend browsing the manual and other material linked from the web page
<civodul>and trying it on GNU/Linux, to see what it's like
<BlueT_>civodul: haha yes I'll definitely try it on GNU/Linux. I just had trouble with it on GNU/Hurd. :-P
<civodul>indeed :-)