diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 1eea842871fc..0191517aa9ef 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -95,9 +95,6 @@ assert x11Support -> tcl != null assert bluezSupport -> bluez != null; -assert lib.assertMsg (bluezSupport -> stdenv.isLinux) - "Bluez support is only available on Linux."; - assert lib.assertMsg (enableFramework -> stdenv.isDarwin) "Framework builds are only supported on Darwin."; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4bb8cea30827..c8ea2cb637ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17755,43 +17755,43 @@ with pkgs; python3Full = python3.override { self = python3Full; pythonAttr = "python3Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python38Full = python38.override { self = python38Full; pythonAttr = "python38Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python39Full = python39.override { self = python39Full; pythonAttr = "python39Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python310Full = python310.override { self = python310Full; pythonAttr = "python310Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python311Full = python311.override { self = python311Full; pythonAttr = "python311Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python312Full = python312.override { self = python312Full; pythonAttr = "python312Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; }; python313Full = python313.override { self = python313Full; pythonAttr = "python313Full"; - bluezSupport = true; + bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; x11Support = true; };