From 484b0768217129745badc7ce59462c6dc5568d44 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 2 Oct 2020 15:26:03 +0200 Subject: [PATCH] [FIX] Do not install Haskell dependencies on link --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 58a88f2..ee3c110 100644 --- a/Makefile +++ b/Makefile @@ -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