blas: use $NM instead of nm

This is the right one on cross compilation.
This commit is contained in:
Matthew Bauer 2020-07-06 00:25:10 -04:00
parent f42aa7e1d7
commit e7ea3de835

View file

@ -70,7 +70,7 @@ stdenv.mkDerivation {
exit 1
fi
nm -an "$libblas" | cut -f3 -d' ' > symbols
$NM -an "$libblas" | cut -f3 -d' ' > symbols
for symbol in ${toString blasFortranSymbols}; do
grep "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
done