Rasberry pi 2 with rashbian can't build anything with nix

Hi,

I always get this error if I’m trying to build something on my rpi2

/nix/store/7aavkxr8havzi1fiz9y98p9p6hql4vjq-bootstrap-stage1-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
error: builder for '/nix/store/n0v4bn2ynny7azqq394pj13jc624sv12-gnum4-1.4.19.drv' failed with exit code 126

Executing /bin/sh manually works fine

Steps to reproduce

  • Download a nix build for armvl7 from hydra
  • install it on a freshly installed rashbian with the install script (I tried single und mult user installation)
  • try to install something which needs to build

There’s no stdenv in the cache and you’d need to bootstrap it.

armv7l is not a well-supported platform errors like this are expected.