about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2024-01-07 15:29:36 +0100
committerFelix Buehler <account@buehler.rocks>2024-01-25 22:13:17 +0100
commitd35003e302497f6ca002693379559a10159b9547 (patch)
tree0932103eab9089d18d61c3418c263452b28f4ce8 /pkgs/tools/typesetting
parentd3a15f043281e6813e5233bc8bca24c27179bd34 (diff)
downloadnixlib-d35003e302497f6ca002693379559a10159b9547.tar
nixlib-d35003e302497f6ca002693379559a10159b9547.tar.gz
nixlib-d35003e302497f6ca002693379559a10159b9547.tar.bz2
nixlib-d35003e302497f6ca002693379559a10159b9547.tar.lz
nixlib-d35003e302497f6ca002693379559a10159b9547.tar.xz
nixlib-d35003e302497f6ca002693379559a10159b9547.tar.zst
nixlib-d35003e302497f6ca002693379559a10159b9547.zip
python311Packages.recursive-pth-loader: rename from recursivePthLoader
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/asciidoc/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix
index 66afb6302593..69b0ccff68bd 100644
--- a/pkgs/tools/typesetting/asciidoc/default.nix
+++ b/pkgs/tools/typesetting/asciidoc/default.nix
@@ -33,7 +33,7 @@
 , enableDiagFilter ? false, blockdiag, seqdiag, actdiag, nwdiag
 , enableQrcodeFilter ? false, qrencode
 , enableMatplotlibFilter ? false, matplotlib, numpy
-, enableAafigureFilter ? false, aafigure, recursivePthLoader
+, enableAafigureFilter ? false, aafigure, recursive-pth-loader
 # backends
 , enableDeckjsBackend ? false
 , enableOdfBackend ? false
@@ -180,7 +180,7 @@ in python3.pkgs.buildPythonApplication rec {
     echo "Extracting aafigure filter"
     unzip -d "$out/etc/asciidoc/filters/aafigure" "${aafigureFilterSrc}"
     # Add aafigure to sys.path (and it needs recursive-pth-loader)
-    pth_loader_path="$(toPythonPath ${recursivePthLoader})"
+    pth_loader_path="$(toPythonPath ${recursive-pth-loader})"
     aafigure_path="$(toPythonPath ${aafigure})"
     sed -i "/^import.*sys/asys.path.append(\"$pth_loader_path\"); sys.path.append(\"$aafigure_path\"); import sitecustomize" \
         "$out/etc/asciidoc/filters/aafigure/aafig2img.py"