···76767777 nativeBuildInputs = [
7878 docutils # for rst2man
7979+ glib
7980 meson
8081 ninja
8182 pkg-config
···167168 # need to set this ourselves, because the tests will set LD_PRELOAD=libumockdev-preload.so,
168169 # which can't be found because it's not in default rpath
169170 export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
171171+ '';
172172+173173+ # We can't disable the installedTests output when doCheck is disabled,
174174+ # because that produces an infinite recursion.
175175+ preFixup = lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
176176+ mkdir $installedTests
170177 '';
171178172179 passthru = {