pandoc: adapt postInstall hook to embedded-data-files build
This commit is contained in:
parent
790e31279d
commit
b38bfe18c7
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user