IRC channel logs

2013-07-27.log

back to list of logs

<amirouche>héllo, it's not clear from the documentation whether I need guix daemon if I install it as a user
<Steap>amirouche: you need to run the daemon; yes
<amirouche>I did install guix, the daemon running, I ran guix pull
<amirouche>which installed some stuff
<amirouche>now I try guix package -i zile
<amirouche>I have this backtrace
<amirouche> http://paste.call-cc.org/paste?id=6fdc9664ba6f81cfc0e32d168502945e1d6c95f9
<Steap>amirouche: what version of Guix and Guile do you use ?
<amirouche>guix: 0.3 guile: 2.0.7
<Steap>ok
<Steap>"sendfile" is only defined in Guix0.8+
<Steap>but Guix should be able to detect that you do not have it
<amirouche>guix 0.8+ ? how can I get to that version ?
<amirouche>the latest release of guix is 0.3 from a few days ago
<Steap>I'm pretty sure that with Guile 2.0.9, it would work (you could compile it yourself), but Guix should work with Guix 2.0.7
<Steap>Could you run (defined? 'sendfile) in guile ?
<amirouche>#f
<amirouche>I will compile guile 2.0.9 then
<Steap>hum
<Steap>weird
<Steap>I mean, it's normal to get #f
<Steap>I havethe same with Guix 2.0.5
<Steap>but it's weird that Guix does not handle that well
<amirouche>Guile 2.0.5
<amirouche>guix should update guile ?
<Steap>you could install guile 2.0.9 using guix,yes
<Steap>I'm afraid you might run into the same issue though
<amirouche>I will install guile without guix
<amirouche>as soon as I install something with guix
<amirouche>I mean imagine it works
<amirouche>how does the systems knows about it ?
<amirouche>isn't there some PATH trickery to be done ?
<Steap>well, if you install Guile 2.0.9 in /home/amirouche/some/directory/bin
<Steap>you should add "export PATH=/home/amirouche/some/directory/bin:$PATH" at the end of your ~/.bashrc
<Steap>and run "source ~/.bashrc"
<Steap>then "which guile" should return "/home/amirouche/some/directory/bin"
<amirouche>I'm talking about guix installed packages not package that I install manually
<Steap>oh
<Steap>they are installed in ~/.guix-profile/bin
<Steap>so you should add taht to $PATH
<Steap>Btw, could you file a bug report ?
<amirouche>here http://debbugs.gnu.org/ ?
<amirouche>also guix installed guile 2.0.9
<amirouche>but is running the local guile
<amirouche>and ~/.guix-profile/bin does not exists
<Steap>don't you have a ~/.guix-profile ?
<amirouche>no
<Steap>are you sure guix did not fail ?
<amirouche>I mean I did configure make make install then guix pull
<amirouche>it failed because it had not the correct rights on /nix/store
<Steap>yeah right
<amirouche>a command to execute to correct the thing was provided
<Steap>ok
<amirouche>I executed it
<amirouche>then tried guic pull again
<Steap>(yep, use debbugs)
<amirouche>then it was saying it's ok
<Steap>(not sure how it works since we've only started to use that a few weeks ago and I was busy with work :/)
<Steap>so, have you tried installing "hello" through Guix ?
<amirouche>not hello just zile
<Steap>ok
<Steap>I think the ~/.guix-profile will be created when guix manages to install its first package
<amirouche>probably
<amirouche>guix installed guile 2.0.9
<amirouche>in /nix/store
<amirouche>but guix script reference /usr/bin/guile which is 2.0.6 on my system
<amirouche>I replace the shebang with /usr/bin/env guile
<amirouche>but still fails with http://paste.call-cc.org/paste?id=0372e8cc7d7e2849d1b57a2926e0b359b072fa05
<Steap>oh yeah, you don't have libgcrypt
<Steap>funny that configure does not tell you anything about this
<amirouche>configure told me about it
<amirouche>and I installed it
<Steap>oh
<Steap>oh, so Guix just can't find it
<amirouche>maybe it's not installed by guix
<amirouche>yes
<Steap>The easy solution would be to install it through Guix too :)
<Steap>It's quite weird that it's not found by Guix
<Steap>It's not easy to install Guix yet, but it's worth the trouble :)
<amirouche>I wanted to use guix to pull quickly dependencies for skribilo
<amirouche>or create them
<amirouche>I used nixos
<amirouche>It's rather powerful system
<Steap>Haven't tried NixOS myself
<amirouche>which distribution you run guix on ?
<Steap>Debian