File tree 5 files changed +19
-8
lines changed
5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
index-state : 2024-03-28T00:00 :00Z
2
2
3
- with-compiler : ghc-9.2.8
4
-
5
3
packages : nix-tools
6
4
7
5
-- haskell.nix expects nix-tools to provide the cabal and hpack executables
8
6
-- so we put these two packages here, so they will be present even if nix-tools
9
7
-- dependencies change
10
- extra-packages : cabal-install, hpack
8
+ extra-packages : cabal-install, hpack, Cabal-syntax-json
11
9
12
10
test-show-details : direct
13
11
@@ -29,3 +27,9 @@ source-repository-package
29
27
location : https://github.com/michaelpj/hackage-db.git
30
28
tag : f3b9240212b036391871e4ea09891e91efcea7a1
31
29
--sha256 : sha256-n0ATmkwtR68E2FuZK3QIQgZirVmWbd21vIQmzhGKsRw=
30
+
31
+ source-repository-package
32
+ type : git
33
+ location : https://github.com/andreabedini/Cabal-syntax-json.git
34
+ tag : bf97be0038489239a11c61653b55afc77356ac1e
35
+ --sha256 : sha256-i9TEqQqRqFM07q1Lr6wcMlURhBkhkVxHhP1jQjSE+Yg=
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ library
29
29
, Stack2nix.External.Resolve
30
30
, Stack2nix.Project
31
31
, Stack2nix.Stack
32
- build-depends : base >= 4 && < 4.18
32
+ build-depends : base >= 4 && < 4.20
33
33
, Cabal >= 3.10.3 && < 3.11
34
34
, Cabal-syntax >= 3.10 && < 3.11
35
35
, aeson >= 2.0 && < 2.3
@@ -46,7 +46,7 @@ library
46
46
-- Needs https://github.com/input-output-hk/iohk-nix/commit/6a8c29117eff36ce975e02e01efc8b25d93fcb90#diff-6fb0c6517b547a8baf082d5d2d604842
47
47
-- to work with the data-dir issues when building components.
48
48
-- This commit is included since 0.6.5.
49
- , hnix >= 0.6.5 && < 0.17
49
+ , hnix >= 0.6.5 && < 0.18
50
50
, hpack
51
51
, http-client
52
52
, http-client-tls
Original file line number Diff line number Diff line change 1
1
final : _prev :
2
2
3
3
let
4
- compiler-nix-name = "ghc8107 " ;
4
+ compiler-nix-name = "ghc964 " ;
5
5
6
6
nix-tools = nix-tools-set {
7
7
nix-tools = nix-tools-unchecked ;
18
18
src = ./. ;
19
19
20
20
compiler-nix-name = final . lib . mkDefault compiler-nix-name ;
21
- compilerSelection = p : p . haskell . compiler ;
21
+ # compilerSelection = p: p.haskell.compiler;
22
22
23
23
# tests need to fetch hackage
24
24
configureArgs = final . lib . mkDefault "--disable-tests" ;
54
54
55
55
inherit ( project . hsPkgs . hpack . components . exes )
56
56
hpack ;
57
+
58
+ inherit ( project . hsPkgs . Cabal-syntax-json . components . exes )
59
+ cabal2json ;
57
60
} ;
58
61
59
62
warning = final . lib . mapAttrs
Original file line number Diff line number Diff line change 40
40
plan-to-nix . dontStrip = false ;
41
41
stack-repos . dontStrip = false ;
42
42
} ;
43
+ packages . cabal-install . components . exes . cabal . dontStrip = false ;
44
+ packages . hpack . components . exes . hpack . dontStrip = false ;
45
+ packages . Cabal-syntax-json . components . exes . cabal2json . dontStrip = false ;
43
46
} ;
44
47
45
48
58
61
59
62
static-nix-tools-project = pkgs . haskell-nix . project' {
60
63
61
- compiler-nix-name = "ghc928 " ;
64
+ compiler-nix-name = "ghc964 " ;
62
65
63
66
src = ../. ;
64
67
Original file line number Diff line number Diff line change 35
35
drvs' = [
36
36
hsPkgs . cabal-install . components . exes . cabal
37
37
hsPkgs . hpack . components . exes . hpack
38
+ hsPkgs . Cabal-syntax-json . components . exes . cabal2json
38
39
] ++ strippedNixToolsComponents ;
39
40
} ;
40
41
You can’t perform that action at this time.
0 commit comments