haskellPackages.citeproc: enable executable installed to bin output
This commit is contained in:
parent
94da83f419
commit
6451493ab5
3 changed files with 17 additions and 0 deletions
|
@ -416,6 +416,7 @@ package-maintainers:
|
|||
- rel8
|
||||
- regex-rure
|
||||
- jacinda
|
||||
- citeproc
|
||||
# owothia
|
||||
- irc-client
|
||||
- chatter
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
# If you have an override of this kind, see configuration-common.nix instead.
|
||||
{ pkgs, haskellLib }:
|
||||
|
||||
let
|
||||
inherit (pkgs) lib;
|
||||
in
|
||||
|
||||
with haskellLib;
|
||||
|
||||
# All of the overrides in this set should look like:
|
||||
|
@ -788,6 +792,16 @@ self: super: builtins.intersectAttrs super {
|
|||
# Tests access internet
|
||||
prune-juice = dontCheck super.prune-juice;
|
||||
|
||||
citeproc = lib.pipe super.citeproc [
|
||||
enableSeparateBinOutput
|
||||
# Enable executable being built and add missing dependencies
|
||||
(enableCabalFlag "executable")
|
||||
(addBuildDepends [ self.aeson-pretty ])
|
||||
# TODO(@sternenseemann): we may want to enable that for improved performance
|
||||
# Is correctness good enough since 0.5?
|
||||
(disableCabalFlag "icu")
|
||||
];
|
||||
|
||||
# based on https://github.com/gibiansky/IHaskell/blob/aafeabef786154d81ab7d9d1882bbcd06fc8c6c4/release.nix
|
||||
ihaskell = overrideCabal (drv: {
|
||||
# ihaskell's cabal file forces building a shared executable, which we need
|
||||
|
|
|
@ -58840,6 +58840,7 @@ self: {
|
|||
];
|
||||
description = "Generates citations and bibliography from CSL styles";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
}) {};
|
||||
|
||||
"citeproc_0_8_0_2" = callPackage
|
||||
|
@ -58867,6 +58868,7 @@ self: {
|
|||
description = "Generates citations and bibliography from CSL styles";
|
||||
license = lib.licenses.bsd2;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
}) {};
|
||||
|
||||
"citeproc-hs" = callPackage
|
||||
|
|
Loading…
Reference in a new issue