Nikita Karetnikov <nik...@karetnikov.org> skribis: >> The obvious thing to do here is to check whether that binary works >> correctly. It’s supposed to be the statically-linked bootstrap Bash, >> see base.scm. > > The files are there. But if I try > '/nix/store/qn*-glibc-intermediate-2.17/bin/sh --help', I'll get 'No > such file or directory'.
Check “strings /nix/store/qn*-glibc-intermediate-2.17/bin/sh | grep ld-linux”. Most likely that points to a loader that doesn’t exist. Ludo’.