treewide: bump platforms to 0.0.11

This contains our upstreamed uefi platform patch.

Change-Id: I049f6932af30fb87671fb83da215c9e0ae6f97b3
Reviewed-on: https://review.monogon.dev/c/monogon/+/3820
Tested-by: Jenkins CI
Reviewed-by: Jan Schär <jan@monogon.tech>
diff --git a/MODULE.bazel b/MODULE.bazel
index 5785e25..9cdc1b8 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -8,16 +8,7 @@
 # NOTE: When editing this file, also update the lockfile.
 #   bazel mod deps --lockfile_mode=update
 
-bazel_dep(name = "platforms")
-single_version_override(
-    module_name = "platforms",
-    patch_strip = 1,
-    patches = [
-        "//third_party:platforms-add-uefi.patch",
-    ],
-    version = "0.0.10",
-)
-
+bazel_dep(name = "platforms", version = "0.0.11")
 bazel_dep(name = "rules_go", repo_name = "io_bazel_rules_go")
 single_version_override(
     module_name = "rules_go",
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
index a0c88b5..2191eac 100644
--- a/MODULE.bazel.lock
+++ b/MODULE.bazel.lock
@@ -55,7 +55,14 @@
     "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d",
     "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902",
     "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5",
-    "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5",
+    "https://bcr.bazel.build/modules/platforms/0.0.11/MODULE.bazel": "0daefc49732e227caa8bfa834d65dc52e8cc18a2faf80df25e8caea151a9413f",
+    "https://bcr.bazel.build/modules/platforms/0.0.11/source.json": "f7e188b79ebedebfe75e9e1d098b8845226c7992b307e28e1496f23112e8fc29",
+    "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee",
+    "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37",
+    "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615",
+    "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814",
+    "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d",
+    "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc",
     "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7",
     "https://bcr.bazel.build/modules/protobuf/23.1/MODULE.bazel": "88b393b3eb4101d18129e5db51847cd40a5517a53e81216144a8c32dfeeca52a",
     "https://bcr.bazel.build/modules/protobuf/24.4/MODULE.bazel": "7bc7ce5f2abf36b3b7b7c8218d3acdebb9426aeb35c2257c96445756f970eb12",
@@ -351,23 +358,6 @@
         ]
       }
     },
-    "@@platforms//host:extension.bzl%host_platform": {
-      "general": {
-        "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=",
-        "usagesDigest": "PNIg+Wlsjl7WOoNE7xhBUAccU0B6daTi2veJFUiIga0=",
-        "recordedFileInputs": {},
-        "recordedDirentsInputs": {},
-        "envVariables": {},
-        "generatedRepoSpecs": {
-          "host_platform": {
-            "bzlFile": "@@platforms//host:extension.bzl",
-            "ruleClassName": "host_platform_repo",
-            "attributes": {}
-          }
-        },
-        "recordedRepoMappingEntries": []
-      }
-    },
     "@@pybind11_bazel~//:python_configure.bzl%extension": {
       "general": {
         "bzlTransitiveDigest": "whINYge95GgPtysKDbNHQ0ZlWYdtKybHs5y2tLF+x7Q=",
diff --git a/third_party/platforms-add-uefi.patch b/third_party/platforms-add-uefi.patch
deleted file mode 100644
index c8ddb9d..0000000
--- a/third_party/platforms-add-uefi.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 8ea54f72ba3cc8a76fec436d0ce61433a01791cb Mon Sep 17 00:00:00 2001
-From: Lorenz Brun <lorenz@monogon.tech>
-Date: Tue, 29 Aug 2023 18:45:54 +0200
-Subject: [PATCH] Add UEFI OS
-
----
- os/BUILD | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/os/BUILD b/os/BUILD
-index 1d9fedb..d68f485 100644
---- a/os/BUILD
-+++ b/os/BUILD
-@@ -116,3 +116,8 @@ constraint_value(
-     name = "chromiumos",
-     constraint_setting = ":os",
- )
-+
-+constraint_value(
-+    name = "uefi",
-+    constraint_setting = ":os",
-+)
--- 
-2.41.0
-