From 5ca99a1accf08911b50ad996a48525c3149ba731 Mon Sep 17 00:00:00 2001 From: Rodrigo Mesquita Date: Mon, 13 Nov 2023 16:44:17 +0000 Subject: [PATCH] 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 --- Cabal/src/Distribution/Simple.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Cabal/src/Distribution/Simple.hs b/Cabal/src/Distribution/Simple.hs index 0649a085260..bc00df569a9 100644 --- a/Cabal/src/Distribution/Simple.hs +++ b/Cabal/src/Distribution/Simple.hs @@ -756,6 +756,7 @@ autoconfUserHooks = simpleUserHooks { postConf = defaultPostConf , preBuild = readHookWithArgs buildVerbosity buildDistPref -- buildCabalFilePath, + , preRepl = readHookWithArgs replVerbosity replDistPref , preCopy = readHookWithArgs copyVerbosity copyDistPref , preClean = readHook cleanVerbosity cleanDistPref , preInst = readHook installVerbosity installDistPref