From 3406f05fc3a1e3e57070e994f5ae136f6ccf49be Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Mon, 6 Mar 2017 20:36:47 -0800 Subject: [PATCH] Have switching on/off profiling cause package dirtiness #2984 --- src/Stack/Types/Build.hs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Stack/Types/Build.hs b/src/Stack/Types/Build.hs index 44ab885984..6bf1e4f490 100644 --- a/src/Stack/Types/Build.hs +++ b/src/Stack/Types/Build.hs @@ -495,10 +495,13 @@ isStackOpt t = any (`T.isPrefixOf` t) , "--haddockdir=" , "--enable-tests" , "--enable-benchmarks" - , "--enable-library-profiling" - , "--enable-executable-profiling" - , "--enable-profiling" , "--exact-configuration" + -- Treat these as causing dirtiness, to resolve + -- https://github.com/commercialhaskell/stack/issues/2984 + -- + -- , "--enable-library-profiling" + -- , "--enable-executable-profiling" + -- , "--enable-profiling" ] || t == "--user" configureOptsDirs :: BaseConfigOpts