···6677in
88 (haskell.lib.compose.overrideCabal (drv: {
99+ # pandoc-cli's pandoc executable report the libraries version via --version, match that,
1010+ inherit (static.scope.pandoc) version;
1111+ # but prevent haskellPackages.mkDerivation from recomputing the src tarball based on that.
1212+ inherit (static) src;
1313+ # Make it possible to recover the cli version if necessary.
1414+ passthru = drv.passthru or {} // {
1515+ cliVersion = static.version;
1616+ };
1717+918 configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
1019 buildDepends = drv.buildDepends or [] ++ [haskellPackages.file-embed];
1120 buildTools = (drv.buildTools or []) ++ [ removeReferencesTo ];