[Nix-dev] problems installing on a shared system

Erick Tryzelaar erickt at dslextreme.com
Fri Jun 8 06:49:04 CEST 2007


Hello again,

It's been a while since I last played around with nix, so I wanted to 
check it out. I'm having some problems though. First off, the machine 
I'm on has /home/erickt symlinked to another directory. After I built 
nix and tried to install it, nix-update errored out saying that nix 
doesn't support being installed in a path with a symlink. I've manually 
specified the full path, but it would be a lot more handy if I didn't 
have to. The server may change the symlink in the future, and I'd hate 
to have to rebuild nix all over again if that happened.

Second, after I installed it with the full path, I'm getting this 
strange error. It looks like nix can't find tar, and I can't figure out 
how to install it Any idea what's going on?

 > nix-env -i hello
installing `hello-2.1.1'
building path(s) 
`/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl'
+ set -e
+ 
/home/.expialidocious/erickt/nix/store/xm40kq1byc33xrj1nb193jwy3j5fb8a4-cp 
-prvd . 
/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl
`.' -> 
`/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl'
+ 
/home/.expialidocious/erickt/nix/store/xm40kq1byc33xrj1nb193jwy3j5fb8a4-cp 
-prvd . 
/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl/bin
`.' -> 
`/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl/bin'
+ 
/home/.expialidocious/erickt/nix/store/xm40kq1byc33xrj1nb193jwy3j5fb8a4-cp 
/home/.expialidocious/erickt/nix/store/iz9xbq07sw6p696xlpp92n2vnp8jpj7g-curl.bz2 
curl.bz2
+ 
/home/.expialidocious/erickt/nix/store/mylhv1l7vr4mcdz1iq2f2w6fkf3jiyvb-bunzip2 
-d curl.bz2
+ 
/home/.expialidocious/erickt/nix/store/xm40kq1byc33xrj1nb193jwy3j5fb8a4-cp 
curl 
/home/.expialidocious/erickt/nix/store/hjy8issm60iaavwg9yap4j2brvw4cgdb-curl/bin
building path(s) 
`/home/.expialidocious/erickt/nix/store/yy1ac4cgk3y6c76kdwdz4zin82ib4r4n-static-tools.tar.bz2'
downloading 
/home/.expialidocious/erickt/nix/store/yy1ac4cgk3y6c76kdwdz4zin82ib4r4n-static-tools.tar.bz2 
from 
http://nix.cs.uu.nl/dist/tarballs/stdenv-linux/i686/r6881/static-tools.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                 Dload  Upload   Total   Spent    Left  
Speed
100 1547k  100 1547k    0     0   316k      0  0:00:04  0:00:04 
--:--:--  385k
building path(s) 
`/home/.expialidocious/erickt/nix/store/i84hpil9sqjc8qciwz7n7nll0jpflk3i-binutils.tar.bz2'
downloading 
/home/.expialidocious/erickt/nix/store/i84hpil9sqjc8qciwz7n7nll0jpflk3i-binutils.tar.bz2 
from 
http://nix.cs.uu.nl/dist/tarballs/stdenv-linux/i686/r6881/binutils.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                 Dload  Upload   Total   Spent    Left  
Speed
100 1492k  100 1492k    0     0   360k      0  0:00:04  0:00:04 
--:--:--  387k
building path(s) 
`/home/.expialidocious/erickt/nix/store/6wxcjdb7rb2hpd1jm9f8bpjsq4yq1639-static-tools'
/home/.expialidocious/erickt/nix/store/ly27nn2avxzkzllr5ggla7ml0camgbai-unpack.sh: 
line 6: ./.tar: Permission denied

mylhv1l7vr4mcdz1iq2f2w6fkf3jiyvb-bunzip2: I/O or other error, bailing 
out.  Possible reason follows.
mylhv1l7vr4mcdz1iq2f2w6fkf3jiyvb-bunzip2: Broken pipe
        Input file = (stdin), output file = (stdout)
builder for 
`/home/.expialidocious/erickt/nix/store/7zijvl5qqmgvd1fnxz64ikxj363z3llq-static-tools.drv' 
failed with exit code 1
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/j4q7la3p757k5gqwg33xny3cbkpl6i3f-stdenv-linux-boot.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/mqnnfxg936ijkyyscnxd5s13qgw9gs0p-stdenv-linux-boot.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/ndpfc4gjscmb3sygrj850kmgvr1alm00-stdenv-linux-boot.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/igyvlhrhmq8zhxa85kc8c67l7qf6326d-stdenv-linux-initial.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/80q2drxf3r0i5v9rydw749n3sqrgbxxv-curl-7.16.2.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/3nzd0bi3kd4cjmbj4j3qcy5hbp33d0dz-stdenv-linux.drv': 
1 inputs could not be realised
cannot build derivation 
`/home/.expialidocious/erickt/nix/store/wjg79rh8k4j9kms4z94v4sjzzrqqnws9-hello-2.1.1.drv': 
1 inputs could not be realised
error: build of 
`/home/.expialidocious/erickt/nix/store/wjg79rh8k4j9kms4z94v4sjzzrqqnws9-hello-2.1.1.drv' 
failed




More information about the nix-dev mailing list