Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. May 16, 2016
    • Duncan Coutts's avatar
      Fix handling of default setup deps · 5c93eef7
      Duncan Coutts authored
      Commit 2f976576 added default setup dep
      handling to the existing install command code paths, but unfortunately
      broke the handling for the new-build code path. It added a call to
      addDefaultSetupDependencies into the standardInstallPolicy. That
      interfered with the addDefaultSetupDependencies that ProjectPlanning was
      already using.
      
      So this patch splits a basicInstallPolicy out of standardInstallPolicy,
      where the basicInstallPolicy is all the old stuff, and the
      standardInstallPolicy just adds the addDefaultSetupDependencies that the
      install/fetch/freeze commands need. So then ProjectPlanning uses just
      the basicInstallPolicy.
      
      The 2f976576 commit also added a new and simpler method to determine if a
      package has had default setup deps added. Previously ProjectPlanning had
      to use a rather complex method to remember this information. So this
      patch removes all that and makes use of the new method.
      
      To stop this breaking in future the next patch adds integration tests to
      cover custom setup script handling.
      
      This fixed issue #3394.
      5c93eef7
  2. May 15, 2016
  3. May 14, 2016
  4. May 13, 2016
  5. May 12, 2016
  6. May 11, 2016
  7. May 10, 2016
  8. May 09, 2016
Loading