Excise c2hs references

`cabal` seems to want to download a newer c2hs than what is available on path at
the current nixpkgs pin, and I haven't been able to figure out how to force it
to do otherwise (open to suggestions).

For now, we just cabal slurp it from Hackage rather than using the nixpkgs
version. /shrug
This commit is contained in:
Joel Stanley 2021-06-29 10:48:08 -05:00
parent b7c0b7552b
commit c76656f9c4
No known key found for this signature in database
GPG Key ID: F368244CDC80C97F

View File

@ -126,12 +126,6 @@ let
buildDepends = [
pkgsNew.makeWrapper
# Give our nix-shell its own cabal so we don't pick up one
# from the user's environment by accident.
haskellPackagesNew.cabal-install
# And likewise for c2hs
haskellPackagesNew.c2hs
];
patches = [ tests/tests.patch ];
@ -186,7 +180,6 @@ let
nativeBuildInputs = [
(with pkgsNew.haskellPackages; [
cabal-install
c2hs
(ghcWithPackages (pkgs: with pkgs; [
grpc-haskell-core
# No need to guard nix-shell entry on passing package tests