fix(pandoc) (#5340)

* fix(pandoc)

closes #5245

* binutils needs gcc

* this is fiddly

* hmmm

* try a different way

* i am grumpy

* wip

* wip

* wip

* wip

* wip

* test

* try haskell 9.6

* or 9.8
This commit is contained in:
Jacob Heider 2024-02-24 15:17:17 -05:00 committed by GitHub
parent fdf411c95f
commit 26fe5bd2c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,12 +20,26 @@ dependencies:
build: build:
dependencies: dependencies:
# https://github.com/jgm/pandoc/blob/54b9eeb6a72f1c6f0ae3675cb9e7c29fa3183316/pandoc-cli/pandoc-cli.cabal#L14C18-L15C44 haskell.org: '>=8.6.5'
haskell.org: '>=8.6.5<9.6'
haskell.org/cabal: ^3 haskell.org/cabal: ^3
crates.io/semverator: ^0 crates.io/semverator: ^0
working-directory: pandoc-cli working-directory: pandoc-cli
script: script:
# FIXME: these are seriously hacky; we need to understand how to tweak ghc's `settings`
# file better
# it really wants ld.bfd or ld.gold, but those both bring in a host of compiler matching
# issues, so we'll just do a trick
- run: |
mkdir .fakebin
cat $PROP > .fakebin/ld.bfd
cat $PROP > .fakebin/ld.gold
chmod +x .fakebin/*
export PATH=$PWD/.fakebin:$PATH
prop: |
#!/bin/sh
ld.lld "$@"
if: linux
# pandoc 2.x - no pandoc-cli subdirectory # pandoc 2.x - no pandoc-cli subdirectory
- run: cd .. - run: cd ..
if: <3 if: <3