mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
pandoc: switch to haskell-ng package set, which is more up-to-date
This commit is contained in:
parent
9fda93cc5d
commit
3318c403f1
@ -2103,19 +2103,15 @@ let
|
||||
|
||||
pal = callPackage ../tools/misc/pal { };
|
||||
|
||||
pandoc = with haskellPackages; pandoc.override {
|
||||
cabal = cabal.override {
|
||||
extension = self: super: {
|
||||
configureFlags = super.configureFlags or "" + " -fembed_data_files";
|
||||
buildTools = super.buildTools or [] ++ [hsb2hs];
|
||||
enableSharedExecutables = false;
|
||||
enableSharedLibraries = false;
|
||||
isLibrary = false;
|
||||
noHaddock = true;
|
||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share";
|
||||
};
|
||||
};
|
||||
};
|
||||
pandoc = haskell-ng.lib.overrideCabal haskellngPackages.pandoc (drv: {
|
||||
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
|
||||
buildTools = drv.buildTools or [] ++ [haskellngPackages.hsb2hs];
|
||||
enableSharedExecutables = false;
|
||||
enableSharedLibraries = false;
|
||||
isLibrary = false;
|
||||
doHaddock = false;
|
||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share";
|
||||
});
|
||||
|
||||
panomatic = callPackage ../tools/graphics/panomatic { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user