[Nix-dev] mips64el: syntax error in 'replace-dependency.nix'

Shea Levy shea at shealevy.com
Sun Jan 13 03:31:07 CET 2013


On 01/12/2013 04:57 PM, Nikita Karetnikov wrote:
>> Thanks, the latter did the job.
> Oh, it failed.
>
> [...]
>
> glibc-ports-2.13/sysdeps/z8000/mul_1.s
> glibc-ports-2.13/sysdeps/z8000/sub_n.s
> configure flags: --disable-static --prefix=/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13 -C --enable-add-ons --sysconfdir=/etc --localedir=/var/run/current-system/sw/lib/locale --with-headers=/nix/store/lk00b5xr85ahkjzvs3lw9wi1dzwc4q9a-linux-headers-2.6.35.14/include --disable-profile
> /nix/store/vv7mwqlqllys5sz231j47b71yaypdz3l-stdenv-linux-boot/setup: /tmp/nix-build-2wwhdpp5zkrj6a38va3xixm2yan1hrq6-glibc-2.13.drv-0/build/../glibc-2.13/configure: /bin/sh: bad interpreter: No such file or directory

Are you doing chroot builds? It looks like your /bin/sh is linked to an 
interpreter outside of the chroot. Since nix-1.3, it's possible to have 
a /bin/sh in the chroot that isn't the same /bin/sh as outside the 
chroot, but since you're trying to install nix-1.3 you'll either have to 
change your system /bin/sh or disable chroot builds.

> builder for `/nix/store/2wwhdpp5zkrj6a38va3xixm2yan1hrq6-glibc-2.13.drv' failed with exit code 126
> cannot build derivation `/nix/store/c70lpv849qj3kngpcfzhkphg07xsj7bf-perl-5.14.2.drv': 1 dependencies couldn't be built
> cannot build derivation `/nix/store/pwq1czxhg9rlpchraqy5mki0v9xlszis-nix-1.3.drv': 1 dependencies couldn't be built
> error: build of `/nix/store/pwq1czxhg9rlpchraqy5mki0v9xlszis-nix-1.3.drv' failed
>
> Nikita



More information about the nix-dev mailing list