lief: Fix failing build

polyfloyd 0898e7bc f49c602f

+7 -1
+7 -1
pkgs/by-name/li/lief/package.nix
··· 47 47 scikit-build-core 48 48 ]; 49 49 50 - cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) ]; 50 + cmakeFlags = [ 51 + (lib.cmakeBool "LIEF_PYTHON_API" true) 52 + (lib.cmakeBool "LIEF_EXAMPLES" false) 53 + (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) 54 + ]; 51 55 52 56 postBuild = '' 53 57 pushd ../api/python ··· 60 64 ${pyEnv.interpreter} -m pip install --prefix $py dist/*.whl 61 65 popd 62 66 ''; 67 + 68 + pythonImportsCheck = [ "lief" ]; 63 69 64 70 meta = with lib; { 65 71 description = "Library to Instrument Executable Formats";