Skip to content

Commit

Permalink
Merge pull request #3046 from commercialhaskell/2984-profiling-dirtiness
Browse files Browse the repository at this point in the history
Have switching on/off profiling cause package dirtiness #2984
  • Loading branch information
mgsloan authored Mar 8, 2017
2 parents 805b17b + 3406f05 commit 941c388
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Stack/Types/Build.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 941c388

Please sign in to comment.