Skip to content

Commit 7565c6c

Browse files
committed
Account for .buildinfo in repl when build-type: Configure
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Fixes #9401
1 parent 1157461 commit 7565c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cabal/src/Distribution/Simple.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ autoconfUserHooks =
756756
simpleUserHooks
757757
{ postConf = defaultPostConf
758758
, preBuild = readHookWithArgs buildVerbosity buildDistPref -- buildCabalFilePath,
759+
, preRepl = readHookWithArgs replVerbosity replDistPref
759760
, preCopy = readHookWithArgs copyVerbosity copyDistPref
760761
, preClean = readHook cleanVerbosity cleanDistPref
761762
, preInst = readHook installVerbosity installDistPref

0 commit comments

Comments
 (0)