1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/nbconvert/templates.patch

13 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):