Skip to content

Commit

Permalink
rc.yml: update Haskell macros to adapt to new directory layout
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Zhao <git@gzgz.dev>
  • Loading branch information
GZGavinZhao committed Apr 10, 2024
1 parent 0c66472 commit aae956f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ypkg2/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ actions:
export GHCV=$(ghc --numeric-version)
runhaskell Setup configure --prefix=%PREFIX% \
--libdir=%libdir% \
--libsubdir="\$compiler/\$pkgid" \
--libsubdir="\$compiler/lib/\$abi/\$pkg-\$version" \
--libexecdir=%libdir%/%PKGNAME% \
--dynlibdir="%libdir%/\$compiler/\$pkgid" \
--datadir=/usr/share \
Expand All @@ -115,7 +115,7 @@ actions:
- haskell_register: &haskell_register |
export GHCV=$(ghc --numeric-version)
runhaskell Setup register --gen-pkg-config=$package-$version.conf
install -D -m 00644 $package-$version.conf $installdir%libdir%/ghc-$GHCV/package.conf.d/$package-$version.conf
install -D -m 00644 $package-$version.conf $installdir/%libdir%/ghc-$GHCV/lib/package.conf.d/$package-$version.conf
- haskell_check: |
runhaskell Setup test
# Configures a Cabal project that requires online dependencies, like a
Expand Down

0 comments on commit aae956f

Please # to comment.