nixpkgs-suyu/pkgs/development/python-modules/nbconvert/templates.patch

12 lines
576 B
Diff

diff --git a/nbconvert/exporters/templateexporter.py b/nbconvert/exporters/templateexporter.py
index 0d540eb1..440f6382 100644
--- a/nbconvert/exporters/templateexporter.py
+++ b/nbconvert/exporters/templateexporter.py
@@ -616,6 +616,7 @@ class TemplateExporter(Exporter):
if DEV_MODE:
root_dirs.append(os.path.abspath(os.path.join(ROOT, '..', '..', 'share', 'jupyter')))
root_dirs.extend(jupyter_path())
+ root_dirs.append(os.path.join("@out@", "share", "jupyter"))
return root_dirs
def _init_resources(self, resources):