Skip to content

Commit 6c6bc0f

Browse files
committed
nix: move implicit-hie-cradle as a flake input
1 parent daf7492 commit 6c6bc0f

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

flake.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
url = "https://hackage.haskell.org/package/hlint-3.3.6/hlint-3.3.6.tar.gz";
5656
flake = false;
5757
};
58+
implicit-hie-cradle = {
59+
url = "https://hackage.haskell.org/package/implicit-hie-cradle-0.3.0.5/implicit-hie-cradle-0.3.0.5.tar.gz";
60+
flake = false;
61+
};
5862
};
5963
outputs =
6064
inputs@{ self, nixpkgs, flake-compat, flake-utils, pre-commit-hooks, gitignore, ... }:
@@ -113,11 +117,7 @@
113117
lsp-types = hsuper.callCabal2nix "lsp-types" inputs.lsp-types {};
114118
lsp-test = hsuper.callCabal2nix "lsp-test" inputs.lsp-test {};
115119

116-
implicit-hie-cradle = hself.callCabal2nix "implicit-hie-cradle"
117-
(builtins.fetchTarball {
118-
url = "https://hackage.haskell.org/package/implicit-hie-cradle-0.3.0.5/implicit-hie-cradle-0.3.0.5.tar.gz";
119-
sha256 = "15a7g9x6cjk2b92hb2wilxx4550msxp1pmk5a2shiva821qaxnfq";
120-
}) { };
120+
implicit-hie-cradle = hself.callCabal2nix "implicit-hie-cradle" inputs.implicit-hie-cradle {};
121121

122122
# https://github.com/NixOS/nixpkgs/issues/140774
123123
ormolu =

0 commit comments

Comments
 (0)