[Nix-dev] texinfo4 seems to have a /bin/sh dependency

Tyson Whitehead twhitehead at gmail.com
Mon Apr 27 21:13:22 CEST 2015


I upgraded to nixUnstable (nix-1.9pre4074_e659978) but it does not seem to have resolved this issue

1 - installed the nixpkgs.nixUnstable (nix-1.9pre4074_e659978) package,
2 - switched the default system profile over to it,
3 - restarted the nix-daemon so it is running 1.9

[root at test-centos6:~] killall nix-daemon
[root at test-centos6:~] nix-daemon --version
nix-daemon (Nix) 1.9pre4074_e659978
[root at test-centos6:~] nix-daemon

4 - re-ran the install command

[tyson at test-centos6 ~]$ nix-env --version
nix-env (Nix) 1.9pre4074_e659978
[tyson at test-centos6 ~]$ nix-env -iA nixpkgs.texinfo4
installing ‘texinfo-4.13a’
these derivations will be built:
  /nix/store/zng3jwybhn7cj2qagslx9hm41w29ab94-texinfo-4.13a.drv
building path(s) ‘/nix/store/39hrhw46j3vww48hasn8zxpq0jkw25ms-texinfo-4.13a’
unpacking sources
unpacking source archive /nix/store/9fh76lcx21pf35flmzfh35sya9a4g069-texinfo-4.13a.tar.lzma
source root is texinfo-4.13
patching sources
configuring
configure flags: --disable-dependency-tracking --prefix=/nix/store/39hrhw46j3vww48hasn8zxpq0jkw25ms-texinfo-4.13a  
/nix/store/3sqnsignf07mwz12fmi9r4g4vigxg3al-stdenv/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
builder for ‘/nix/store/zng3jwybhn7cj2qagslx9hm41w29ab94-texinfo-4.13a.drv’ failed with exit code 126
error: build of ‘/nix/store/zng3jwybhn7cj2qagslx9hm41w29ab94-texinfo-4.13a.drv’ failed

Is this what you had in mind or is there something I'm missing here?

Thanks!  -Tyson

PS:  The ps commands shows only the new daemon running.

On April 27, 2015 11:53:54 William Kennington wrote:
> On NixOS, nix is configured to not only provide the chroot but also /bin/sh
> compatability. This is fixed in nix 1.9 so I recommend just using the
> unstable version of nix as it should just work.




More information about the nix-dev mailing list