Add pkg-config to toolRequirements

Fixes https://github.com/haskell/ghcup-hs/issues/1039
This commit is contained in:
Julian Ospald 2024-04-21 15:59:14 +08:00
parent 1d55bd79dc
commit 6a586c209f
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43
4 changed files with 161 additions and 32 deletions

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 12":
distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning:
distroPKGs:
@ -42,6 +44,7 @@ toolRequirements:
- libncurses-dev
- libncurses6
- libtinfo6
- pkg-config
notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
@ -55,6 +58,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
@ -67,6 +71,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu:
@ -81,6 +86,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
"( >= 20.10 && < 23 )":
distroPKGs:
@ -93,6 +99,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 23": &linux-ubuntu-req23
distroPKGs:
@ -103,6 +110,7 @@ toolRequirements:
- libgmp-dev
- libgmp10
- libncurses-dev
- pkg-config
notes: ''
unknown_versioning: *linux-ubuntu-req23
Linux_CentOS:
@ -116,6 +124,7 @@ toolRequirements:
- ncurses
- xz
- perl
- pkgconfig
notes: ''
unknown_versioning:
distroPKGs:
@ -128,6 +137,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkgconfig
notes: ''
Linux_Fedora:
unknown_versioning:
@ -141,6 +151,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
Linux_Alpine:
unknown_versioning:
@ -156,6 +167,7 @@ toolRequirements:
- musl-dev
- ncurses-dev
- perl
- pkgconfig
- tar
- xz
notes: ''
@ -163,7 +175,7 @@ toolRequirements:
unknown_versioning:
distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those
xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.'
Darwin:
unknown_versioning:
@ -183,6 +195,7 @@ toolRequirements:
- gmake
- ncurses
- perl5
- pkg-confg
- libffi
- libiconv
notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 12":
distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning:
distroPKGs:
@ -42,6 +44,7 @@ toolRequirements:
- libncurses-dev
- libncurses6
- libtinfo6
- pkg-config
notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
@ -55,6 +58,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
@ -67,6 +71,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu:
@ -81,6 +86,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
"( >= 20.10 && < 23 )":
distroPKGs:
@ -93,6 +99,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 23": &linux-ubuntu-req23
distroPKGs:
@ -103,6 +110,7 @@ toolRequirements:
- libgmp-dev
- libgmp10
- libncurses-dev
- pkg-config
notes: ''
unknown_versioning: *linux-ubuntu-req23
Linux_Rocky:
@ -117,6 +125,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
'>= 9': &linux-rocky-req9
distroPKGs:
@ -128,6 +137,7 @@ toolRequirements:
- ncurses
- xz
- perl
- pkg-config
notes: ''
unknown_versioning: *linux-rocky-req9
Linux_CentOS:
@ -141,6 +151,7 @@ toolRequirements:
- ncurses
- xz
- perl
- pkgconfig
notes: ''
unknown_versioning:
distroPKGs:
@ -153,6 +164,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkgconfig
notes: ''
Linux_Fedora:
unknown_versioning:
@ -166,6 +178,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
Linux_Alpine:
unknown_versioning:
@ -181,6 +194,7 @@ toolRequirements:
- musl-dev
- ncurses-dev
- perl
- pkgconfig
- tar
- xz
notes: ''
@ -197,6 +211,7 @@ toolRequirements:
- ncurses-devel
- ncurses-libtinfo-libs
- perl
- pkg-config
- tar
- xz
notes: These instructions are for glibc based Void. If you use musl flavor, check out https://www.haskell.org/ghcup/install/#void-linux
@ -204,7 +219,7 @@ toolRequirements:
unknown_versioning:
distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those
xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.'
Darwin:
unknown_versioning:
@ -224,6 +239,7 @@ toolRequirements:
- gmake
- ncurses
- perl5
- pkg-confg
- libffi
- libiconv
notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 12":
distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning:
distroPKGs:
@ -42,7 +44,36 @@ toolRequirements:
- libncurses-dev
- libncurses6
- libtinfo6
- pkg-config
notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi7
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu:
"( >= 20.04 && < 20.10 )":
distroPKGs:
@ -55,41 +86,33 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
"( >= 20.10 && < 23 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8ubuntu1
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 23":
">= 23": &linux-ubuntu-req23
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8ubuntu1
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- pkg-config
notes: ''
unknown_versioning:
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi6
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
notes: ''
unknown_versioning: *linux-ubuntu-req23
Linux_CentOS:
'( >= 7 && < 8 )':
distroPKGs:
@ -101,6 +124,7 @@ toolRequirements:
- ncurses
- xz
- perl
- pkgconfig
notes: ''
unknown_versioning:
distroPKGs:
@ -113,6 +137,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkgconfig
notes: ''
Linux_Fedora:
unknown_versioning:
@ -126,6 +151,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
Linux_Alpine:
unknown_versioning:
@ -141,6 +167,7 @@ toolRequirements:
- musl-dev
- ncurses-dev
- perl
- pkgconfig
- tar
- xz
notes: ''
@ -148,7 +175,7 @@ toolRequirements:
unknown_versioning:
distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those
xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.'
Darwin:
unknown_versioning:
@ -168,6 +195,7 @@ toolRequirements:
- gmake
- ncurses
- perl5
- pkg-confg
- libffi
- libiconv
notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 12":
distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning:
distroPKGs:
@ -42,7 +44,36 @@ toolRequirements:
- libncurses-dev
- libncurses6
- libtinfo6
- pkg-config
notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi7
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu:
"( >= 20.04 && < 20.10 )":
distroPKGs:
@ -55,41 +86,60 @@ toolRequirements:
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
"( >= 20.10 && < 23 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8ubuntu1
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 23":
">= 23": &linux-ubuntu-req23
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8ubuntu1
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- pkg-config
notes: ''
unknown_versioning:
unknown_versioning: *linux-ubuntu-req23
Linux_Rocky:
'( >= 8 && < 9)':
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi6
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- gcc
- gcc-c++
- gmp
- gmp-devel
- make
- ncurses
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
'>= 9': &linux-rocky-req9
distroPKGs:
- gcc
- gcc-c++
- gmp
- gmp-devel
- make
- ncurses
- xz
- perl
- pkg-config
notes: ''
unknown_versioning: *linux-rocky-req9
Linux_CentOS:
'( >= 7 && < 8 )':
distroPKGs:
@ -101,6 +151,7 @@ toolRequirements:
- ncurses
- xz
- perl
- pkgconfig
notes: ''
unknown_versioning:
distroPKGs:
@ -113,6 +164,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkgconfig
notes: ''
Linux_Fedora:
unknown_versioning:
@ -126,6 +178,7 @@ toolRequirements:
- ncurses-compat-libs
- xz
- perl
- pkg-config
notes: ''
Linux_Alpine:
unknown_versioning:
@ -141,14 +194,32 @@ toolRequirements:
- musl-dev
- ncurses-dev
- perl
- pkgconfig
- tar
- xz
notes: ''
Linux_Void:
unknown_versioning:
distroPKGs:
- binutils
- curl
- gcc
- gmp-devel
- glibc-devel
- libffi-devel
- make
- ncurses-devel
- ncurses-libtinfo-libs
- perl
- pkg-config
- tar
- xz
notes: These instructions are for glibc based Void. If you use musl flavor, check out https://www.haskell.org/ghcup/install/#void-linux
Linux_UnknownLinux:
unknown_versioning:
distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those
xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.'
Darwin:
unknown_versioning:
@ -168,6 +239,7 @@ toolRequirements:
- gmake
- ncurses
- perl5
- pkg-confg
- libffi
- libiconv
notes: ''