aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dotnetcore2/runtime.patch
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-08-30 12:39:47 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-09-24 12:39:41 -0700
commit40318362ebe957624c6d7dc02760c3719cebfecc (patch)
tree1bd130278bec6b977351f1621b9ac92ed4c6a166 /pkgs/development/python-modules/dotnetcore2/runtime.patch
parenta7bf8161fa834a602278c15fcbdd955656b3aed8 (diff)
python3Packages.dotnetcore2: init at 2.1.8.1
Diffstat (limited to '')
-rw-r--r--pkgs/development/python-modules/dotnetcore2/runtime.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dotnetcore2/runtime.patch b/pkgs/development/python-modules/dotnetcore2/runtime.patch
new file mode 100644
index 00000000000..54322087a78
--- /dev/null
+++ b/pkgs/development/python-modules/dotnetcore2/runtime.patch
@@ -0,0 +1,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')