Trying to run nix tests - bash not found

I’m trying to run the nix tests and getting a bash-not-found error.

this derivation will be built:
    building '/run/user/1000/nix-test/tests/flakes/flakes/store/453pbn540n3zkxq6qfw51bgj20xz38h4-simple.drv'...
           error: builder for '/run/user/1000/nix-test/tests/flakes/flakes/store/453pbn540n3zkxq6qfw51bgj20xz38h4-simple.drv' failed with exit code 1;
           last 2 log lines:
           > error:
           >        error: executing '/nix/store/dzrvibwj2vjwqmc34wk3x1ffsjpp4av7-bash-4.4-p23/bin/bash': No such file or directory
           For full logs, run 'nix log /run/user/1000/nix-test/tests/flakes/flakes/store/453pbn540n3zkxq6qfw51bgj20xz38h4-simple.drv'.
    ++( onError
    ++(/home/bburdette/op-code/nix/tests/common/ set +x test failed at:
      main in
make: *** [mk/ tests/flakes/] Error 1

I get similar errors with [nix-shell:~/op-code/nix]$ ./mk/ tests/

           error: executing '\''/nix/store/dzrvibwj2vjwqmc34wk3x1ffsjpp4av7-bash-4.4-p23/bin/bash'\'': No such file or directory'
    +( echo '

My system is using flakes. Before trying these tests I’m doing the typical steps:

nix develop
./configure $configureFlags --prefix=$(pwd)/outputs/out
make -j8
make install 
1 Like

Gave it a try on a fresh clone of the repo, and working now. Solved I guess!

1 Like