libpthread-stubs: set platforms back to unix

I think this was changed from platforms.unix due to a misunderstanding
of what the README says.  The list in the README is of platforms where
the .pc file installed by this package will have one behaviour.  On
other Unix platforms, it will have a different behaviour, but it's
still supported.  Restoring platforms.unix fixes building a number of
packages for FreeBSD.

Fixes: 4cc23fda05f8 ("libpthread-stubs: refactored, moved to pkgs/by-name and renamed from xorg.libpthreadstubs")
This commit is contained in:
Alyssa Ross 2025-07-29 14:11:48 +02:00
parent 9b3cfad837
commit 9136a49461

View File

@ -37,7 +37,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.x11;
maintainers = [ ];
pkgConfigModules = [ "pthread-stubs" ];
# on these platforms according to the readme
platforms = with lib.platforms; linux ++ cygwin ++ darwin ++ [ "x86_64-solaris" ];
platforms = lib.platforms.unix;
};
})