File tree Expand file tree Collapse file tree 4 files changed +28
-12
lines changed
Expand file tree Collapse file tree 4 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 2424 "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2525 },
2626 "nixpkgs" : {
27- "branch" : " nixos-20.09 " ,
27+ "branch" : " nixos-23.05 " ,
2828 "description" : " Nix Packages collection" ,
2929 "homepage" : null ,
3030 "owner" : " nixos" ,
3131 "repo" : " nixpkgs" ,
32- "rev" : " 1c1f5649bb9c1b0d98637c8c365228f57126f361 " ,
33- "sha256" : " 0f2nvdijyxfgl5kwyb4465pppd5vkhqxddx6v40k2s0z9jfhj0xl " ,
32+ "rev" : " e11142026e2cef35ea52c9205703823df225c947 " ,
33+ "sha256" : " 1w5bp7vv56878g4zzykgbcvqib40dwg4fn9mxrwlg6gc8gdjimfx " ,
3434 "type" : " tarball" ,
35- "url" : " https://github.com/nixos/nixpkgs/archive/1c1f5649bb9c1b0d98637c8c365228f57126f361 .tar.gz" ,
35+ "url" : " https://github.com/nixos/nixpkgs/archive/e11142026e2cef35ea52c9205703823df225c947 .tar.gz" ,
3636 "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737 }
3838}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ library
2121 build-depends :
2222 aeson
2323 , base >= 4.14 && < 4.17 || ^>= 4.17
24+ , base-compat
2425 , bifunctors
2526 , bytestring
2627 , case-insensitive
Original file line number Diff line number Diff line change 11let
22 sources = import ./nix/sources.nix ;
3- pkgs = import sources . nixpkgs { overlays = [ ] ; } ;
3+
44 hsPkgs = import ./default.nix ;
5+
6+ haskellNix = import sources . "haskell.nix" { } ;
7+ nixpkgsSrc = haskellNix . sources . nixpkgs-unstable ;
8+ nixpkgsArgs = haskellNix . nixpkgsArgs ;
9+ compiler-nix-name = "ghc943" ;
10+
11+ haskell-nix = ( import nixpkgsSrc nixpkgsArgs ) . haskell-nix ;
12+
13+ ch-hs-imports =
14+ let
15+ project = haskell-nix . project {
16+ src = sources . ch-hs-imports ;
17+ inherit compiler-nix-name ;
18+ } ;
19+ in
20+ project . hsPkgs . ch-hs-imports . components . exes . ch-hs-imports ;
21+
22+ pkgs = import sources . nixpkgs { overlays = [ ] ; } ;
523in
624hsPkgs . shellFor {
725 withHoogle = false ;
8- tools = { cabal = "latest" ; } ;
26+ tools = { cabal = "latest" ; fourmolu = "latest" ; cabal-fmt = "latest" ; } ;
927 exactDeps = false ;
10- buildInputs = [ pkgs . postgresql pkgs . pythonPackages . sphinx ] ;
28+ buildInputs = [ pkgs . nixpkgs-fmt pkgs . postgresql pkgs . treefmt ] ;
1129}
Original file line number Diff line number Diff line change 1313module Rel8.Table.Rel8able (
1414 )
1515where
16-
17-
18- -- base
19- #if __GLASGOW_HASKELL__ >= 904
16+
2017-- base
21- import Data.Type.Equality ( type ( ~ ))
18+ import Data.Type.Equality.Compat
2219import Prelude ()
2320
2421-- rel8
You can’t perform that action at this time.
0 commit comments