[FIX] Do not install Haskell dependencies on link
This commit is contained in:
parent
ddd3d8211b
commit
484b076821
10
Makefile
10
Makefile
|
@ -121,7 +121,7 @@ all: install
|
||||||
.PHONY: install-cli
|
.PHONY: install-cli
|
||||||
install-cli: install-cli-deps
|
install-cli: install-cli-deps
|
||||||
install-cli: link-cli
|
install-cli: link-cli
|
||||||
install-cli: rust haskell
|
install-cli: rust-pkgs haskell-pkgs
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: install-cli
|
install: install-cli
|
||||||
|
@ -209,13 +209,13 @@ unstow-tmux:
|
||||||
rm -rf ~/.config/tmux/plugins/
|
rm -rf ~/.config/tmux/plugins/
|
||||||
|
|
||||||
# The `rustup` package does not install a toolchain by default
|
# The `rustup` package does not install a toolchain by default
|
||||||
.PHONY: rust
|
.PHONY: rust-pkgs
|
||||||
rust:
|
rust-pkgs:
|
||||||
rustup default stable
|
rustup default stable
|
||||||
rustup component add rust-src # For rust-analyzer
|
rustup component add rust-src # For rust-analyzer
|
||||||
|
|
||||||
.PHONY: haskell
|
.PHONY: haskell-pkgs
|
||||||
haskell:
|
haskell-pkgs:
|
||||||
if [ -n "$(HASKELL_DEPENDENCIES)" ]; then \
|
if [ -n "$(HASKELL_DEPENDENCIES)" ]; then \
|
||||||
stack build --copy-compiler-tool $(HASKELL_DEPENDENCIES); \
|
stack build --copy-compiler-tool $(HASKELL_DEPENDENCIES); \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue