ci: fix nix build

This commit is contained in:
Ali Abrar 2021-03-11 21:22:27 -05:00
parent 77d9318359
commit e74a7bbb0f
2 changed files with 17 additions and 6 deletions

View File

@ -1,8 +1,8 @@
{
"owner": "reflex-frp",
"repo": "reflex-platform",
"branch": "aa-bump-some",
"branch": "develop",
"private": false,
"rev": "717b2afbb7530288f8e2d1699cb1033d6f217774",
"sha256": "1n864wgyg8373q6prkqlck4prhjs1djx7l9a8g141caygsaclyjy"
"rev": "f019863c21ee85498e6a6e0072e617b2462b70ed",
"sha256": "146xfjqdwd55s9jg1ggi6akcxxxd5c0pvc4bpjx3whwiikpcv8y4"
}

View File

@ -1,5 +1,16 @@
{ reflex-platform-fun ? import ./reflex-platform
}: {
{ reflex-platform ? import ./reflex-platform {}
}:
let inherit (reflex-platform.nixpkgs.haskell) lib;
ghc = reflex-platform.ghc.override {
overrides = self: super: {
vty = self.callHackage "vty" "5.28" {};
ansi-terminal = self.callHackage "ansi-terminal" "0.10.3" {};
ansi-wl-pprint = self.callHackage "ansi-wl-pprint" "0.6.9" {};
test-framework = lib.doJailbreak super.test-framework;
};
};
in
{
reflex-vty =
(reflex-platform-fun {}).ghc.callCabal2nix "reflex-vty" ./. {};
ghc.callCabal2nix "reflex-vty" ./. {};
}