Skip to content

Commit e0e02c8

Browse files
committed
haskellPackages.yaml: build executables
This package doesn't build its executables (json2yaml, yaml2json) by default, see snoyberg/yaml#194.
1 parent 047f31d commit e0e02c8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/development/haskell-modules/configuration-nix.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,14 @@ builtins.intersectAttrs super {
830830
pkgs.z3
831831
] super.crucible-llvm;
832832

833+
# yaml doesn't build its executables (json2yaml, yaml2json) by default:
834+
# https://github.com/snoyberg/yaml/issues/194
835+
yaml = lib.pipe super.yaml [
836+
(disableCabalFlag "no-exe")
837+
enableSeparateBinOutput
838+
(addBuildDepend self.optparse-applicative)
839+
];
840+
833841
# Compile manpages (which are in RST and are compiled with Sphinx).
834842
futhark =
835843
overrideCabal

0 commit comments

Comments
 (0)