git.iko.soy/typeable/nixpkgs
on master help sign in
Add a 'pandoc' variant to the top-level that has no run-time dependencies on GHC or any other Haskell package.
commitc2b1ff33fec3a02df288c3b749f487f885582f92 authorPeter Simons <simons@cryp.to> dateFri 2 Jan 2015, 14:55 (12 years ago) parent8281ef1
1 file changed+14
pkgs/top-level/all-packages.nix+14
pkgs/top-level/all-packages.nix+14
@@ -2061,6 +2061,20 @@ let
20612061
20622062 pal = callPackage ../tools/misc/pal { };
20632063
2064+ pandoc = with haskellPackages; pandoc.override {
2065+ cabal = cabal.override {
2066+ extension = self: super: {
2067+ configureFlags = super.configureFlags or "" + " -fembed_data_files";
2068+ buildTools = super.buildTools or [] ++ [hsb2hs];
2069+ enableSharedExecutables = false;
2070+ enableSharedLibraries = false;
2071+ isLibrary = false;
2072+ noHaddock = true;
2073+ postFixup = "rm -rf $out/lib $out/nix-support $out/share";
2074+ };
2075+ };
2076+ };
2077+
20642078 panomatic = callPackage ../tools/graphics/panomatic { };
20652079
20662080 par2cmdline = callPackage ../tools/networking/par2cmdline { };