···8181 , # `class`:
8282 # A nominal type for modules. When set and non-null, this adds a check to
8383 # make sure that only compatible modules are imported.
8484- # This would be remove in the future, Prefer _module.args option instead.
8584 class ? null
8686- , args ? {}
8585+ , # This would be remove in the future, Prefer _module.args option instead.
8686+ args ? {}
8787 , # This would be remove in the future, Prefer _module.check option instead.
8888 check ? true
8989 }:
···3030 ./tests-skip-double-test-on-stub-locale-impls.patch
3131 ];
32323333- postPatch = ''
3333+ postPatch = lib.optionalString finalAttrs.finalPackage.doCheck ''
3434 # The relative location of LD_PRELOAD works for Glibc but not for other loaders (e.g. pkgsMusl)
3535 substituteInPlace tests/meson.build \
3636 --replace "LD_PRELOAD=libumockdev-preload.so.0" "LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0"