Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 646 B view raw
1diff --git a/dotnetcore2/runtime.py b/dotnetcore2/runtime.py 2index 475e2b4..5b578ec 100644 3--- a/dotnetcore2/runtime.py 4+++ b/dotnetcore2/runtime.py 5@@ -41,6 +41,7 @@ def _get_bin_folder() -> str: 6 7 8 def get_runtime_path(): 9+ return "@dotnet@/dotnet" 10 search_string = os.path.join(_get_bin_folder(), 'dotnet*') 11 matches = [f for f in glob.glob(search_string, recursive=True)] 12 return matches[0] 13@@ -96,8 +97,7 @@ class _FileLock(): 14 15 16 def ensure_dependencies() -> Optional[str]: 17- if dist is None: 18- return None 19+ return None 20 21 bin_folder = _get_bin_folder() 22 deps_path = os.path.join(bin_folder, 'deps')