Skip to content

Commit 557ac7f

Browse files
authored
Merge pull request #1 from circuithub/wip/fix-path
Fix hoogle module reference when pkgs.path isn't a Path
2 parents 5b61481 + 4a3004b commit 557ac7f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

builder/default.nix

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ let
5959

6060

6161
hoogleLocal = let
62-
# Use hoogle.nix from at least nixpkgs 22.05
63-
nixpkgs = if lib.versionAtLeast lib.trivial.release "22.05"
64-
then pkgs.path
65-
else pkgs.haskell-nix.sources.nixpkgs-2205;
66-
nixpkgsHoogle = import (nixpkgs + /pkgs/development/haskell-modules/hoogle.nix);
62+
nixpkgsHoogle = import "${pkgs.path}/pkgs/development/haskell-modules/hoogle.nix";
6763
in { packages ? [], hoogle }:
6864
let
6965
haskellPackages = {

0 commit comments

Comments
 (0)