mostly_static test should be disabled if no static toolchain is available (e.g. in ghc.nix)
I have my development environment setup with `ghc.nix`.
When I build with `--flavour=default+no_omit_pragams+no_profiled_libs` then the `mostly_static` test fails as follows:
```
Wrong exit code for mostly-static()(expected 0 , actual 2 )
Stdout ( mostly-static ):
[1 of 2] Compiling Main ( Hello.hs, Hello.o )
[2 of 2] Linking Hello
Stderr run ( mostly-static ):
/nix/store/42pzy4ahwk8p41hwfmz2nldgvsdws8q1-binutils-2.44/bin/ld: cannot find -l:libnuma.a: No such file or directory
collect2: error: ld returned 1 exit status
<no location info>: error:
`cc' failed in phase `Linker'. (Exit code: 1)
make: *** [Makefile:27: mostly-static] Error 1
*** unexpected failure for mostly-static(normal)
```
Has anyone else seen this fail locally?
issue