Skip to content

Commit

Permalink
haskellPackages.haskell-language-server: fix typo in update script
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Aug 25, 2020
1 parent 5be356a commit e34b537
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -26,7 +26,7 @@ ghcide_old_version="$(sed -En 's/.*\bversion = "(.*?)".*/\1/p' "$ghcide_derivati
# This is the revision of ghcide used by hls on GitHub.
ghcide_new_version=$(curl --silent "https://api.github.com/repos/haskell/haskell-language-server/contents/ghcide" | jq '.sha' --raw-output)

echo "Updating haskell-language-server from old version $ghcide_old_version to new version $ghcide_new_version."
echo "Updating haskell-language-server's ghcide from old version $ghcide_old_version to new version $ghcide_new_version."
echo "Running cabal2nix and outputting to ${ghcide_derivation_file}..."

cabal2nix --revision "$ghcide_new_version" "https://github.com/wz1000/ghcide" > "$ghcide_derivation_file"
Expand Down

0 comments on commit e34b537

Please sign in to comment.