We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f766e7b commit 3e23938Copy full SHA for 3e23938
scripts/update-hackage.nix
@@ -3,9 +3,6 @@
3
import ./update-external.nix args {
4
name = "hackage";
5
script = ''
6
- # Make sure the hackage index is recent.
7
- cabal new-update
8
-
9
# Clone or update the Hackage Nix expressions repo.
10
if [ -d hackage.nix ]; then
11
cd hackage.nix
@@ -15,6 +12,10 @@ import ./update-external.nix args {
15
12
git clone [email protected]:input-output-hk/hackage.nix.git
16
13
fi
17
14
+ # Make sure the hackage index is recent.
+ echo "Updating local hackage index..."
+ cabal update
18
+
19
echo "Running hackage-to-nix..."
20
21
hackage-to-nix hackage.nix
0 commit comments