about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2015-07-25 14:12:27 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-07-28 22:00:56 +0200
commit67757f52b18c70d84b871669633c7b204bce2e24 (patch)
tree92d20a01b562591f13fc96b7c03382341826f515
parent0770a49d8ca9f4639a394eb2bfd302b4d5ee981e (diff)
downloadnixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar.gz
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar.bz2
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar.lz
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar.xz
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.tar.zst
nixlib-67757f52b18c70d84b871669633c7b204bce2e24.zip
asciidoc-full-with-plugins: new top-level attribute
Previously you had to write the override yourself, now it is
conveniently available in all-packages.nix for use in "nix-env" etc.

The list of plugins are currently hardcoded:
  ditaa, mscgen, qrcode, matplotlib, aafigure, deckjs, odf
-rw-r--r--pkgs/top-level/all-packages.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1072b6f3b30d..54cedb67699d 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -964,6 +964,12 @@ let
     enableStandardFeatures = true;
   });
 
+  asciidoc-full-with-plugins = appendToName "full-with-plugins" (asciidoc.override {
+    inherit (pythonPackages) pygments;
+    enableStandardFeatures = true;
+    enableExtraPlugins = true;
+  });
+
   autossh = callPackage ../tools/networking/autossh { };
 
   asynk = callPackage ../tools/networking/asynk { };