haskellPackages.spreadsheet: Add executableHaskellDepends for examples

This commit is contained in:
maralorn 2023-04-22 22:38:06 +02:00
parent 32a7217281
commit 10a9250425

View File

@ -181,7 +181,9 @@ self: super: builtins.intersectAttrs super {
executableHaskellDepends = [self.optparse-applicative self.soxlib];
}) super.audacity);
med-module = enableCabalFlag "buildExamples" super.med-module;
spreadsheet = enableCabalFlag "buildExamples" super.spreadsheet;
spreadsheet = enableCabalFlag "buildExamples" (overrideCabal (drv: {
executableHaskellDepends = [self.optparse-applicative self.shell-utility];
}) super.spreadsheet);
# fix errors caused by hardening flags
epanet-haskell = disableHardening ["format"] super.epanet-haskell;