From 9136a4946103d408c18c3fc4b41ad06437b66fcd Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 29 Jul 2025 14:11:48 +0200 Subject: [PATCH] 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") --- pkgs/by-name/li/libpthread-stubs/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libpthread-stubs/package.nix b/pkgs/by-name/li/libpthread-stubs/package.nix index 8ad5577de7b6..c55a3fb36b3b 100644 --- a/pkgs/by-name/li/libpthread-stubs/package.nix +++ b/pkgs/by-name/li/libpthread-stubs/package.nix @@ -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; }; })