File tree Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 11index-state : 2024-03-28T00:00 :00Z
22
3- with-compiler : ghc-9.2.8
4-
53packages : nix-tools
64
75-- haskell.nix expects nix-tools to provide the cabal and hpack executables
86-- so we put these two packages here, so they will be present even if nix-tools
97-- dependencies change
10- extra-packages : cabal-install, hpack
8+ extra-packages : cabal-install, hpack, Cabal-syntax-json
119
1210test-show-details : direct
1311
@@ -29,3 +27,9 @@ source-repository-package
2927 location : https://github.com/michaelpj/hackage-db.git
3028 tag : f3b9240212b036391871e4ea09891e91efcea7a1
3129 --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
2929 , Stack2nix.External.Resolve
3030 , Stack2nix.Project
3131 , Stack2nix.Stack
32- build-depends : base >= 4 && < 4.18
32+ build-depends : base >= 4 && < 4.20
3333 , Cabal >= 3.10.3 && < 3.11
3434 , Cabal-syntax >= 3.10 && < 3.11
3535 , aeson >= 2.0 && < 2.3
@@ -46,7 +46,7 @@ library
4646-- Needs https://github.com/input-output-hk/iohk-nix/commit/6a8c29117eff36ce975e02e01efc8b25d93fcb90#diff-6fb0c6517b547a8baf082d5d2d604842
4747-- to work with the data-dir issues when building components.
4848-- This commit is included since 0.6.5.
49- , hnix >= 0.6.5 && < 0.17
49+ , hnix >= 0.6.5 && < 0.18
5050 , hpack
5151 , http-client
5252 , http-client-tls
Original file line number Diff line number Diff line change 11final : _prev :
22
33let
4- compiler-nix-name = "ghc8107 " ;
4+ compiler-nix-name = "ghc964 " ;
55
66 nix-tools = nix-tools-set {
77 nix-tools = nix-tools-unchecked ;
1818 src = ./. ;
1919
2020 compiler-nix-name = final . lib . mkDefault compiler-nix-name ;
21- compilerSelection = p : p . haskell . compiler ;
21+ # compilerSelection = p: p.haskell.compiler;
2222
2323 # tests need to fetch hackage
2424 configureArgs = final . lib . mkDefault "--disable-tests" ;
5454
5555 inherit ( project . hsPkgs . hpack . components . exes )
5656 hpack ;
57+
58+ inherit ( project . hsPkgs . Cabal-syntax-json . components . exes )
59+ cabal2json ;
5760 } ;
5861
5962 warning = final . lib . mapAttrs
Original file line number Diff line number Diff line change 4040 plan-to-nix . dontStrip = false ;
4141 stack-repos . dontStrip = false ;
4242 } ;
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 ;
4346 } ;
4447
4548
5861
5962 static-nix-tools-project = pkgs . haskell-nix . project' {
6063
61- compiler-nix-name = "ghc928 " ;
64+ compiler-nix-name = "ghc964 " ;
6265
6366 src = ../. ;
6467
Original file line number Diff line number Diff line change 3535 drvs' = [
3636 hsPkgs . cabal-install . components . exes . cabal
3737 hsPkgs . hpack . components . exes . hpack
38+ hsPkgs . Cabal-syntax-json . components . exes . cabal2json
3839 ] ++ strippedNixToolsComponents ;
3940 } ;
4041
You can’t perform that action at this time.
0 commit comments