aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dotnetcore2/runtime.patch
blob: 54322087a7808dc5f46e8e3c621aa794807d97e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff a/dotnetcore2/runtime.py b/dotnetcore2/runtime.py
--- a/dotnetcore2/runtime.py
+++ b/dotnetcore2/runtime.py
@@ -39,13 +39,13 @@ def _get_bin_folder() -> str:
 
 
 def get_runtime_path():
+    return "@dotnet@/dotnet"
     search_string = os.path.join(_get_bin_folder(), 'dotnet*')
     matches = [f for f in glob.glob(search_string, recursive=True)]
     return matches[0]
 
 def ensure_dependencies() -> Optional[str]:
-    if dist is None:
-        return None
+    return None
 
     bin_folder = _get_bin_folder()
     deps_path = os.path.join(bin_folder, 'deps')