All overrides necessary to get to the rel8 build plan

This commit is contained in:
Ollie Charles 2021-04-02 18:34:04 +01:00
parent 59e34f6275
commit 4d24729bd9
3 changed files with 13 additions and 1 deletions

10
cabal.project.haskell-nix Normal file
View File

@ -0,0 +1,10 @@
-- Haskell.nix overrides. We don't put these in cabal.project, because Cabal
-- will interpret them as local packages, and try to build them when we cabal
-- build. The only reason we have to specify these is for Haskell.nix to know to
-- override these packages by fetching them rather than using Hackage.
source-repository-package
type: git
location: git://github.com/galenhuntington/data-serializer
tag: 070d681f97b705f47716e13b646512140524f940
--sha256: 198g99ksglnc7c45sjm2xyay1m6hfj4afkp3sksdss5w5abp543f

View File

@ -13,6 +13,8 @@ in
pkgs.haskell-nix.project {
inherit compiler-nix-name;
cabalProjectLocal = builtins.readFile ./cabal.project.haskell-nix;
src = pkgs.haskell-nix.haskellLib.cleanGit {
name = "rel8";
src = ./.;

View File

@ -5,7 +5,7 @@ let
in
hsPkgs.shellFor {
withHoogle = true;
tools = { cabal = "3.2.0.0"; haskell-language-server = "latest"; };
tools = { cabal = "latest"; };
exactDeps = false;
buildInputs = [ pkgs.postgresql pkgs.pythonPackages.sphinx ];
}