Skip to content

Commit

Permalink
fix: rzk build
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Oct 2, 2023
1 parent 4b8c890 commit 60b419e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,21 @@ let
# https://nixos.wiki/wiki/Haskell#Overrides
hpkgs = pkgs.haskell.packages.${ghcVersion}.override {
overrides = final: prev: {
${rzk} = final.callCabal2nix rzk rzk-src { };
lsp = final.callHackageDirect
{
pkg = "lsp";
ver = "2.2.0.0";
sha256 = "sha256-HcEfdYUrCHufEa+10M2wESjnK41xM/msd+t6r6JwQO0=";
}
{ };
lsp-types = final.callHackageDirect
{
pkg = "lsp-types";
ver = "2.0.2.0";
sha256 = "sha256-Oa5HuKdsdTSQUKtuSt06zVAq19Qxq5IJZObrnPwlB6s=";
}
{ };
${rzk} = final.callCabal2nix rzk rzk-src { inherit (final) lsp lsp-types; };
};
};

Expand Down

0 comments on commit 60b419e

Please sign in to comment.