···7677 nativeBuildInputs = [
78 docutils # for rst2man
079 meson
80 ninja
81 pkg-config
···167 # need to set this ourselves, because the tests will set LD_PRELOAD=libumockdev-preload.so,
168 # which can't be found because it's not in default rpath
169 export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
000000170 '';
171172 passthru = {
···7677 nativeBuildInputs = [
78 docutils # for rst2man
79+ glib
80 meson
81 ninja
82 pkg-config
···168 # need to set this ourselves, because the tests will set LD_PRELOAD=libumockdev-preload.so,
169 # which can't be found because it's not in default rpath
170 export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
171+ '';
172+173+ # We can't disable the installedTests output when doCheck is disabled,
174+ # because that produces an infinite recursion.
175+ preFixup = lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
176+ mkdir $installedTests
177 '';
178179 passthru = {