Merge branch 'haskell-fixes' into haskell-updates

This commit is contained in:
maralorn 2023-10-29 19:09:22 +01:00
commit 9ebbc5f765
No known key found for this signature in database
3 changed files with 30 additions and 0 deletions

View File

@ -383,6 +383,11 @@ package-maintainers:
- taffybar
- arbtt
- lentil
sheepforce:
- mpi-hs
- mpi-hs-store
- mpi-hs-cereal
- mpi-hs-binary
shlok:
- streamly-archive
- streamly-lmdb

View File

@ -1342,4 +1342,24 @@ self: super: builtins.intersectAttrs super {
gi-webkit2
gi-webkit2webextension
;
# Makes the mpi-hs package respect the choice of mpi implementation in Nixpkgs.
# Also adds required test dependencies for checks to pass
mpi-hs =
let validMpi = [ "openmpi" "mpich" "mvapich" ];
mpiImpl = pkgs.mpi.pname;
disableUnused = with builtins; map disableCabalFlag (filter (n: n != mpiImpl) validMpi);
in lib.pipe
(super.mpi-hs_0_7_3_0.override { ompi = pkgs.mpi; })
( [ (addTestToolDepends [ pkgs.openssh pkgs.mpiCheckPhaseHook ]) ]
++ disableUnused
++ lib.optional (builtins.elem mpiImpl validMpi) (enableCabalFlag mpiImpl)
);
inherit (lib.mapAttrs (_: addTestToolDepends
[ pkgs.openssh pkgs.mpiCheckPhaseHook ]
) super)
mpi-hs-store
mpi-hs-cereal
mpi-hs-binary
;
}

View File

@ -205960,6 +205960,7 @@ self: {
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
maintainers = [ lib.maintainers.sheepforce ];
}) {inherit (pkgs) mpich;};
"mpi-hs_0_7_3_0" = callPackage
@ -205981,6 +205982,7 @@ self: {
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
maintainers = [ lib.maintainers.sheepforce ];
}) {ompi = null;};
"mpi-hs-binary" = callPackage
@ -205999,6 +206001,7 @@ self: {
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
maintainers = [ lib.maintainers.sheepforce ];
}) {};
"mpi-hs-cereal" = callPackage
@ -206017,6 +206020,7 @@ self: {
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
maintainers = [ lib.maintainers.sheepforce ];
}) {};
"mpi-hs-store" = callPackage
@ -206035,6 +206039,7 @@ self: {
description = "MPI bindings for Haskell";
license = lib.licenses.asl20;
badPlatforms = [ "aarch64-linux" ] ++ lib.platforms.darwin;
maintainers = [ lib.maintainers.sheepforce ];
}) {};
"mplayer-spot" = callPackage