diff --git a/scripts/update-hackage.nix b/scripts/update-hackage.nix index 6f817328..fd0cfb3b 100644 --- a/scripts/update-hackage.nix +++ b/scripts/update-hackage.nix @@ -13,6 +13,7 @@ import ./update-external.nix git clone git@github.com:input-output-hk/hackage.nix.git fi + set -x # Make sure the hackage index is recent. echo "Updating local hackage index..." cabal update @@ -23,8 +24,8 @@ import ./update-external.nix echo "Running update-index-state-hashes..." - ${update-index-state-hashes}/bin/update-index-state-hashes > ./index-state-hashes.nix - cd hackage.nix + + ${update-index-state-hashes}/bin/update-index-state-hashes > index-state-hashes.nix ''; } diff --git a/scripts/update-index-state-hashes.nix b/scripts/update-index-state-hashes.nix index 8935a6fb..143fd122 100644 --- a/scripts/update-index-state-hashes.nix +++ b/scripts/update-index-state-hashes.nix @@ -37,6 +37,6 @@ writeShellScriptBin "update-index-state-hashes" '' fi done - # emit the finall closing brace. + # emit the final closing brace. echo '}' ''