File tree Expand file tree Collapse file tree 6 files changed +19
-30
lines changed Expand file tree Collapse file tree 6 files changed +19
-30
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ index-state : 2020-01-10T00:00 :00Z
2
+
1
3
packages : .
2
4
3
5
-- Needs https://github.com/input-output-hk/iohk-nix/commit/6a8c29117eff36ce975e02e01efc8b25d93fcb90#diff-6fb0c6517b547a8baf082d5d2d604842
@@ -16,4 +18,3 @@ source-repository-package
16
18
location : https://github.com/galenhuntington/haskell-src-meta.git
17
19
tag : 109ee29d5fd0f4e23fdd2f80eb122d66341b64a9
18
20
--sha256 : 08qw6y9br6fy3qkwl9v2kp38msprsq9v1ssym0fsnj2jm0vbnfrx
19
-
Original file line number Diff line number Diff line change
1
+ { haskellNixSrc ? builtins . fetchTarball {
2
+ url = "https://github.com/input-output-hk/haskell.nix/archive/a84e3b55c642e7aec57c9677158cf446d90e9759.tar.gz" ;
3
+ sha256 = "0qnchf0f8d5k6363mcrqv936wz6zljs06bjvg1i6xmkg31bdj48m" ;
4
+ }
5
+ , nixpkgs ? haskellNixSrc + "/nixpkgs"
6
+ , pkgs ? import nixpkgs ( import haskellNixSrc )
7
+ , haskellCompiler ? "ghc865"
8
+ } :
9
+ pkgs . haskell-nix . cabalProject {
10
+ src = pkgs . haskell-nix . haskellLib . cleanGit { src = ./. ; } ;
11
+ ghc = pkgs . haskell-nix . compiler . ${ haskellCompiler } ;
12
+ }
13
+
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ library
29
29
, Stack2nix.Project
30
30
, Stack2nix.Stack
31
31
build-depends : base >= 4 && < 4.13
32
- , Cabal >= 2.4
32
+ , Cabal >= 2.4 && < 3
33
33
, aeson
34
34
, aeson-pretty
35
35
, base16-bytestring
Original file line number Diff line number Diff line change
1
+ { haskellCompiler ? "ghc865" } :
2
+ ( import ./. { inherit haskellCompiler ; } ) . shells . ghc
3
+
You can’t perform that action at this time.
0 commit comments