haskellPackages.haskell-language-server: fix typo in update script
This commit is contained in:
parent
5be356a9cc
commit
e34b5375cd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
# 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)
|
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}..."
|
echo "Running cabal2nix and outputting to ${ghcide_derivation_file}..."
|
||||||
|
|
||||||
cabal2nix --revision "$ghcide_new_version" "https://github.com/wz1000/ghcide" > "$ghcide_derivation_file"
|
cabal2nix --revision "$ghcide_new_version" "https://github.com/wz1000/ghcide" > "$ghcide_derivation_file"
|
||||||
|
|
Loading…
Reference in a new issue