One fix for relocatability

This commit is contained in:
Max Howell 2022-12-01 11:44:00 -05:00
parent cc2a6fe258
commit 43c31ad736
Failed to extract signature

View file

@ -77,6 +77,9 @@ build:
sed -i.bak -e 's_="{{prefix}}_="$(dirname $(dirname $0))_' $shim sed -i.bak -e 's_="{{prefix}}_="$(dirname $(dirname $0))_' $shim
rm $shim.bak rm $shim.bak
done done
sed -i.bak 's|{{tea.prefix}}|$TEA_PREFIX|g' "{{prefix}}/bin/hsc2hs-ghc-{{version}}"
rm "{{prefix}}/bin/hsc2hs-ghc-{{version}}.bak"
env: env:
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1 BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
BOOTSTRAP_HASKELL_ADJUST_BASHRC: 0 BOOTSTRAP_HASKELL_ADJUST_BASHRC: 0