Skip to content

Commit a91327e

Browse files
wolfgangwaltherlaurenceisla
authored andcommitted
nix: pin hsie at GHC 9.4
This needs more involved changes in the hsie source code, which can be deferred to later.
1 parent 10e1162 commit a91327e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

default.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ rec {
104104

105105
# Tooling for analyzing Haskell imports and exports.
106106
hsie =
107-
pkgs.callPackage nix/hsie {
108-
inherit (pkgs.haskell.packages."${compiler}") ghcWithPackages;
109-
};
107+
pkgs.callPackage nix/hsie { };
110108

111109
### Tools
112110

nix/hsie/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ ghcWithPackages
1+
{ haskell
22
, runCommand
33
}:
44
let
@@ -14,7 +14,7 @@ let
1414
ps.ghc-paths
1515
ps.optparse-applicative
1616
];
17-
ghc = ghcWithPackages modules;
17+
ghc = haskell.packages.ghc94.ghcWithPackages modules;
1818
hsie =
1919
runCommand "haskellimports" { inherit name src; }
2020
''

0 commit comments

Comments
 (0)