From f6dc3a927e48f823a956efb3b5069e110cdd20a1 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 9 Jan 2024 17:38:45 -0500 Subject: [PATCH] fix(haskell) closes #4796 --- projects/haskell.org/package.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/projects/haskell.org/package.yml b/projects/haskell.org/package.yml index ba2e1f44..c38d3e0d 100644 --- a/projects/haskell.org/package.yml +++ b/projects/haskell.org/package.yml @@ -59,17 +59,13 @@ build: - ghcup set ghc {{version}} - run: ln -s .ghcup/* . working-directory: ${{prefix}} - - run: | - find . -type f -print0 | xargs -0 sed -i.bak -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g" - rm *.bak + - run: find . -type f -print0 | xargs -0 sed -i -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g" -e 's/\+brewing//g' working-directory: ${{prefix}}/ghc/{{version}}/bin - run: | sed -i.bak -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g" env rm env.bak working-directory: ${{prefix}}/.ghcup - - run: | - find . -type f -name \*.conf -print0 | xargs -0 sed -i.bak -e 's|{{prefix}}|${pkgroot}/../../../../..|g' - find . -type f -name \*.conf.bak -delete + - run: find . -type f -name \*.conf -print0 | xargs -0 sed -i -e 's|{{prefix}}|${pkgroot}/../../../../..|g' -e 's/\+brewing//g' working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d if: <9.4 env: