infrastructure/machines/nixos/vault01/k-radius/packages/01-python_path.patch

14 lines
675 B
Diff
Raw Normal View History

2024-04-08 22:42:59 +02:00
diff --git a/mods-available/python3 b/mods-available/python3
2023-12-03 17:35:07 +01:00
index 978536f8a..90c71fca0 100644
2024-04-08 22:42:59 +02:00
--- a/mods-available/python3
+++ b/mods-available/python3
2023-12-03 17:35:07 +01:00
@@ -13,7 +13,7 @@ python3 {
# item is GLOBAL TO THE SERVER. That is, you cannot have two
# instances of the python module, each with a different path.
#
- python_path="/usr/lib64/python3.8:/usr/lib/python3.8:/usr/lib/python3.8/site-packages:/usr/lib64/python3.8/site-packages:/usr/lib64/python3.8/lib-dynload:/usr/local/lib/python3.8/site-packages:/etc/raddb/mods-config/python3/"
2024-04-08 22:42:59 +02:00
+ python_path="@pythonPath@:/etc/raddb/mods-config/python3/"
2023-12-03 17:35:07 +01:00
module = "kanidm.radius"
# python_path = ${modconfdir}/${.:name}