mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
14 lines
530 B
Diff
14 lines
530 B
Diff
diff --git a/eduvpn/utils.py b/eduvpn/utils.py
|
|
index db0bf0c..76fc52a 100644
|
|
--- a/eduvpn/utils.py
|
|
+++ b/eduvpn/utils.py
|
|
@@ -69,7 +69,7 @@ def get_prefix() -> str:
|
|
"""
|
|
target = "share/eduvpn/builder/mainwindow.ui"
|
|
local = path.dirname(path.dirname(path.abspath(__file__)))
|
|
- options = [local, path.expanduser("~/.local"), "/usr/local", prefix]
|
|
+ options = ["@out@"]
|
|
for option in options:
|
|
logger.debug(f"looking for '{target}' in '{option}'")
|
|
if path.isfile(path.join(option, target)):
|