0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/ghc-libs/set-default-prefix.patch
Aditya Alok ef9d15744e
ghc-libs: Bump to 9.2.5
- disable static splitting of package (see #1280)

Signed-off-by: Aditya Alok <alok@termux.dev>
2023-02-21 03:09:32 +05:30

12 lines
597 B
Diff

--- ghc-8.10.7/libraries/Cabal/Cabal/src/Distribution/Simple/InstallDirs.hs 2021-05-25 20:11:34.000000000 +0530
+++ ghc-8.10.7-patch/libraries/Cabal/Cabal/src/Distribution/Simple/InstallDirs.hs 2022-02-03 22:24:07.081585076 +0530
@@ -193,7 +193,7 @@
else case buildOS of
Windows -> do windowsProgramFilesDir <- getWindowsProgramFilesDir
return (windowsProgramFilesDir </> "Haskell")
- _ -> return "/usr/local"
+ _ -> return "@TERMUX_PREFIX@"
installLibDir <-
case buildOS of
Windows -> return "$prefix"