···81 , # `class`:
82 # A nominal type for modules. When set and non-null, this adds a check to
83 # make sure that only compatible modules are imported.
84- # This would be remove in the future, Prefer _module.args option instead.
85 class ? null
86- , args ? {}
087 , # This would be remove in the future, Prefer _module.check option instead.
88 check ? true
89 }:
···81 , # `class`:
82 # A nominal type for modules. When set and non-null, this adds a check to
83 # make sure that only compatible modules are imported.
084 class ? null
85+ , # This would be remove in the future, Prefer _module.args option instead.
86+ args ? {}
87 , # This would be remove in the future, Prefer _module.check option instead.
88 check ? true
89 }:
···30 ./tests-skip-double-test-on-stub-locale-impls.patch
31 ];
3233- postPatch = ''
34 # The relative location of LD_PRELOAD works for Glibc but not for other loaders (e.g. pkgsMusl)
35 substituteInPlace tests/meson.build \
36 --replace "LD_PRELOAD=libumockdev-preload.so.0" "LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0"
···30 ./tests-skip-double-test-on-stub-locale-impls.patch
31 ];
3233+ postPatch = lib.optionalString finalAttrs.finalPackage.doCheck ''
34 # The relative location of LD_PRELOAD works for Glibc but not for other loaders (e.g. pkgsMusl)
35 substituteInPlace tests/meson.build \
36 --replace "LD_PRELOAD=libumockdev-preload.so.0" "LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so.0"