haskellPackages.daemons: Use more compatible 0.3.0.0 by default

Daemons 0.4.0.0 is not compatible with GHC<9.6, so we have our daemons
point to 0.3.0.0 instead. The current version is still available with
a verison suffix.
This commit is contained in:
Simon Kohlmeyer 2023-11-02 05:00:11 +01:00
parent 3919f9de26
commit 81964a3117
3 changed files with 31 additions and 2 deletions

View File

@ -1027,7 +1027,6 @@ broken-packages:
- cut-the-crap # failure in job https://hydra.nixos.org/build/233238478 at 2023-09-02
- CV # failure in job https://hydra.nixos.org/build/233223571 at 2023-09-02
- d3js # failure in job https://hydra.nixos.org/build/233251474 at 2023-09-02
- daemons # failure in job https://hydra.nixos.org/build/237233422 at 2023-10-21
- dag # failure in job https://hydra.nixos.org/build/233220719 at 2023-09-02
- DAG-Tournament # failure in job https://hydra.nixos.org/build/233218747 at 2023-09-02
- dahdit # failure in job https://hydra.nixos.org/build/233245113 at 2023-09-02

View File

@ -60,6 +60,9 @@ default-package-overrides:
# hls-floskell-plugin 2.4 does not yet support floskell 0.11
- floskell < 0.11
# Newer daemons requires GHC 9.6
- daemons == 0.3.0
extra-packages:
- Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8
- Cabal == 3.2.* # Used for packages needing newer Cabal on ghc 8.6 and 8.8

View File

@ -78536,6 +78536,34 @@ self: {
}) {};
"daemons" = callPackage
({ mkDerivation, base, bytestring, cereal, containers, data-default
, directory, filepath, ghc-prim, HUnit, network, pipes
, test-framework, test-framework-hunit, transformers, unix
}:
mkDerivation {
pname = "daemons";
version = "0.3.0";
sha256 = "05h03qk31lank60cd0ig9h4rf8zl6p4li5smba919lgpm89lyvy3";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring cereal data-default directory filepath ghc-prim
network pipes transformers unix
];
executableHaskellDepends = [
base bytestring cereal containers data-default ghc-prim network
pipes transformers
];
testHaskellDepends = [
base data-default directory ghc-prim HUnit test-framework
test-framework-hunit unix
];
description = "Daemons in Haskell made fun and easy";
license = lib.licenses.gpl3Only;
}) {};
"daemons_0_4_0" = callPackage
({ mkDerivation, base, bytestring, cereal, containers, data-default
, directory, filepath, ghc-prim, HUnit, network, pipes
, test-framework, test-framework-hunit, transformers, unix
@ -78562,7 +78590,6 @@ self: {
description = "Daemons in Haskell made fun and easy";
license = lib.licenses.gpl3Only;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"dag" = callPackage