I tried to update my system today, and I got a lot of build failures (for some packages I override):
> /nix/store/qg8qhrxiab3r87xmaxbq565g1g8bnl57-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
error: builder for '/nix/store/vlf2i8p2krjk0rcwhypin0nb03bvsk9a-neovim-unwrapped-0.4.4.drv' failed with exit code 1; last 10 log lines: > > > CMake will not be able to correctly generate this project. > Call Stack (most recent call first): > CMakeLists.txt:7 (project) > > > -- Configuring incomplete, errors occurred! > See also "/build/source/build/CMakeFiles/CMakeOutput.log". > See also "/build/source/build/CMakeFiles/CMakeError.log". For full logs, run 'nix log /nix/store/vlf2i8p2krjk0rcwhypin0nb03bvsk9a-neovim-unwrapped-0.4.4.drv'.
The logs there say that cmake could not find
/bin/sh. and also this failure, which I guess relates to this:
> [0/214] Generating gtd-vcs.h with a custom commandninja: fatal: posix_spawn: No such file or directory For full logs, run 'nix log /nix/store/hvb2rpz9l7yz5alz17kfgfsv9bz0vr86-gnome-todo-40.0.drv'.
What have I done wrong? Why don’t I have
/bin/sh in the sandbox?