Skip to content

Commit d5dbec8

Browse files
lf-cydparser
authored andcommitted
Stop doing an extremely slow fetch of all-cabal-hashes
1 parent 72dc5a1 commit d5dbec8

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

flake.lock

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

flake.nix

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
flake = false;
2020
};
2121

22-
# cabal hashes contains all the version for different haskell packages, to update:
23-
# nix flake lock --update-input all-cabal-hashes-unpacked
24-
all-cabal-hashes-unpacked = {
25-
url = "github:commercialhaskell/all-cabal-hashes/current-hackage";
26-
flake = false;
27-
};
28-
2922
# List of hackage dependencies
3023
ghc-exactprint-160 = {
3124
url = "https://hackage.haskell.org/package/ghc-exactprint-1.6.1/ghc-exactprint-1.6.1.tar.gz";
@@ -97,7 +90,7 @@
9790
};
9891
};
9992
outputs =
100-
inputs@{ self, nixpkgs, flake-compat, flake-utils, gitignore, all-cabal-hashes-unpacked, ... }:
93+
inputs@{ self, nixpkgs, flake-compat, flake-utils, gitignore, ... }:
10194
{
10295
overlays.default = final: prev:
10396
with prev;
@@ -202,14 +195,6 @@
202195
in {
203196
inherit hlsSources;
204197

205-
all-cabal-hashes = prev.runCommand "all-cabal-hashes.tar.gz"
206-
{ }
207-
''
208-
cd ${all-cabal-hashes-unpacked}
209-
cd ..
210-
tar czf $out $(basename ${all-cabal-hashes-unpacked})
211-
'';
212-
213198
# Haskell packages extended with our packages
214199
hlsHpkgs = compiler: extended haskell.packages.${compiler};
215200

0 commit comments

Comments
 (0)