Skip to content

Commit b39267a

Browse files
committed
Stop doing an extremely slow fetch of all-cabal-hashes
1 parent 5a29fa4 commit b39267a

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";
@@ -61,7 +54,7 @@
6154
};
6255
};
6356
outputs =
64-
inputs@{ self, nixpkgs, flake-compat, flake-utils, gitignore, all-cabal-hashes-unpacked, ... }:
57+
inputs@{ self, nixpkgs, flake-compat, flake-utils, gitignore, ... }:
6558
{
6659
overlays.default = final: prev:
6760
with prev;
@@ -155,14 +148,6 @@
155148
in {
156149
inherit hlsSources;
157150

158-
all-cabal-hashes = prev.runCommand "all-cabal-hashes.tar.gz"
159-
{ }
160-
''
161-
cd ${all-cabal-hashes-unpacked}
162-
cd ..
163-
tar czf $out $(basename ${all-cabal-hashes-unpacked})
164-
'';
165-
166151
# Haskell packages extended with our packages
167152
hlsHpkgs = compiler: extended haskell.packages.${compiler};
168153

0 commit comments

Comments
 (0)