mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-12-12 12:52:07 +03:00
10 lines
303 B
Bash
Executable File
10 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xueo pipefail
|
|
mkdir -p $HOME/.local/bin
|
|
curl -L https://github.com/commercialhaskell/stack/releases/download/v2.1.1/stack-2.1.1-linux-x86_64.tar.gz \
|
|
| tar xz --wildcards --strip-components=1 -C "$HOME/.local/bin" '*/stack'
|
|
echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV
|
|
|
|
|