We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2acae63 commit 99498beCopy full SHA for 99498be
cabal-testsuite/PackageTests/CopyHie/setup.test.hs
@@ -1,7 +1,9 @@
1
import Test.Cabal.Prelude
2
+import Distribution.Simple.LocalBuildInfo
3
4
main = setupAndCabalTest $ withPackageDb $ do
5
skipUnlessGhcVersion ">= 8.8"
6
setup_install ["hie-local"]
- env <- getTestEnv
7
- shouldExist $ testLibInstallDir env </> "hie-local-0.1.0.0" </> "extra-compilation-artifacts" </> "hie" </> "HieLocal.hie"
+ lbi <- getLocalBuildInfoM
8
+ let installedLibPath = libdir $ absoluteInstallDirs (localPkgDescr lbi) lbi NoCopyDest
9
+ shouldExist $ installedLibPath </> "extra-compilation-artifacts" </> "hie" </> "HieLocal.hie"
0 commit comments