File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,12 @@ dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc:
126
126
} // pkgs . lib . optionalAttrs runTests {
127
127
inherit ( build ) tests tools maintainer-scripts maintainer-script-cache ;
128
128
} // pkgs . lib . optionalAttrs ( ifdLevel >= 3 ) rec {
129
- hello = ( pkgs . haskell-nix . hackage-package { name = "hello" ; version = "1.0.0.2" ; inherit evalPackages compiler-nix-name ; } ) . getComponent "exe:hello" ;
129
+ hello = ( pkgs . haskell-nix . hackage-package ( { name = "hello" ; version = "1.0.0.2" ; inherit evalPackages compiler-nix-name ; }
130
+ // lib . optionalAttrs ( builtins . compareVersions pkgs . buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . version "9.13" >= 0 ) {
131
+ shell . tools . hoogle . cabalProjectLocal = ''
132
+ allow-newer: *:*
133
+ '' ;
134
+ } ) ) . getComponent "exe:hello" ;
130
135
# Make sure the default shell tools (hoogle) are built
131
136
simple-shell = ( hello . project . flake { } ) . devShells . default ;
132
137
} ) ;
You can’t perform that action at this time.
0 commit comments