File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cabal-install/src/Distribution/Client Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ rebuildTargetsDryRun distDirLayout@DistDirLayout{..} shared =
220220 else return (BuildStatusUnpack tarball)
221221 where
222222 srcdir :: FilePath
223- srcdir = distUnpackedSrcDirectory (packageId pkg)
223+ srcdir = distUnpackedSrcDirectory (( packageId pkg){pkgCompiler = Nothing } )
224224
225225 dryRunLocalPkg
226226 :: ElaboratedConfiguredPackage
@@ -713,7 +713,7 @@ withTarballLocalDirectory
713713 let tmpdir = distTempDirectory
714714 builddir = relativeSymbolicPath $ makeRelativePathEx " dist"
715715 in withTempDirectory verbosity tmpdir " src" $ \ unpackdir -> do
716- let srcdir = makeSymbolicPath $ unpackdir </> prettyShow pkgid
716+ let srcdir = makeSymbolicPath $ unpackdir </> prettyShow ( pkgid{pkgCompiler = Nothing })
717717 unpackPackageTarball
718718 verbosity
719719 tarball
@@ -727,7 +727,7 @@ withTarballLocalDirectory
727727 -- inplace there
728728 BuildInplaceOnly {} -> do
729729 let srcrootdir = distUnpackedSrcRootDirectory
730- srcdir = distUnpackedSrcDirectory pkgid
730+ srcdir = distUnpackedSrcDirectory ( pkgid{pkgCompiler = Nothing })
731731 builddir =
732732 makeSymbolicPath $
733733 makeRelative (normalise srcdir) $
@@ -791,7 +791,7 @@ unpackPackageTarball verbosity tarball parentdir pkgid pkgTextOverride =
791791 </> pkgsubdir
792792 </> prettyShow pkgname
793793 <.> " cabal"
794- pkgsubdir = prettyShow pkgid
794+ pkgsubdir = prettyShow ( pkgid{pkgCompiler = Nothing })
795795 pkgname = packageName pkgid
796796
797797-- | This is a bit of a hacky workaround. A number of packages ship
You can’t perform that action at this time.
0 commit comments