binaryen: fix strictDeps build (#370303)

This commit is contained in:
Peder Bergebakken Sundt
2025-02-16 23:45:16 +01:00
committed by GitHub
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
python3
];
strictDeps = true;
preConfigure = ''
if [ $doCheck -eq 1 ]; then
sed -i '/googletest/d' third_party/CMakeLists.txt
@@ -45,11 +47,13 @@ stdenv.mkDerivation rec {
'';
nativeCheckInputs = [
gtest
lit
nodejs
filecheck
];
checkInputs = [
gtest
];
checkPhase = ''
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib python3 ../check.py $tests
'';