on master help sign in
All overrides necessary to get to the rel8 build plan
4d24729Ollie Charles
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
13pkgs.haskell-nix.project {
13pkgs.haskell-nix.project {
14 inherit compiler-nix-name;
14 inherit compiler-nix-name;
15
15
16+ cabalProjectLocal = builtins.readFile ./cabal.project.haskell-nix;
17+
16 src = pkgs.haskell-nix.haskellLib.cleanGit {
18 src = pkgs.haskell-nix.haskellLib.cleanGit {
17 name = "rel8";
19 name = "rel8";
18 src = ./.;
20 src = ./.;
shell.nix+1−1
@@ -5,7 +5,7 @@ let
5in
5in
6 hsPkgs.shellFor {
6 hsPkgs.shellFor {
7 withHoogle = true;
7 withHoogle = true;
8− tools = { cabal = "3.2.0.0"; haskell-language-server = "latest"; };
8+ tools = { cabal = "latest"; };
9 exactDeps = false;
9 exactDeps = false;
10 buildInputs = [ pkgs.postgresql pkgs.pythonPackages.sphinx ];
10 buildInputs = [ pkgs.postgresql pkgs.pythonPackages.sphinx ];
11 }
11 }