Build grpc-haskell-core via callCabal2nix

This commit is contained in:
Joel Stanley 2021-06-29 08:50:55 -05:00
parent 1ba20e3d86
commit c92a053981
No known key found for this signature in database
GPG key ID: F368244CDC80C97F

View file

@ -94,9 +94,11 @@ let
grpc-haskell-core =
pkgsNew.haskell.lib.buildFromSdist (pkgsNew.usesGRPC
(pkgsNew.haskell.lib.overrideCabal
(haskellPackagesNew.callPackage ./core { })
(_: { buildDepends = [ haskellPackagesNew.c2hs ]; })));
(haskellPackagesNew.callCabal2nix "grpc-haskell-core" ./core {
gpr = pkgsNew.grpc;
}
)
);
grpc-haskell-no-tests =
pkgsNew.haskell.lib.buildFromSdist (pkgsNew.usesGRPC