mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
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:
parent
fdf411c95f
commit
26fe5bd2c2
1 changed files with 16 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue