asciidoc: fixup for matplotlib filter (remove .old/)
The matplotlib filter comes with an .old/ directory which contains a chart-filter.conf file that asciidoc loads. I highly doubt that is intended.
This commit is contained in:
parent
a118a98970
commit
ca591d30e4
|
@ -125,6 +125,8 @@ stdenv.mkDerivation rec {
|
|||
echo "Extracting mpl (matplotlib) filter"
|
||||
mkdir -p "$out/etc/asciidoc/filters/mpl"
|
||||
tar xvf "${matplotlibFilterSrc}" -C "$out/etc/asciidoc/filters/mpl" --strip-components=1
|
||||
# Stop asciidoc from loading mpl/.old/chart-filter.conf
|
||||
rm -rf "$out/etc/asciidoc/filters/mpl/.old"
|
||||
# Add matplotlib and numpy to sys.path
|
||||
matplotlib_path="$(toPythonPath ${matplotlib})"
|
||||
numpy_path="$(toPythonPath ${numpy})"
|
||||
|
|
Loading…
Reference in New Issue