diff --git a/.github/workflows/cmd-help.yml b/.github/workflows/cmd-help.yml index 8d606215f82..4d93b56d0fc 100644 --- a/.github/workflows/cmd-help.yml +++ b/.github/workflows/cmd-help.yml @@ -16,6 +16,8 @@ on: - doc/cmd-v2-hidden-help/** - doc/setup-help/** - cabal-install/src/Distribution/Client/Cmd*.hs + - cabal-install/src/Distribution/Client/NixStyleOptions.hs + - cabal-install/src/Distribution/Client/ProjectFlags.hs - cabal-install/src/Distribution/Client/Main.hs - cabal-install/src/Distribution/Client/Setup.hs - Cabal/src/Distribution/Simple.hs diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index 83628ab03d1..47565476e90 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -348,6 +348,7 @@ test-suite unit-tests UnitTests.Distribution.Client.Init.FileCreators UnitTests.Distribution.Client.InstallPlan UnitTests.Distribution.Client.JobControl + UnitTests.Distribution.Client.NixStyleOptions UnitTests.Distribution.Client.ProjectConfig UnitTests.Distribution.Client.ProjectPlanning UnitTests.Distribution.Client.Store diff --git a/cabal-install/src/Distribution/Client/NixStyleOptions.hs b/cabal-install/src/Distribution/Client/NixStyleOptions.hs index 6201df0d316..2d25ab87761 100644 --- a/cabal-install/src/Distribution/Client/NixStyleOptions.hs +++ b/cabal-install/src/Distribution/Client/NixStyleOptions.hs @@ -5,6 +5,11 @@ module Distribution.Client.NixStyleOptions ( NixStyleFlags (..) , nixStyleOptions + , configureOptionNames + , excludedConfigureOptionNames + , installOptionNames + , excludedInstallOptionNames + , isProgramOptionName , defaultNixStyleFlags , updNixStyleCommonSetupFlags , cfgVerbosity @@ -20,6 +25,7 @@ import Distribution.Simple.Setup , HaddockFlags (..) , TestFlags (testCommonFlags) , fromFlagOrDefault + , installDirsOptions ) import Distribution.Solver.Types.ConstraintSource (ConstraintSource (..)) @@ -62,20 +68,11 @@ nixStyleOptions commandOptions showOrParseArgs = configFlags set1 -- Note: [Hidden Flags] - -- We reuse the configure options from v1 commands which on their turn - -- reuse the ones from Cabal) but we hide some of them in v2 commands. - ( filter - ( ( `notElem` - [ "cabal-file" - , "constraint" - , "dependency" - , "promised-dependency" - , "exact-configuration" - ] - ) - . optionName - ) - $ configureOptions showOrParseArgs + -- We reuse the configure options from v1 commands (which on their turn + -- reuse the ones from Cabal) but only take the ones named in + -- 'configureOptionNames'. See 'excludedConfigureOptionNames' for the rest. + ( selectOptions configureOptionNames isProgramOptionName $ + configureOptions showOrParseArgs ) ++ liftOptions configExFlags @@ -87,26 +84,10 @@ nixStyleOptions commandOptions showOrParseArgs = ++ liftOptions installFlags set3 - -- hide "target-package-db" and "symlink-bindir" flags from the - -- install options. - -- "symlink-bindir" is obsoleted by "installdir" in ClientInstallFlags - ( filter - ( (`notElem` ["target-package-db", "symlink-bindir"]) - . optionName - ) - $ installOptions showOrParseArgs - ) - ++ liftOptions - haddockFlags - set4 - -- hide "verbose" and "builddir" flags from the - -- haddock options. - ( filter - ( (`notElem` ["v", "verbose", "builddir"]) - . optionName - ) - $ haddockOptions showOrParseArgs + ( selectOptions installOptionNames (const False) $ + installOptions showOrParseArgs ) + ++ liftOptions haddockFlags set4 (haddockOptions showOrParseArgs) ++ liftOptions testFlags set5 (testOptions showOrParseArgs) ++ liftOptions benchmarkFlags set6 (benchmarkOptions showOrParseArgs) ++ liftOptions projectFlags set7 (projectFlagsOptions showOrParseArgs) @@ -121,6 +102,162 @@ nixStyleOptions commandOptions showOrParseArgs = set7 x flags = flags{projectFlags = x} set8 x flags = flags{extraFlags = x} +-- | Keep the options whose name is listed or satisfies the predicate. +selectOptions :: [String] -> (String -> Bool) -> [OptionField a] -> [OptionField a] +selectOptions names p = filter (\o -> optionName o `elem` names || p (optionName o)) + +-- | The program options of 'configureOptions' are generated for each known +-- program, @--with-PROG@, @--PROG-option@ and @--PROG-options@, so they are +-- matched by shape rather than listed by name. Only "configure-option", +-- "with-compiler" and "with-hc-pkg" share that shape, and those are wanted too. +isProgramOptionName :: String -> Bool +isProgramOptionName name = + "with-" `isPrefixOf` name + || "-option" `isSuffixOf` name + || "-options" `isSuffixOf` name + +-- | The 'configureOptions' that nix-style commands take, grouped by what they +-- affect. Together with 'excludedConfigureOptionNames' and +-- 'isProgramOptionName' this covers every option in 'configureOptions', which +-- a unit test checks, so a new v1 option has to be placed in one list or the +-- other before v2 commands accept it. +configureOptionNames :: [String] +configureOptionNames = + [ -- plan and solver settings + "verbose" + , "builddir" + , "compiler" + , "with-compiler" + , "with-hc-pkg" + , "package-db" + , "extra-prog-path" + , "tests" + , -- benchmark settings + "benchmarks" + , -- build-phase settings + "keep-temp-files" + , -- per-package build settings + "program-prefix" + , "program-suffix" + , "library-vanilla" + , "library-profiling" + , "shared" + , "static" + , "library-bytecode" + , "executable-dynamic" + , "executable-static" + , "profiling" + , "profiling-shared" + , "executable-profiling" + , "profiling-detail" + , "library-profiling-detail" + , "optimization" + , "debug-info" + , "build-info" + , "library-for-ghci" + , "split-sections" + , "split-objs" + , "executable-stripping" + , "library-stripping" + , "configure-option" + , "flags" + , "extra-include-dirs" + , "extra-lib-dirs" + , "extra-lib-dirs-static" + , "extra-framework-dirs" + , "coverage" + , "library-coverage" + , "relocatable" + ] + ++ map optionName installDirsOptions + +-- | The 'configureOptions' that nix-style commands do not take. The first +-- group is set by the planner itself from the install plan; the second is +-- handled by nix-style commands in another way; the third has no meaning for +-- a nix-style build. 'Distribution.Client.ProjectConfig.Legacy' never reads +-- these fields of 'ConfigFlags' into the project configuration. They remain +-- v1 command options and fields of the global config file. +excludedConfigureOptionNames :: [String] +excludedConfigureOptionNames = + [ -- computed per package by the planner, see elaborateInstallPlan + "ipid" + , "cid" + , "instantiate-with" + , "deterministic" + , "response-files" + , "allow-depending-on-private-libs" + , "coverage-for" + , "ignore-build-tools" + , -- the solver's business: --constraint is taken from 'configureExOptions' + -- instead, with a constraint source + "constraint" + , "dependency" + , "promised-dependency" + , "exact-configuration" + , -- per-package or per-user installs do not exist in nix-style builds + "user-install" + , "cabal-file" + ] + +-- | The 'installOptions' that nix-style commands take, grouped by what they +-- affect. See 'excludedInstallOptionNames' for the rest. +installOptionNames :: [String] +installOptionNames = + [ -- plan and solver settings + "documentation" + , "per-component" + , "max-backjumps" + , "reorder-goals" + , "count-conflicts" + , "fine-grained-conflicts" + , "minimize-conflict-set" + , "independent-goals" + , "prefer-oldest" + , "prefer-version" + , "strong-flags" + , "allow-boot-library-installs" + , "reject-unconstrained-dependencies" + , "index-state" + , -- haddock settings + "doc-index-file" + , -- per-package build settings + "run-tests" + , -- build-phase settings + "dry-run" + , "only-download" + , "only-dependencies" + , "dependencies-only" + , "build-summary" + , "build-log" + , "build-timings" + , "remote-build-reporting" + , "report-planning-failure" + , "semaphore" + , "jobs" + , "keep-going" + , "offline" + , -- read by @install --lib@ only, to overwrite packages already in the + -- environment file + "force-reinstalls" + ] + +-- | The 'installOptions' that nix-style commands do not take. They are knobs +-- of the v1 install plan that 'Distribution.Client.ProjectConfig.Legacy' never +-- reads into the project configuration. They remain v1 command options and +-- fields of the global config file. +excludedInstallOptionNames :: [String] +excludedInstallOptionNames = + [ "reinstall" + , "avoid-reinstalls" + , "upgrade-dependencies" + , "shadow-installed-packages" + , "root-cmd" + , "only" + , -- obsoleted by --installdir in 'ClientInstallFlags' + "symlink-bindir" + , "target-package-db" + ] + defaultNixStyleFlags :: a -> NixStyleFlags a defaultNixStyleFlags x = NixStyleFlags diff --git a/cabal-install/tests/UnitTests.hs b/cabal-install/tests/UnitTests.hs index c38f65d40c1..dfb6efa9635 100644 --- a/cabal-install/tests/UnitTests.hs +++ b/cabal-install/tests/UnitTests.hs @@ -15,6 +15,7 @@ import qualified UnitTests.Distribution.Client.IndexUtils.Timestamp import qualified UnitTests.Distribution.Client.Init import qualified UnitTests.Distribution.Client.InstallPlan import qualified UnitTests.Distribution.Client.JobControl +import qualified UnitTests.Distribution.Client.NixStyleOptions import qualified UnitTests.Distribution.Client.ProjectConfig import qualified UnitTests.Distribution.Client.ProjectPlanning import qualified UnitTests.Distribution.Client.Store @@ -72,6 +73,9 @@ main = do , testGroup "UnitTests.Distribution.Client.JobControl" UnitTests.Distribution.Client.JobControl.tests + , testGroup + "UnitTests.Distribution.Client.NixStyleOptions" + UnitTests.Distribution.Client.NixStyleOptions.tests , testGroup "UnitTests.Distribution.Client.ProjectConfig" UnitTests.Distribution.Client.ProjectConfig.tests diff --git a/cabal-install/tests/UnitTests/Distribution/Client/NixStyleOptions.hs b/cabal-install/tests/UnitTests/Distribution/Client/NixStyleOptions.hs new file mode 100644 index 00000000000..c9282c289d6 --- /dev/null +++ b/cabal-install/tests/UnitTests/Distribution/Client/NixStyleOptions.hs @@ -0,0 +1,61 @@ +-- | Check that the nix-style commands classify every option they could +-- inherit from the v1 option lists: each one is either taken or deliberately +-- left out, and the names in those lists are spelt as the options are. +module UnitTests.Distribution.Client.NixStyleOptions (tests) where + +import Distribution.Client.Compat.Prelude +import Prelude () + +import Distribution.Client.NixStyleOptions + ( configureOptionNames + , excludedConfigureOptionNames + , excludedInstallOptionNames + , installOptionNames + , isProgramOptionName + ) +import Distribution.Client.Setup (configureOptions, installOptions) +import Distribution.Simple.Command (OptionField (optionName), ShowOrParseArgs (..)) + +import Test.Tasty +import Test.Tasty.HUnit + +tests :: [TestTree] +tests = + [ testGroup "configureOptions" $ + classified + (map optionName . configureOptions) + configureOptionNames + excludedConfigureOptionNames + isProgramOptionName + , testGroup "installOptions" $ + classified + (map optionName . installOptions) + installOptionNames + excludedInstallOptionNames + (const False) + ] + +-- | Every name in the source list is taken or excluded, and never both; +-- every listed name exists in the source, so a renamed or removed v1 option +-- cannot leave a stale name behind. +-- +-- The source differs between showing and parsing: shown, it has the +-- @--with-PROG@ placeholders; parsed, it has one option per known program +-- and some options that are accepted but not shown, such as @--only@. +classified :: (ShowOrParseArgs -> [String]) -> [String] -> [String] -> (String -> Bool) -> [TestTree] +classified source taken excluded byShape = + [ testCase "every option shown is classified" $ covered (source ShowArgs) + , testCase "every option parsed is classified" $ covered (source ParseArgs) + , testCase "no option is both taken and excluded" $ + assertEqual "" [] [n | n <- taken, n `elem` excluded] + , testCase "no excluded option is matched by shape" $ + assertEqual "" [] [n | n <- excluded, byShape n] + , testCase "every taken name is an option" $ + assertEqual "" [] [n | n <- taken, n `notElem` known] + , testCase "every excluded name is an option" $ + assertEqual "" [] [n | n <- excluded, n `notElem` known] + ] + where + known = source ShowArgs ++ source ParseArgs + covered names = + assertEqual "" [] [n | n <- names, n `notElem` taken, n `notElem` excluded, not (byShape n)] diff --git a/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.out b/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.out index ecd7f77f7c7..6e8b510b2d8 100644 --- a/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.out +++ b/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.out @@ -1,4 +1,4 @@ -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic0.env basic +# install options: --lib --package-env=/cabal.dist/basic0.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic0/dist/sdist/basic-0.1.tar.gz Resolving dependencies... @@ -9,16 +9,16 @@ Configuring library for basic-0.1... Preprocessing library for basic-0.1... Building library for basic-0.1... Installing library in -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic0.env basic +# install options: --lib --package-env=/cabal.dist/basic0.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic0/dist/sdist/basic-0.1.tar.gz Error: [Cabal-7145] Packages requested to install already exist in environment file at /cabal.dist/basic0.env. Overwriting them may break other packages. Use --force-reinstalls to proceed anyway. Packages: basic -# install options: --force-reinstalls --disable-deterministic --lib --package-env=/cabal.dist/basic0.env basic +# install options: --force-reinstalls --lib --package-env=/cabal.dist/basic0.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic0/dist/sdist/basic-0.1.tar.gz Resolving dependencies... -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic1/dist/sdist/basic-0.1.tar.gz Resolving dependencies... @@ -29,38 +29,38 @@ Configuring library for basic-0.1... Preprocessing library for basic-0.1... Building library for basic-0.1... Installing library in -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic1/dist/sdist/basic-0.1.tar.gz Error: [Cabal-7145] Packages requested to install already exist in environment file at /cabal.dist/basic1.env. Overwriting them may break other packages. Use --force-reinstalls to proceed anyway. Packages: basic -# install options: --force-reinstalls --disable-deterministic --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --force-reinstalls --lib --package-env=/cabal.dist/basic1.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic1/dist/sdist/basic-0.1.tar.gz Resolving dependencies... -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic2.env basic +# install options: --lib --package-env=/cabal.dist/basic2.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic2/dist/sdist/basic-0.1.tar.gz Resolving dependencies... -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic2.env basic +# install options: --lib --package-env=/cabal.dist/basic2.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic2/dist/sdist/basic-0.1.tar.gz Error: [Cabal-7145] Packages requested to install already exist in environment file at /cabal.dist/basic2.env. Overwriting them may break other packages. Use --force-reinstalls to proceed anyway. Packages: basic -# install options: --force-reinstalls --disable-deterministic --lib --package-env=/cabal.dist/basic2.env basic +# install options: --force-reinstalls --lib --package-env=/cabal.dist/basic2.env basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic2/dist/sdist/basic-0.1.tar.gz Resolving dependencies... -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic3/dist/sdist/basic-0.1.tar.gz Resolving dependencies... -# install options: --disable-deterministic --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic3/dist/sdist/basic-0.1.tar.gz Error: [Cabal-7145] Packages requested to install already exist in environment file at /cabal.dist/basic3.env. Overwriting them may break other packages. Use --force-reinstalls to proceed anyway. Packages: basic -# install options: --force-reinstalls --disable-deterministic --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic +# install options: --force-reinstalls --lib --package-env=/cabal.dist/basic3.env --enable-shared --enable-executable-dynamic --disable-library-vanilla basic # cabal v2-install Wrote tarball sdist to /cabal.dist/work/./basic3/dist/sdist/basic-0.1.tar.gz Resolving dependencies... diff --git a/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.test.hs b/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.test.hs index 8d91ca97892..5075889d923 100644 --- a/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.test.hs +++ b/cabal-testsuite/PackageTests/LinkerOptions/NonignoredConfigs/cabal.test.hs @@ -65,7 +65,7 @@ main = cabalTest $ do (testCurrentDir env "basic" ++ show idx) withDirectory ("basic" ++ show idx) $ do packageEnv <- ( ("basic" ++ show idx ++ ".env")) . testWorkDir <$> getTestEnv - let installOptions = ["--disable-deterministic", "--lib", "--package-env=" ++ packageEnv] ++ linkConfigFlags linking ++ ["basic"] + let installOptions = ["--lib", "--package-env=" ++ packageEnv] ++ linkConfigFlags linking ++ ["basic"] recordMode RecordMarked $ do recordHeader $ "install options:" : installOptions cabal "v2-install" installOptions diff --git a/changelog.d/pr-12432.md b/changelog.d/pr-12432.md new file mode 100644 index 00000000000..a1128244ba5 --- /dev/null +++ b/changelog.d/pr-12432.md @@ -0,0 +1,22 @@ +--- +synopsis: Remove unused v2 options +packages: [cabal-install] +prs: 12432 +issues: 12431 +--- + +The v2 commands used to ignore these options: + +- `--user` and `--global` +- `--enable-deterministic` and `--disable-deterministic` +- `--ipid`, `--cid` and `--instantiate-with` +- `--disable-response-files` +- `--allow-depending-on-private-libs` +- `--coverage-for` +- `--ignore-build-tools` +- `--reinstall`, `--avoid-reinstalls` and `--upgrade-dependencies` +- `--shadow-installed-packages` +- `--root-cmd` +- `--only`, which was accepted but never shown + +The v2 commands no longer accept and will error if given any of them. diff --git a/doc/cmd-v2-help/bench.txt b/doc/cmd-v2-help/bench.txt index c5ba5a99f02..a6e91fe7cb9 100644 --- a/doc/cmd-v2-help/bench.txt +++ b/doc/cmd-v2-help/bench.txt @@ -106,8 +106,6 @@ Flags for bench: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -124,14 +122,6 @@ Flags for bench: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -142,8 +132,6 @@ Flags for bench: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -168,17 +156,6 @@ Flags for bench: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -250,9 +227,6 @@ Flags for bench: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -263,15 +237,8 @@ Flags for bench: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -280,7 +247,6 @@ Flags for bench: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/build.txt b/doc/cmd-v2-help/build.txt index c4d2f57a62f..d278d829c16 100644 --- a/doc/cmd-v2-help/build.txt +++ b/doc/cmd-v2-help/build.txt @@ -106,8 +106,6 @@ Flags for build: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -124,14 +122,6 @@ Flags for build: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -142,8 +132,6 @@ Flags for build: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -168,17 +156,6 @@ Flags for build: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -250,9 +227,6 @@ Flags for build: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -263,15 +237,8 @@ Flags for build: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -280,7 +247,6 @@ Flags for build: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/configure.txt b/doc/cmd-v2-help/configure.txt index c97f66063b1..0fae67c2dff 100644 --- a/doc/cmd-v2-help/configure.txt +++ b/doc/cmd-v2-help/configure.txt @@ -119,8 +119,6 @@ Flags for configure: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -137,14 +135,6 @@ Flags for configure: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -155,8 +145,6 @@ Flags for configure: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -181,17 +169,6 @@ Flags for configure: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -263,9 +240,6 @@ Flags for configure: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -276,15 +250,8 @@ Flags for configure: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -293,7 +260,6 @@ Flags for configure: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/exec.txt b/doc/cmd-v2-help/exec.txt index ea4368e9cd8..2a32e186e3b 100644 --- a/doc/cmd-v2-help/exec.txt +++ b/doc/cmd-v2-help/exec.txt @@ -108,8 +108,6 @@ Flags for exec: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -126,14 +124,6 @@ Flags for exec: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -144,8 +134,6 @@ Flags for exec: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -170,17 +158,6 @@ Flags for exec: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -252,9 +229,6 @@ Flags for exec: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -265,15 +239,8 @@ Flags for exec: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -282,7 +249,6 @@ Flags for exec: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/freeze.txt b/doc/cmd-v2-help/freeze.txt index 64269ce7f8e..9ebd2f1bc31 100644 --- a/doc/cmd-v2-help/freeze.txt +++ b/doc/cmd-v2-help/freeze.txt @@ -111,8 +111,6 @@ Flags for freeze: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -129,14 +127,6 @@ Flags for freeze: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -147,8 +137,6 @@ Flags for freeze: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -173,17 +161,6 @@ Flags for freeze: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -255,9 +232,6 @@ Flags for freeze: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -268,15 +242,8 @@ Flags for freeze: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -285,7 +252,6 @@ Flags for freeze: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/gen-bounds.txt b/doc/cmd-v2-help/gen-bounds.txt index 8764aac5bda..c5154e59f8c 100644 --- a/doc/cmd-v2-help/gen-bounds.txt +++ b/doc/cmd-v2-help/gen-bounds.txt @@ -97,8 +97,6 @@ Flags for gen-bounds: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -115,14 +113,6 @@ Flags for gen-bounds: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -133,8 +123,6 @@ Flags for gen-bounds: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -159,17 +147,6 @@ Flags for gen-bounds: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -241,9 +218,6 @@ Flags for gen-bounds: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -254,15 +228,8 @@ Flags for gen-bounds: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -271,7 +238,6 @@ Flags for gen-bounds: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/haddock.txt b/doc/cmd-v2-help/haddock.txt index 2e5046e47f7..aca0a88bf92 100644 --- a/doc/cmd-v2-help/haddock.txt +++ b/doc/cmd-v2-help/haddock.txt @@ -111,8 +111,6 @@ Flags for haddock: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -129,14 +127,6 @@ Flags for haddock: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -147,8 +137,6 @@ Flags for haddock: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -173,17 +161,6 @@ Flags for haddock: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -255,9 +232,6 @@ Flags for haddock: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -268,15 +242,8 @@ Flags for haddock: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -285,7 +252,6 @@ Flags for haddock: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/install.txt b/doc/cmd-v2-help/install.txt index 8850a2a2890..e6caf6a68d4 100644 --- a/doc/cmd-v2-help/install.txt +++ b/doc/cmd-v2-help/install.txt @@ -89,8 +89,6 @@ Flags for install: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -107,14 +105,6 @@ Flags for install: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -125,8 +115,6 @@ Flags for install: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -151,17 +139,6 @@ Flags for install: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -233,9 +210,6 @@ Flags for install: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -246,15 +220,8 @@ Flags for install: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -263,7 +230,6 @@ Flags for install: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/list-bin.txt b/doc/cmd-v2-help/list-bin.txt index 3b8b8f01156..e282b6ce8f1 100644 --- a/doc/cmd-v2-help/list-bin.txt +++ b/doc/cmd-v2-help/list-bin.txt @@ -98,8 +98,6 @@ Flags for list-bin: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -116,14 +114,6 @@ Flags for list-bin: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -134,8 +124,6 @@ Flags for list-bin: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -160,17 +148,6 @@ Flags for list-bin: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -242,9 +219,6 @@ Flags for list-bin: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -255,15 +229,8 @@ Flags for list-bin: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -272,7 +239,6 @@ Flags for list-bin: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/outdated.txt b/doc/cmd-v2-help/outdated.txt index 85a07dd7493..36786f790e0 100644 --- a/doc/cmd-v2-help/outdated.txt +++ b/doc/cmd-v2-help/outdated.txt @@ -99,8 +99,6 @@ Flags for outdated: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -117,14 +115,6 @@ Flags for outdated: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -135,8 +125,6 @@ Flags for outdated: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -161,17 +149,6 @@ Flags for outdated: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -243,9 +220,6 @@ Flags for outdated: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -256,15 +230,8 @@ Flags for outdated: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -273,7 +240,6 @@ Flags for outdated: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/path.txt b/doc/cmd-v2-help/path.txt index 74f4a3b3355..6ecd30b5c19 100644 --- a/doc/cmd-v2-help/path.txt +++ b/doc/cmd-v2-help/path.txt @@ -100,8 +100,6 @@ Flags for path: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -118,14 +116,6 @@ Flags for path: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -136,8 +126,6 @@ Flags for path: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -162,17 +150,6 @@ Flags for path: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -244,9 +221,6 @@ Flags for path: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -257,15 +231,8 @@ Flags for path: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -274,7 +241,6 @@ Flags for path: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/repl.txt b/doc/cmd-v2-help/repl.txt index 2913c652167..15b924a4b9b 100644 --- a/doc/cmd-v2-help/repl.txt +++ b/doc/cmd-v2-help/repl.txt @@ -109,8 +109,6 @@ Flags for repl: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -127,14 +125,6 @@ Flags for repl: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -145,8 +135,6 @@ Flags for repl: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -171,17 +159,6 @@ Flags for repl: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -253,9 +230,6 @@ Flags for repl: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -266,15 +240,8 @@ Flags for repl: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -283,7 +250,6 @@ Flags for repl: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/run.txt b/doc/cmd-v2-help/run.txt index f8dd2b32a58..60d4f46bd40 100644 --- a/doc/cmd-v2-help/run.txt +++ b/doc/cmd-v2-help/run.txt @@ -112,8 +112,6 @@ Flags for run: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -130,14 +128,6 @@ Flags for run: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -148,8 +138,6 @@ Flags for run: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -174,17 +162,6 @@ Flags for run: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -256,9 +233,6 @@ Flags for run: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -269,15 +243,8 @@ Flags for run: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -286,7 +253,6 @@ Flags for run: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/target.txt b/doc/cmd-v2-help/target.txt index 6dddae62364..fc9e19ac4a1 100644 --- a/doc/cmd-v2-help/target.txt +++ b/doc/cmd-v2-help/target.txt @@ -128,8 +128,6 @@ Flags for target: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -146,14 +144,6 @@ Flags for target: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -164,8 +154,6 @@ Flags for target: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -190,17 +178,6 @@ Flags for target: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -272,9 +249,6 @@ Flags for target: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -285,15 +259,8 @@ Flags for target: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -302,7 +269,6 @@ Flags for target: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/test.txt b/doc/cmd-v2-help/test.txt index 00c529d1a3b..4bdcc4c25d6 100644 --- a/doc/cmd-v2-help/test.txt +++ b/doc/cmd-v2-help/test.txt @@ -108,8 +108,6 @@ Flags for test: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -126,14 +124,6 @@ Flags for test: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -144,8 +134,6 @@ Flags for test: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -170,17 +158,6 @@ Flags for test: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -252,9 +229,6 @@ Flags for test: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -265,15 +239,8 @@ Flags for test: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -282,7 +249,6 @@ Flags for test: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use diff --git a/doc/cmd-v2-help/update.txt b/doc/cmd-v2-help/update.txt index cc4e6a3ea26..e76d7c4aa13 100644 --- a/doc/cmd-v2-help/update.txt +++ b/doc/cmd-v2-help/update.txt @@ -98,8 +98,6 @@ Flags for update: --disable-library-stripping # Disable strip libraries upon installation to reduce binary sizes --configure-option=OPT # Extra option for configure - --user # Enable doing a per-user installation - --global # Disable doing a per-user installation --package-db=DB # Append the given package database to the list of package databases used (to satisfy dependencies and register into). May be a @@ -116,14 +114,6 @@ Flags for update: false. --extra-include-dirs=PATH # A list of directories to search for header files - --enable-deterministic # Enable Try to be as deterministic as possible - (used by the test suite) - --disable-deterministic # Disable Try to be as deterministic as possible - (used by the test suite) - --ipid=IPID # Installed package ID to compile this package - as - --cid=CID # Installed component ID to compile this - component as --extra-lib-dirs=PATH # A list of directories to search for external libraries --extra-lib-dirs-static=PATH # A list of directories to search for external @@ -134,8 +124,6 @@ Flags for update: --extra-prog-path=PATH # A list of directories to search for required programs (in addition to the normal search locations) - --instantiate-with=NAME=MOD # A mapping of signature names to concrete - module instantiations. --enable-tests # Enable dependency checking and compilation for test suites listed in the package description file. @@ -160,17 +148,6 @@ Flags for update: (GHC only) --disable-relocatable # Disable building a package that is relocatable. (GHC only) - --disable-response-files # Enable workaround for old versions of programs - like "ar" that do not support @file arguments - --allow-depending-on-private-libs - # Allow depending on private libraries. If set, - the library visibility check MUST be done - externally. - --coverage-for=UNITID # A list of unit-ids of libraries to include in - the Haskell Program Coverage report. - --ignore-build-tools # Ignore build tool dependencies. If set, - declared build tools needn't be found for - compilation to proceed. --with-PROG=PATH # Give the path to PROG --PROG-option=OPT # Give an extra option to PROG (passed directly to PROG as a single argument) @@ -242,9 +219,6 @@ Flags for update: version. Installed-or-latest will prefer installed versions and the latest version otherwise. - --shadow-installed-packages # If multiple package instances of the same - version are installed, treat all but one as - shadowed. --strong-flags # Do not defer flag choices (this used to be the default in cabal-install <= 1.20). --allow-boot-library-installs @@ -255,15 +229,8 @@ Flags for update: # Require these packages to have constraints on them if they are to be selected (default: none). - --reinstall # Install even if it means installing the same - version again. - --avoid-reinstalls # Do not select versions that would - destructively overwrite installed packages. --force-reinstalls # Reinstall packages even if they will most likely break other installed packages. - --upgrade-dependencies # Pick the latest version for all dependencies, - rather than trying to pick an installed - version. --only-dependencies # Install only the dependencies necessary to build the given packages --dependencies-only # A synonym for --only-dependencies @@ -272,7 +239,6 @@ Flags for update: (e.g. '@1474732068'), ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD'). - --root-cmd=COMMAND # (No longer supported, do not use.) --build-summary=TEMPLATE # Save build summaries to file (name template can use $pkgid, $compiler, $os, $arch) --build-log=TEMPLATE # Log all builds to file (name template can use