1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

blas: do not report an empty line for every checked symbol

This commit is contained in:
Daniël de Kok 2020-07-19 15:18:04 +02:00 committed by Frederik Rietdijk
parent d1bedf9d39
commit 68bd1c8552

View file

@ -72,7 +72,7 @@ stdenv.mkDerivation {
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; }
grep -q "^$symbol_$" symbols || { echo "$symbol" was not found in "$libblas"; exit 1; }
done
cp -L "$libblas" $out/lib/libblas${canonicalExtension}