[FIX] Do not install Haskell dependencies on link

This commit is contained in:
Bruno BELANYI 2020-10-02 15:26:03 +02:00
parent ddd3d8211b
commit 484b076821
1 changed files with 5 additions and 5 deletions

View File

@ -121,7 +121,7 @@ all: install
.PHONY: install-cli
install-cli: install-cli-deps
install-cli: link-cli
install-cli: rust haskell
install-cli: rust-pkgs haskell-pkgs
.PHONY: install
install: install-cli
@ -209,13 +209,13 @@ unstow-tmux:
rm -rf ~/.config/tmux/plugins/
# The `rustup` package does not install a toolchain by default
.PHONY: rust
rust:
.PHONY: rust-pkgs
rust-pkgs:
rustup default stable
rustup component add rust-src # For rust-analyzer
.PHONY: haskell
haskell:
.PHONY: haskell-pkgs
haskell-pkgs:
if [ -n "$(HASKELL_DEPENDENCIES)" ]; then \
stack build --copy-compiler-tool $(HASKELL_DEPENDENCIES); \
fi