All overrides necessary to get to the rel8 build plan
commit4d24729bd9b0ba735dc1985cf0f811a1031a2cab
authorOllie Charles <ollie@ocharles.org.uk>
dateFri 2 Apr 2021, 18:34 (6 years ago)
parent59e34f6
cabal.project.haskell-nixnew file+10
@@ -0,0 +1,10 @@
1+-- Haskell.nix overrides. We don't put these in cabal.project, because Cabal
2+-- will interpret them as local packages, and try to build them when we cabal
3+-- build. The only reason we have to specify these is for Haskell.nix to know to
4+-- override these packages by fetching them rather than using Hackage.
5+
6+source-repository-package
7+ type: git
8+ location: git://github.com/galenhuntington/data-serializer
9+ tag: 070d681f97b705f47716e13b646512140524f940
10+ --sha256: 198g99ksglnc7c45sjm2xyay1m6hfj4afkp3sksdss5w5abp543f
default.nix+2
@@ -13,6 +13,8 @@ in
1313pkgs.haskell-nix.project {
1414 inherit compiler-nix-name;
1515
16+ cabalProjectLocal = builtins.readFile ./cabal.project.haskell-nix;
17+
1618 src = pkgs.haskell-nix.haskellLib.cleanGit {
1719 name = "rel8";
1820 src = ./.;
shell.nix+1−1
@@ -5,7 +5,7 @@ let
55in
66 hsPkgs.shellFor {
77 withHoogle = true;
8− tools = { cabal = "3.2.0.0"; haskell-language-server = "latest"; };
8+ tools = { cabal = "latest"; };
99 exactDeps = false;
1010 buildInputs = [ pkgs.postgresql pkgs.pythonPackages.sphinx ];
1111 }