File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 30
30
{ _file = "haskell.nix/overlays/hackage-quirks.nix#${ n } " ; } //
31
31
lib . mkIf ( n == config . name ) v ) {
32
32
33
+ # See https://github.com/input-output-hk/haskell.nix/issues/2277
34
+ hoogle = {
35
+ cabalProject = ''
36
+ packages: .
37
+ constraints: data-default-class >=0.2.0.0
38
+ '' ;
39
+ } ;
40
+
33
41
lsp-test = {
34
42
cabalProject = ''
35
43
packages: .
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ in recurseIntoAttrs {
33
33
test-shell = ( project . shellFor {
34
34
tools = {
35
35
cabal = { cabalProjectLocal = builtins . readFile ../cabal.project.local ; } ;
36
- hoogle = { cabalProjectLocal = builtins . readFile ../cabal.project.local ; index-state = "2024-10-26T00:00:00Z" ; } ;
36
+ hoogle = { cabalProjectLocal = builtins . readFile ../cabal.project.local ; } ;
37
37
} ;
38
38
withHoogle = true ;
39
39
} ) . overrideAttrs ( _ : _ : {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ repository head.hackage.ghc.haskell.org
24
24
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
25
25
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
26
26
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
27
- --sha256: sha256-3sLKfBBTFmzRWgGpPcNBaMZ9HXw6xTIzlKvopQxA2LM =
27
+ --sha256: sha256-kFayk9sOpeopLOXQG8yyTqRwEBLKsQOR+6efzbm6YxE =
28
28
29
29
repository ghcjs-overlay
30
30
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ffb32dce467b9a4d27be759fdd2740a6edd09d0b
Original file line number Diff line number Diff line change 10
10
} ;
11
11
12
12
env = project . shellFor {
13
- tools . hoogle = { cabalProjectLocal = builtins . readFile ../cabal.project.local ; index-state = "2024-10-26T00:00:00Z" ; } ;
13
+ tools . hoogle = { cabalProjectLocal = builtins . readFile ../cabal.project.local ; } ;
14
14
withHoogle = true ;
15
15
} ;
16
16
Original file line number Diff line number Diff line change 22
22
# they use a nix-shell --pure. Normally you would BYO cabal-install.
23
23
tools = {
24
24
cabal . cabalProjectLocal = builtins . readFile ../cabal.project.local ;
25
- hoogle . index-state = "2024-10-26T00:00:00Z" ;
26
25
} ;
27
26
exactDeps = true ;
28
27
# Avoid duplicate package issues when runghc looks for packages
36
35
# they use a nix-shell --pure. Normally you would BYO cabal-install.
37
36
tools = {
38
37
cabal . cabalProjectLocal = builtins . readFile ../cabal.project.local ;
39
- hoogle . index-state = "2024-10-26T00:00:00Z" ;
40
38
} ;
41
39
exactDeps = true ;
42
40
# Avoid duplicate package issues when runghc looks for packages
51
49
# they use a nix-shell --pure. Normally you would BYO cabal-install.
52
50
tools = {
53
51
cabal . cabalProjectLocal = builtins . readFile ../cabal.project.local ;
54
- hoogle . index-state = "2024-10-26T00:00:00Z" ;
55
52
} ;
56
53
# Avoid duplicate package issues when runghc looks for packages
57
54
packageSetupDeps = false ;
You can’t perform that action at this time.
0 commit comments