summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-8.0.29-override-distro.patch
blob: 01e7273ee17b1bed341135fb931f92047d3efc8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Does not recognize gentoo and returns None when a string is expected, crashing python.

diff '--color=auto' -ur a/bazel/utils.bzl b/bazel/utils.bzl
--- a/bazel/utils.bzl	2026-06-16 10:16:56.000000000 -0400
+++ b/bazel/utils.bzl	2026-07-20 13:18:08.467049231 -0400
@@ -127,6 +127,8 @@
     return distro, arch, substitutions
 
 def get_host_distro_major_version(repository_ctx):
+    # Override: Always return gentoo regardless
+    return "gentoo"
     _DISTRO_PATTERN_MAP = {
         "Ubuntu 18*": "ubuntu18",
         "Ubuntu 20*": "ubuntu20",