about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nbconvert/templates.patch
blob: cadaf69a7b84694e217ced6c0b3bb6ab9f2ea6ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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):