pandoc: adapt postInstall hook to embedded-data-files build

This commit is contained in:
Peter Simons 2018-11-28 12:11:49 +01:00
parent 790e31279d
commit b38bfe18c7

View File

@ -4680,6 +4680,10 @@ with pkgs;
pandoc = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.pandoc) (drv: {
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
buildDepends = drv.buildDepends or [] ++ [haskellPackages.file-embed];
postInstall = ''
mkdir -p $out/share/man/man1
cp man/pandoc.1 $out/share/man/man1/
'';
});
pamtester = callPackage ../tools/security/pamtester { };