mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
fix(cabal).more()
Oooooooooof
This commit is contained in:
parent
5b6a33be60
commit
4adf84076f
1 changed files with 5 additions and 1 deletions
|
@ -61,10 +61,14 @@ build:
|
|||
|
||||
# this is not an acceptable solution, do you know a better one? pls PR 🙏
|
||||
#FIXME also this sed line sucks but I got bored trying to make it work
|
||||
sed -i.bak -e 's/4.15,/4.17,/' cabal-install.cabal
|
||||
sed -i.bak \
|
||||
-e 's/build-depends: base.*/build-depends: base >=4.10 \&\& <5/' \
|
||||
-e 's/text.*>=.*/text >= 1.2.3 \&\& < 3,/' \
|
||||
cabal-install.cabal
|
||||
# ^^ SEE https://github.com/haskell/cabal/issues/8118
|
||||
rm *.bak
|
||||
|
||||
mkdir -p "{{prefix}}/bin"
|
||||
../../bootstrap/cabal v2-update
|
||||
../../bootstrap/cabal v2-install \
|
||||
--install-method=copy \
|
||||
|
|
Loading…
Reference in a new issue