binaryen: fix strictDeps build

This commit is contained in:
FliegendeWurst
2025-01-02 21:20:51 +01:00
parent f28864e00d
commit 789c30f7e2
@@ -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
'';