Merge pull request #249970 from sternenseemann/pandoc-version-match-lib

pandoc: use library's version

authored by

maralorn and committed by
GitHub
617c28cf 8ee65b17

+9
+9
pkgs/development/tools/pandoc/default.nix
··· 6 6 7 7 in 8 8 (haskell.lib.compose.overrideCabal (drv: { 9 + # pandoc-cli's pandoc executable report the libraries version via --version, match that, 10 + inherit (static.scope.pandoc) version; 11 + # but prevent haskellPackages.mkDerivation from recomputing the src tarball based on that. 12 + inherit (static) src; 13 + # Make it possible to recover the cli version if necessary. 14 + passthru = drv.passthru or {} // { 15 + cliVersion = static.version; 16 + }; 17 + 9 18 configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"]; 10 19 buildDepends = drv.buildDepends or [] ++ [haskellPackages.file-embed]; 11 20 buildTools = (drv.buildTools or []) ++ [ removeReferencesTo ];