diff --git a/cabal-install/src/Distribution/Client/ProjectPlanning.hs b/cabal-install/src/Distribution/Client/ProjectPlanning.hs index 50423b2d1dfcb643790e5d0262eeba28928c1d32..98ef7b67789113dec85a8a226f8b26f5011835a7 100644 --- a/cabal-install/src/Distribution/Client/ProjectPlanning.hs +++ b/cabal-install/src/Distribution/Client/ProjectPlanning.hs @@ -396,8 +396,8 @@ rebuildProjectConfig sequence_ [ do - info verbosity . render . vcat $ - text "this build was affected by the following (project) config files:" + notice verbosity . render . vcat $ + text "Configuration is affected by the following files:" : [text "-" <+> docProjectConfigPath path] | Explicit path <- Set.toList $ projectConfigProvenance projectConfig ] diff --git a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external-target.out b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external-target.out index ff8d8b3f518b29223bdf13ba65be91c9c266dccc..abca8b3cc98bb1f7b0013f90d7a9745e76ef2c89 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external-target.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external-target.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.external.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external.out b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external.out index 1c42b18b90a87570aa1bd76803406f9123ab78d2..d5aca3080fdb3234e9daafb3ec532ee2e2bfbc10 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-external.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.external.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal-target.out b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal-target.out index 2a91ccc557a4dcdb763b4720c93611a0b1248f4e..f9dfec2b574cb022eb767eb60135d1212525c33d 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal-target.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal-target.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.internal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.out b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.out index 42f77888c8ca18b2aa04b3fdd5914589b8601923..1bf07c3203431682796784c8f667d8e17869a089 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.internal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes2/cov.out b/cabal-testsuite/PackageTests/Backpack/Includes2/cov.out index 0d1b2c027b5d5e3a3e87527ab4287c85df807fdc..dde9cb4b37a68c7734ea963728fa15b0ef48c48f 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes2/cov.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes2/cov.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-external.out b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-external.out index 6e2abbf4a0c417d6e3fbc012a099b409c0904407..5c8ce03149791da5a26cd6b13ce3879aa7913b0f 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-external.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-external.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.external.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-internal.out b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-internal.out index f7e2f2d75ef5c014fa7aa58acfc7f99610c931e7..9597b8ca71905fd7154cd1a65f1688a1b0bbd8a2 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-internal.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-internal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.internal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -18,8 +20,7 @@ Configuring library 'indef' instantiated with Data.Map = containers-<VERSION>:Data.Map for I-0.1.0.0... Preprocessing library 'indef' for I-0.1.0.0... -Building library 'indef' instantiated with - Data.Map = containers-<VERSION>:Data.Map +Building library 'indef' instantiated with Data.Map = containers-<VERSION>:Data.Map for I-0.1.0.0... Configuring executable 'exe' for I-0.1.0.0... Preprocessing executable 'exe' for I-0.1.0.0... diff --git a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-repo.out b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-repo.out index d6fb3844873edc4a23f23d22db39e42aa6fe1af1..d6033fc608c218cfc26aed6a03fe82eaaa358624 100644 --- a/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-repo.out +++ b/cabal-testsuite/PackageTests/Backpack/Includes3/cabal-repo.out @@ -1,6 +1,10 @@ # cabal v2-update +Configuration is affected by the following files: +- cabal.repo.project Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.repo.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/Reexport2/cabal.out b/cabal-testsuite/PackageTests/Backpack/Reexport2/cabal.out index 31c9428dcaf2e7aac1629c65655b47f0f7fcd31a..2709b24a4d8156afcdfbf8b3467efa78a30b57c0 100644 --- a/cabal-testsuite/PackageTests/Backpack/Reexport2/cabal.out +++ b/cabal-testsuite/PackageTests/Backpack/Reexport2/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: Problem with module re-exports: diff --git a/cabal-testsuite/PackageTests/Backpack/T6385/cabal.out b/cabal-testsuite/PackageTests/Backpack/T6385/cabal.out index ad3387bf28b6cc3c26607afc042bc7abd944b1fa..7147f2ead8b6546110b0fe29f6b1654ad99c48c4 100644 --- a/cabal-testsuite/PackageTests/Backpack/T6385/cabal.out +++ b/cabal-testsuite/PackageTests/Backpack/T6385/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Backpack/bkpcabal01/cabal.out b/cabal-testsuite/PackageTests/Backpack/bkpcabal01/cabal.out index 3ebec1cc5c1268315a4ccf11dea10ef9dde2f19d..6308ceaefd3d3461a0811074dfb2e3459d4b8fc0 100644 --- a/cabal-testsuite/PackageTests/Backpack/bkpcabal01/cabal.out +++ b/cabal-testsuite/PackageTests/Backpack/bkpcabal01/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/BuildAutogenPackageGuard/cabal.out b/cabal-testsuite/PackageTests/BuildAutogenPackageGuard/cabal.out index 512a50e37ee8e18ff4af8e9318b1cbfd74ea3e7e..8224b23be4615bbc9a7e6a3de24cba6a6c130f05 100644 --- a/cabal-testsuite/PackageTests/BuildAutogenPackageGuard/cabal.out +++ b/cabal-testsuite/PackageTests/BuildAutogenPackageGuard/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/BuildDeps/DepCycle/cabal.out b/cabal-testsuite/PackageTests/BuildDeps/DepCycle/cabal.out index 966c934480bc5effc3b55ca3569c035e336c446d..053a770072eb2deb74ca459888e89502b741d0ba 100644 --- a/cabal-testsuite/PackageTests/BuildDeps/DepCycle/cabal.out +++ b/cabal-testsuite/PackageTests/BuildDeps/DepCycle/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: Dependency cycle between the following components: diff --git a/cabal-testsuite/PackageTests/BuildDeps/InternalLibrary1/cabal.out b/cabal-testsuite/PackageTests/BuildDeps/InternalLibrary1/cabal.out index f00101f9ba285b7596a15d2aa0d0ee819204cc98..eced886a5e8c2db124721eddb414bcbf43042bce 100644 --- a/cabal-testsuite/PackageTests/BuildDeps/InternalLibrary1/cabal.out +++ b/cabal-testsuite/PackageTests/BuildDeps/InternalLibrary1/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackage/use-local-version-of-package.out b/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackage/use-local-version-of-package.out index a1636d8cbff772ceef7884399dcdc73b8588abc2..92f3698edc6834b131172bff9ac4bf7ad1a4f6f1 100644 --- a/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackage/use-local-version-of-package.out +++ b/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackage/use-local-version-of-package.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -11,6 +13,8 @@ Building executable 'my-exe' for pkg-1.0... # pkg my-exe local pkg-1.0 # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackageForSetup/use-local-package-as-setup-dep.out b/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackageForSetup/use-local-package-as-setup-dep.out index 482ff118031f4cef04b0a343e644c3ab9793b33e..de46b91c39641b6196b468aeecc293f82e27ba8d 100644 --- a/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackageForSetup/use-local-package-as-setup-dep.out +++ b/cabal-testsuite/PackageTests/BuildTargets/UseLocalPackageForSetup/use-local-package-as-setup-dep.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/BuildToolDepends/setup.out b/cabal-testsuite/PackageTests/BuildToolDepends/setup.out index 9a873303de89cefb357635ed0cf4b0f008f26730..1c2bd108bca53d8f74b1db67ca149db0c40df3ec 100644 --- a/cabal-testsuite/PackageTests/BuildToolDepends/setup.out +++ b/cabal-testsuite/PackageTests/BuildToolDepends/setup.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/BuildTools/External/cabal.out b/cabal-testsuite/PackageTests/BuildTools/External/cabal.out index b61bf0f1886cd018c5444e1e2bcb1d86bff3db67..8fee1586cdcbf026fc3a8036cf1e70ebfd52d0fe 100644 --- a/cabal-testsuite/PackageTests/BuildTools/External/cabal.out +++ b/cabal-testsuite/PackageTests/BuildTools/External/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/BuildTools/Internal/cabal.out b/cabal-testsuite/PackageTests/BuildTools/Internal/cabal.out index 37cab90e6633491bfeaf073b9bb784a9b16179cd..73d2639a82fae22fb30739e8f11c832c986fdbfe 100644 --- a/cabal-testsuite/PackageTests/BuildTools/Internal/cabal.out +++ b/cabal-testsuite/PackageTests/BuildTools/Internal/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CmmSources/cabal.out b/cabal-testsuite/PackageTests/CmmSources/cabal.out index 1664b64c7fc197cee074e229705cff09fa6ae482..f05bf7aa5a4ce661a701d6758645b05afe95c3a6 100644 --- a/cabal-testsuite/PackageTests/CmmSources/cabal.out +++ b/cabal-testsuite/PackageTests/CmmSources/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CmmSourcesDyn/cabal.out b/cabal-testsuite/PackageTests/CmmSourcesDyn/cabal.out index 1664b64c7fc197cee074e229705cff09fa6ae482..f05bf7aa5a4ce661a701d6758645b05afe95c3a6 100644 --- a/cabal-testsuite/PackageTests/CmmSourcesDyn/cabal.out +++ b/cabal-testsuite/PackageTests/CmmSourcesDyn/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CmmSourcesExe/cabal.out b/cabal-testsuite/PackageTests/CmmSourcesExe/cabal.out index 77b94906515a80d63cb40a87a030d241d1e7a86b..8ad5a59bac4611fc09194b50195a3d762ce4f5de 100644 --- a/cabal-testsuite/PackageTests/CmmSourcesExe/cabal.out +++ b/cabal-testsuite/PackageTests/CmmSourcesExe/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out index 7a6333d21bcc65d98dba10d2b2f638c8333ee982..be9a79bbc227a4d8e7edf1512ebeaa5e46a3fded 100644 --- a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out +++ b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.out @@ -1,6 +1,11 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-run +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- extra.project + imported by: cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -62,6 +67,15 @@ cyclical import of cyclical-2-out-out-self-b.config; imported by: cyclical-2-out-out-self.project # checking that cyclical check doesn't false-positive on same file names in different folders; hoping within a folder and then into a subfolder # cabal v2-build +Configuration is affected by the following files: +- noncyclical-same-filename-a.config + imported by: noncyclical-same-filename-a.project +Configuration is affected by the following files: +- noncyclical-same-filename-a.project +Configuration is affected by the following files: +- same-filename/noncyclical-same-filename-a.config + imported by: noncyclical-same-filename-a.config + imported by: noncyclical-same-filename-a.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -71,6 +85,15 @@ Preprocessing library for my-0.1... Building library for my-0.1... # checking that cyclical check doesn't false-positive on same file names in different folders; hoping into a subfolder and then back out again # cabal v2-build +Configuration is affected by the following files: +- noncyclical-same-filename-b.config + imported by: same-filename/noncyclical-same-filename-b.config + imported by: noncyclical-same-filename-b.project +Configuration is affected by the following files: +- noncyclical-same-filename-b.project +Configuration is affected by the following files: +- same-filename/noncyclical-same-filename-b.config + imported by: noncyclical-same-filename-b.project Up to date # checking that cyclical check catches a same file name that imports itself # cabal v2-build @@ -101,9 +124,139 @@ cyclical import of cyclical-same-filename-out-out-back.config; imported by: cyclical-same-filename-out-out-back.project # checking that imports work skipping into a subfolder and then back out again and again # cabal v2-build +Configuration is affected by the following files: +- hops-0.project +Configuration is affected by the following files: +- hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops-6.config + imported by: hops/hops-5.config + imported by: hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops-8.config + imported by: hops/hops-7.config + imported by: hops-6.config + imported by: hops/hops-5.config + imported by: hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops/hops-5.config + imported by: hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops/hops-7.config + imported by: hops-6.config + imported by: hops/hops-5.config + imported by: hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project +Configuration is affected by the following files: +- hops/hops-9.config + imported by: hops-8.config + imported by: hops/hops-7.config + imported by: hops-6.config + imported by: hops/hops-5.config + imported by: hops-4.config + imported by: hops/hops-3.config + imported by: hops-2.config + imported by: hops/hops-1.config + imported by: hops-0.project Up to date # checking conflicting constraints skipping into a subfolder and then back out again and again # cabal v2-build +Configuration is affected by the following files: +- oops-0.project +Configuration is affected by the following files: +- oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops-6.config + imported by: oops/oops-5.config + imported by: oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops-8.config + imported by: oops/oops-7.config + imported by: oops-6.config + imported by: oops/oops-5.config + imported by: oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops/oops-5.config + imported by: oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops/oops-7.config + imported by: oops-6.config + imported by: oops/oops-5.config + imported by: oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project +Configuration is affected by the following files: +- oops/oops-9.config + imported by: oops-8.config + imported by: oops/oops-7.config + imported by: oops-6.config + imported by: oops/oops-5.config + imported by: oops-4.config + imported by: oops/oops-3.config + imported by: oops-2.config + imported by: oops/oops-1.config + imported by: oops-0.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs index c1aea47ce85d7f81231385581a7e9adc2d9324d0..b5429e397769be117605087021382d50aac624c2 100644 --- a/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs +++ b/cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hs @@ -111,7 +111,7 @@ main = cabalTest . withRepo "repo" . recordMode RecordMarked $ do -- +-- hops/hops-9.config (no further imports so not cyclical) log "checking that imports work skipping into a subfolder and then back out again and again" hopping <- cabal' "v2-build" [ "--project-file=hops-0.project" ] - assertOutputContains "this build was affected by the following (project) config files:" hopping + assertOutputContains "Configuration is affected by the following files" hopping assertOutputContains "- hops-0.project" hopping assertOutputContains diff --git a/cabal-testsuite/PackageTests/ConfigFile/T8487/cabal.out b/cabal-testsuite/PackageTests/ConfigFile/T8487/cabal.out index bf17f93ac6c744c4717800b33092f2f294b0b7e7..507f9fc2ccb8876a4dc723a04777015c239c367d 100644 --- a/cabal-testsuite/PackageTests/ConfigFile/T8487/cabal.out +++ b/cabal-testsuite/PackageTests/ConfigFile/T8487/cabal.out @@ -1,4 +1,6 @@ # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O2 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Configure/cabal.out b/cabal-testsuite/PackageTests/Configure/cabal.out index 79a33e688922186c363be90a29258fd10cae5961..019ac30955fcd075d9ef3145db4c20a7af9dc757 100644 --- a/cabal-testsuite/PackageTests/Configure/cabal.out +++ b/cabal-testsuite/PackageTests/Configure/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CopyHie/cabal.out b/cabal-testsuite/PackageTests/CopyHie/cabal.out index a45daf3783189530b48ea778bd10025e21cb98e5..d6e8a9f3f4251eeede6d3b1b7df20e4448693a71 100644 --- a/cabal-testsuite/PackageTests/CopyHie/cabal.out +++ b/cabal-testsuite/PackageTests/CopyHie/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CustomSegfault/cabal.out b/cabal-testsuite/PackageTests/CustomSegfault/cabal.out index 80f27e69b58ff9600fbfe125a201f7d86c69a752..2c7f2ea0ddc5e7862737db4f6b081d8afb9345dd 100644 --- a/cabal-testsuite/PackageTests/CustomSegfault/cabal.out +++ b/cabal-testsuite/PackageTests/CustomSegfault/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out b/cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out index 8597dcc94df4ab1b07e616117d0ee446343ee78c..f46d372f3571ad4cf41ae9bc258b2d9736ea2d59 100644 --- a/cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out +++ b/cabal-testsuite/PackageTests/CustomTestCoverage/cabal.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CustomWithoutCabal/cabal.out b/cabal-testsuite/PackageTests/CustomWithoutCabal/cabal.out index 74d7f6adf317428d9d8ea60324dbd6ad93694a91..b2e823ff426024b8ad1e858fefc2003a963889e3 100644 --- a/cabal-testsuite/PackageTests/CustomWithoutCabal/cabal.out +++ b/cabal-testsuite/PackageTests/CustomWithoutCabal/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/CustomWithoutCabalDefaultMain/cabal.out b/cabal-testsuite/PackageTests/CustomWithoutCabalDefaultMain/cabal.out index 0e26184375cb6df81370a03b5eeca19eafb9781f..49829f86e53b2b49762985d0a8cb4ea537472fc2 100644 --- a/cabal-testsuite/PackageTests/CustomWithoutCabalDefaultMain/cabal.out +++ b/cabal-testsuite/PackageTests/CustomWithoutCabalDefaultMain/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Exec/cabal.out b/cabal-testsuite/PackageTests/Exec/cabal.out index 7ce2cfb90f02f115059fa839164c3adfd49793b9..28952d14e4e5b9ed00dd53211456932683e71e67 100644 --- a/cabal-testsuite/PackageTests/Exec/cabal.out +++ b/cabal-testsuite/PackageTests/Exec/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExecModern/cabal.out b/cabal-testsuite/PackageTests/ExecModern/cabal.out index fc4e1b601b317a9181310bed6d370806e9437f98..0e1b514edcbcc6f41d3c0845dd44df7836f4d67e 100644 --- a/cabal-testsuite/PackageTests/ExecModern/cabal.out +++ b/cabal-testsuite/PackageTests/ExecModern/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExternalCommand/cabal.out b/cabal-testsuite/PackageTests/ExternalCommand/cabal.out index 1c4c24db55c1f7af2090527e26e4646dbab0a3e1..a5139bb22a6897245b7bc5d9489a9bd9407ef872 100644 --- a/cabal-testsuite/PackageTests/ExternalCommand/cabal.out +++ b/cabal-testsuite/PackageTests/ExternalCommand/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExternalCommandEnv/cabal.out b/cabal-testsuite/PackageTests/ExternalCommandEnv/cabal.out index 1c4c24db55c1f7af2090527e26e4646dbab0a3e1..a5139bb22a6897245b7bc5d9489a9bd9407ef872 100644 --- a/cabal-testsuite/PackageTests/ExternalCommandEnv/cabal.out +++ b/cabal-testsuite/PackageTests/ExternalCommandEnv/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExternalCommandExitCode/cabal.out b/cabal-testsuite/PackageTests/ExternalCommandExitCode/cabal.out index 1c4c24db55c1f7af2090527e26e4646dbab0a3e1..a5139bb22a6897245b7bc5d9489a9bd9407ef872 100644 --- a/cabal-testsuite/PackageTests/ExternalCommandExitCode/cabal.out +++ b/cabal-testsuite/PackageTests/ExternalCommandExitCode/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExternalCommandHelp/cabal.out b/cabal-testsuite/PackageTests/ExternalCommandHelp/cabal.out index 1c4c24db55c1f7af2090527e26e4646dbab0a3e1..a5139bb22a6897245b7bc5d9489a9bd9407ef872 100644 --- a/cabal-testsuite/PackageTests/ExternalCommandHelp/cabal.out +++ b/cabal-testsuite/PackageTests/ExternalCommandHelp/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExtraPackages/cabal.out b/cabal-testsuite/PackageTests/ExtraPackages/cabal.out index 95c356b73f6998d2d6102102cc32376902e38ab1..0ae87fbc8ef4c9831054382c4c4524cf7e497da7 100644 --- a/cabal-testsuite/PackageTests/ExtraPackages/cabal.out +++ b/cabal-testsuite/PackageTests/ExtraPackages/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ExtraProgPath/setup.out b/cabal-testsuite/PackageTests/ExtraProgPath/setup.out index 01fc2e5cfc08c71c58891c4aafd175a83f363b7f..a64476a293971e28826562094dad75be1e1f9259 100644 --- a/cabal-testsuite/PackageTests/ExtraProgPath/setup.out +++ b/cabal-testsuite/PackageTests/ExtraProgPath/setup.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Warning: cannot determine version of <ROOT>/pkg-config : "" Resolving dependencies... diff --git a/cabal-testsuite/PackageTests/FFI/CSourceDependsStub/cabal.out b/cabal-testsuite/PackageTests/FFI/CSourceDependsStub/cabal.out index cdfe4ab10de3b0ada8fe435a2ebe57daa533bbdf..d7d7f802298f13d06af46cb2df5aad5d26853e65 100644 --- a/cabal-testsuite/PackageTests/FFI/CSourceDependsStub/cabal.out +++ b/cabal-testsuite/PackageTests/FFI/CSourceDependsStub/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/FFI/ForeignOptsC/cabal.out b/cabal-testsuite/PackageTests/FFI/ForeignOptsC/cabal.out index 97e0b60ec7cd1f0dcc235d8594aa0416faba064d..2db681529928f1e35d706832f69c5cb3a699d026 100644 --- a/cabal-testsuite/PackageTests/FFI/ForeignOptsC/cabal.out +++ b/cabal-testsuite/PackageTests/FFI/ForeignOptsC/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/FFI/ForeignOptsCxx/cabal.out b/cabal-testsuite/PackageTests/FFI/ForeignOptsCxx/cabal.out index 522304298c45350d3a67a868888bdccb2c7e165a..a95271222aab81d52e7850c4c074166b0cf0e4cf 100644 --- a/cabal-testsuite/PackageTests/FFI/ForeignOptsCxx/cabal.out +++ b/cabal-testsuite/PackageTests/FFI/ForeignOptsCxx/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/HaddockArgs/hoogle.out b/cabal-testsuite/PackageTests/HaddockArgs/hoogle.out index 3aeb5d42e04e1acaf87d5531033efc451503b00f..4f2b21030451ec9c3e263299bfe6ff3989c77c5e 100644 --- a/cabal-testsuite/PackageTests/HaddockArgs/hoogle.out +++ b/cabal-testsuite/PackageTests/HaddockArgs/hoogle.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/HaddockArgs/quickjump.out b/cabal-testsuite/PackageTests/HaddockArgs/quickjump.out index c892ec8e80a1cd2a61fb2bce3b12de8a4739716a..4e304d38ece10e5638ac8582c1ca835c70cc1e9c 100644 --- a/cabal-testsuite/PackageTests/HaddockArgs/quickjump.out +++ b/cabal-testsuite/PackageTests/HaddockArgs/quickjump.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/HaddockBuildDepends/cabal.out b/cabal-testsuite/PackageTests/HaddockBuildDepends/cabal.out index 8eff18e3d6c35afc42ec31096ce1e2c0968a2a0b..8b0daaa45ad4ad8e28d61c8f3d74f72cff67c879 100644 --- a/cabal-testsuite/PackageTests/HaddockBuildDepends/cabal.out +++ b/cabal-testsuite/PackageTests/HaddockBuildDepends/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/HaddockProject/haddock-project.out b/cabal-testsuite/PackageTests/HaddockProject/haddock-project.out index bfa16bf91c54ba8d3ac3e3a628d083728c998ef4..4f21f859ad9cc6e676fac34fc4ac28f7da34f319 100644 --- a/cabal-testsuite/PackageTests/HaddockProject/haddock-project.out +++ b/cabal-testsuite/PackageTests/HaddockProject/haddock-project.out @@ -3,6 +3,8 @@ Downloading the latest package list from test-local-repo # cabal haddock-project Warning: haddock-project command is experimental, it might break in the future Resolving dependencies... +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - async-2.2.4 (lib) (requires build) diff --git a/cabal-testsuite/PackageTests/HaddockWarn/cabal.out b/cabal-testsuite/PackageTests/HaddockWarn/cabal.out index fae3d5423de87dde97aed4689bb0143f7d976002..bdf609a59404ac1cb80f0bd32ec9c49e79b9c7fc 100644 --- a/cabal-testsuite/PackageTests/HaddockWarn/cabal.out +++ b/cabal-testsuite/PackageTests/HaddockWarn/cabal.out @@ -1,3 +1,5 @@ # cabal v2-haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... -No documentation was generated as this package does not contain a library. Perhaps you want to use the --haddock-all flag, or one or more of the --haddock-executables, --haddock-tests, --haddock-benchmarks or --haddock-internal flags. \ No newline at end of file +No documentation was generated as this package does not contain a library. Perhaps you want to use the --haddock-all flag, or one or more of the --haddock-executables, --haddock-tests, --haddock-benchmarks or --haddock-internal flags. diff --git a/cabal-testsuite/PackageTests/InternalLibraries/cabal-per-package.out b/cabal-testsuite/PackageTests/InternalLibraries/cabal-per-package.out index 72a24d04059117d2edd2ed5e9fa520b9cf52aa87..fabb3eb96bf4bdd5b107a03a7a70e6f02cc38879 100644 --- a/cabal-testsuite/PackageTests/InternalLibraries/cabal-per-package.out +++ b/cabal-testsuite/PackageTests/InternalLibraries/cabal-per-package.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: Internal libraries only supported with per-component builds. diff --git a/cabal-testsuite/PackageTests/InternalLibraries/cabal.out b/cabal-testsuite/PackageTests/InternalLibraries/cabal.out index fba3d64f4726c6b89c07a8c90db4a4ac84bbb553..dce636019a9a72e0d7bd258a4ba3bef34c2fff41 100644 --- a/cabal-testsuite/PackageTests/InternalLibraries/cabal.out +++ b/cabal-testsuite/PackageTests/InternalLibraries/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/JS/JsSources/other-arch.out b/cabal-testsuite/PackageTests/JS/JsSources/other-arch.out index a07cc17dd35088f03f7ea28b6223c14d92438a7d..5a9e791cfce965f20b02607a2624675ccb08f59e 100644 --- a/cabal-testsuite/PackageTests/JS/JsSources/other-arch.out +++ b/cabal-testsuite/PackageTests/JS/JsSources/other-arch.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out b/cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out index 96e1bbadcf91012d9a073d4720e3c61b94a178be..441e8b14ba4cd225a62ab458ab134138c6ce34d9 100644 --- a/cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out +++ b/cabal-testsuite/PackageTests/JS/JsSourcesExe/other-arch.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.out b/cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.out index 3728cc3e70eefd2ed6d825f34af5561443647f05..a3613ceff255fa46f88fbacfbf9b4367da068f3b 100644 --- a/cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.out +++ b/cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.out @@ -1,4 +1,6 @@ # cabal list-bin +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultiRepl/CabalMacros/cabal.out b/cabal-testsuite/PackageTests/MultiRepl/CabalMacros/cabal.out index 9c141d7ac42879c5aae3e65d1d312a1a0490882e..ec51444c0e4df9320e10c8720884420302f9ea70 100644 --- a/cabal-testsuite/PackageTests/MultiRepl/CabalMacros/cabal.out +++ b/cabal-testsuite/PackageTests/MultiRepl/CabalMacros/cabal.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultiRepl/EnabledClosure/cabal.out b/cabal-testsuite/PackageTests/MultiRepl/EnabledClosure/cabal.out index 8944a7dba34387ed619576406de753a5b953f43d..90c934d95353b0ef3db1dcb92c750018c19aa980 100644 --- a/cabal-testsuite/PackageTests/MultiRepl/EnabledClosure/cabal.out +++ b/cabal-testsuite/PackageTests/MultiRepl/EnabledClosure/cabal.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultiRepl/EnabledSucc/cabal.out b/cabal-testsuite/PackageTests/MultiRepl/EnabledSucc/cabal.out index 6571793245e2fd120f531f281c016375cf8a9451..e077254e1026e97f34e4153aa3cb52fc9acf9aa2 100644 --- a/cabal-testsuite/PackageTests/MultiRepl/EnabledSucc/cabal.out +++ b/cabal-testsuite/PackageTests/MultiRepl/EnabledSucc/cabal.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultiRepl/ExtraOptions/cabal.out b/cabal-testsuite/PackageTests/MultiRepl/ExtraOptions/cabal.out index 2032e6d4542e5a73495683bb37e679a0b681e4c4..ce8177d9bd9d92c607bd25ee65a7c56388245837 100644 --- a/cabal-testsuite/PackageTests/MultiRepl/ExtraOptions/cabal.out +++ b/cabal-testsuite/PackageTests/MultiRepl/ExtraOptions/cabal.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultiRepl/NotEnabledFail/cabal.multirepl-a.out b/cabal-testsuite/PackageTests/MultiRepl/NotEnabledFail/cabal.multirepl-a.out index 3b38560a7d4f5a848cfa2908f02f6bfcf42add25..108004e859e59f84beb579857a06fd9a936f6c06 100644 --- a/cabal-testsuite/PackageTests/MultiRepl/NotEnabledFail/cabal.multirepl-a.out +++ b/cabal-testsuite/PackageTests/MultiRepl/NotEnabledFail/cabal.multirepl-a.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7076] Cannot open a repl for multiple components at once. The targets 'pkg-a' and 'pkg-b' refer to different components.. diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/Failing/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/Failing/cabal.out index 5dee45c63bd99ff590f657fa2ed6a74181a3e804..a1a6e519a55afc0c06418b57bafe9c2a179e1939 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/Failing/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/Failing/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/Successful/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/Successful/cabal.out index 272b9fc6b4cde7450052abce9352927dc420a033..48ccbdc36cb3a5ae95c91b2bd80cfabf88bdaa7e 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/Successful/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/Successful/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/T6083Post/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/T6083Post/cabal.out index fb7bb90085f1a147c7ee09e703d113e704b31f83..b0122dc2950ea5cbc6c0bea8969c3e8644fad971 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/T6083Post/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/T6083Post/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/T6083PostMixin/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/T6083PostMixin/cabal.out index fb7bb90085f1a147c7ee09e703d113e704b31f83..b0122dc2950ea5cbc6c0bea8969c3e8644fad971 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/T6083PostMixin/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/T6083PostMixin/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/T6083Pre/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/T6083Pre/cabal.out index fbeef6a0af75b44ffc566d61df8d124c910e961a..0eae2556c8cb77d9258499a8797c8f73435eb6e4 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/T6083Pre/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/T6083Pre/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/T6083PreMixin/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/T6083PreMixin/cabal.out index fbeef6a0af75b44ffc566d61df8d124c910e961a..0eae2556c8cb77d9258499a8797c8f73435eb6e4 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/T6083PreMixin/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/T6083PreMixin/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.out b/cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.out index 8f3f3286d409cb33e618d43fe74682f002d13488..8622b4f95be2e7e9853bd28924d69b5cbeef0b59 100644 --- a/cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.out +++ b/cabal-testsuite/PackageTests/MultipleLibraries/T6894/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdBench/MultipleBenchmarks/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdBench/MultipleBenchmarks/cabal.out index cff1673e1670638fbefc5d9fd5d6d40d2e62c56b..8d3e71f53dd71560e778164f7a3229a3de0cf95b 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdBench/MultipleBenchmarks/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdBench/MultipleBenchmarks/cabal.out @@ -1,4 +1,6 @@ # cabal v2-bench +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -10,6 +12,8 @@ Running 1 benchmarks... Benchmark foo: RUNNING... Benchmark foo: FINISH # cabal v2-bench +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - MultipleBenchmarks-1.0 (bench:bar) (first run) diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdBench/OptionsFlag/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdBench/OptionsFlag/cabal.out index 84b8bdd781bfe1accc01a6bd4ac85da8d326e382..a962f5da6a4921b3742fbd6ca54ae8a1ae8836be 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdBench/OptionsFlag/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdBench/OptionsFlag/cabal.out @@ -1,4 +1,6 @@ # cabal v2-bench +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdBench/WarningRTS/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdBench/WarningRTS/cabal.out index 84eec3eeae3bdd574a912d2bd9003d59ad27ac00..2f194d22dc160c282ffee03c6620faa813c306b4 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdBench/WarningRTS/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdBench/WarningRTS/cabal.out @@ -1,4 +1,6 @@ # cabal bench +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Warning: Some RTS options were found standalone, which affect cabal and not the binary. Please note that +RTS inside the --benchmark-options argument suffices if your goal is to affect the benchmarked binary. For example, use "cabal test --benchmark-options='+RTS -N'" to pass the '-N' RTS option to your binary. Build profile: -w ghc-<GHCVER> -O1 @@ -11,6 +13,8 @@ Running 1 benchmarks... Benchmark foo: RUNNING... Benchmark foo: FINISH # cabal bench +Configuration is affected by the following files: +- cabal.project Warning: Some RTS options were found standalone, which affect cabal and not the binary. Please note that +RTS inside the --benchmark-options argument suffices if your goal is to affect the benchmarked binary. For example, use "cabal test --benchmark-options='+RTS -N'" to pass the '-N' RTS option to your binary. Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -21,6 +25,8 @@ Running 1 benchmarks... Benchmark foo: RUNNING... Benchmark foo: FINISH # cabal bench +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - WarningRTS-1.0 (bench:foo) (first run) diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdBuild/OnlyConfigure/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdBuild/OnlyConfigure/cabal.out index 594f392e7350cd925c22a235be0be694c67cf7fc..7de34d52b59343f83938912ed9cf0ebf22490d19 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdBuild/OnlyConfigure/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdBuild/OnlyConfigure/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,6 +9,8 @@ In order, the following will be built: Configuring library for OnlyConfigure-1.0... Configuring executable 'foo' for OnlyConfigure-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -17,6 +21,8 @@ Configuring library for OnlyConfigure-1.0... Configuring test suite 'bar' for OnlyConfigure-1.0... Configuring executable 'foo' for OnlyConfigure-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdExec/GhcInvocation/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdExec/GhcInvocation/cabal.out index 437714d34bdeb1be15c45d09f86166f85c2bd824..7e96d11422f907a007aa06690f2793f53eac0ffb 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdExec/GhcInvocation/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdExec/GhcInvocation/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,3 +9,5 @@ Configuring library for inplace-dep-1.0... Preprocessing library for inplace-dep-1.0... Building library for inplace-dep-1.0... # cabal v2-exec +Configuration is affected by the following files: +- cabal.project diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdExec/RunExe/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdExec/RunExe/cabal.out index 2ae9f2a0fd4b7ac67b69776ce39bd3601ec560c3..691cbb03f6ff58f3f118dd4990f08658976c5c6b 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdExec/RunExe/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdExec/RunExe/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,3 +9,5 @@ Configuring executable 'foo' for RunExe-1.0... Preprocessing executable 'foo' for RunExe-1.0... Building executable 'foo' for RunExe-1.0... # cabal v2-exec +Configuration is affected by the following files: +- cabal.project diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRepl/CustomSetup/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRepl/CustomSetup/cabal.out index d581aac783ea761e837866d07c12c572af96f0d4..cc77b3c7b4165805280acaa0648925da67a33724 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRepl/CustomSetup/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRepl/CustomSetup/cabal.out @@ -1,4 +1,6 @@ # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Datafiles/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Datafiles/cabal.out index 8893a5acdc9405c99d247c20354a4e05ce2d19d3..ba2ac3912ac5fef0737eb2ab39b33fb3019b787e 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Datafiles/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Datafiles/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,6 +9,8 @@ Configuring executable 'foo' for foo-1.0... Preprocessing executable 'foo' for foo-1.0... Building executable 'foo' for foo-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - foo-1.0 (lib) (first run) diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExeAndLib/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExeAndLib/cabal.out index 02391a63734a5180b4549a577160aea2fb504678..4417a2fb4c85118f2c814aa5248d64cf03a0f566 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExeAndLib/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExeAndLib/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,5 +9,7 @@ Configuring executable 'foo' for ExeAndLib-1.0... Preprocessing executable 'foo' for ExeAndLib-1.0... Building executable 'foo' for ExeAndLib-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7070] The run command is for running executables, but the target 'ExeAndLib' refers to the library ExeAndLib from the package ExeAndLib-1.0. diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExitCodePropagation/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExitCodePropagation/cabal.out index 0cf6a51332f9b48fbc646adfe72d9a993f49da14..d2cbf7245aff29c397068cdf91b4ba89dd11c772 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExitCodePropagation/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExitCodePropagation/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultipleExes/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultipleExes/cabal.out index 2223a88a94c425664712cb33f27f0568c24b99c4..b5e1175e983afb3e11e3124f8d5ba44c07a5d7ac 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultipleExes/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultipleExes/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,6 +9,8 @@ Configuring executable 'foo' for MultipleExes-1.0... Preprocessing executable 'foo' for MultipleExes-1.0... Building executable 'foo' for MultipleExes-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - MultipleExes-1.0 (exe:bar) (first run) @@ -14,12 +18,18 @@ Configuring executable 'bar' for MultipleExes-1.0... Preprocessing executable 'bar' for MultipleExes-1.0... Building executable 'bar' for MultipleExes-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7070] The run command is for running a single executable at once. The target '' refers to the package MultipleExes-1.0 which includes - executables: bar and foo # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7070] The run command is for running a single executable at once. The target 'MultipleExes' refers to the package MultipleExes-1.0 which includes - executables: bar and foo diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultiplePackages/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultiplePackages/cabal.out index 7f851dca6a88dfbf10c529c0f2122bd919129aa8..54b0387e0e1bc540c8045e9fc66c3aa3e52feb4c 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultiplePackages/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/MultiplePackages/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,7 +9,11 @@ Configuring executable 'bar-exe' for bar-1.0... Preprocessing executable 'bar-exe' for bar-1.0... Building executable 'bar-exe' for bar-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - foo-1.0 (exe:foo-exe) (first run) @@ -15,6 +21,8 @@ Configuring executable 'foo-exe' for foo-1.0... Preprocessing executable 'foo-exe' for foo-1.0... Building executable 'foo-exe' for foo-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - bar-1.0 (exe:foo-exe) (first run) @@ -22,20 +30,28 @@ Configuring executable 'foo-exe' for bar-1.0... Preprocessing executable 'foo-exe' for bar-1.0... Building executable 'foo-exe' for bar-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7135] No targets given and there is no package in the current directory. Specify packages or components by name or location. See 'cabal build --help' for more details on target options. # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7070] The run command is for running a single executable at once. The target 'bar' refers to the package bar-1.0 which includes - executables: bar-exe and foo-exe # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7132] Ambiguous target 'foo-exe'. It could be: bar:foo-exe (component) foo:foo-exe (component) # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7131] Unknown target 'foo:bar-exe'. The package foo has no component 'bar-exe'. diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/RunMainBad/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/RunMainBad/cabal.out index 25b71f37cced79e540a9f7a7e992d45b289ac698..d836bcbed002a6e4cdeaccf26168e4888bc89360 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/RunMainBad/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/RunMainBad/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7070] The run command can only run an executable as a whole, not files or modules within them, but the target 'Main.hs' refers to the file Main.hs in the executable foo. diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/cabal.out index 936db57d6be82602dc3e1e29ea4d38c28cc9d0b0..075d530474d619dab94abb342489c0d336b62a7a 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptBad/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptBad/cabal.out index be36f8398e0f11e7cb496d66d990045bbcecd666..aa977554b57e5d35b7a9aeb07ce806d580e7386a 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptBad/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptBad/cabal.out @@ -1,3 +1,5 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7121] Failed extracting script block: `{- cabal:` start marker not found diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/cabal.out index 0615cc31a414dcb5032244bc315532b490b68d1a..2c4abd1b4076c34d87b8dee23c8518131dbbdd83 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out index 2d03fa7af39356ddd8e30777944704d67a4bf463..1599052effd56b939a24d7c9f8ed77814653b1ce 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/Single/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,9 +9,19 @@ Configuring executable 'foo' for Single-1.0... Preprocessing executable 'foo' for Single-1.0... Building executable 'foo' for Single-1.0... # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project # cabal v2-run +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7070] Cannot run the package bar, it is not in this project (either directly or indirectly). If you want to add it to the project then edit the cabal.project file. diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdRun/WarningRTS/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdRun/WarningRTS/cabal.out index a7f6033bb1d16fa0396d431e83f90a11b813379d..ac29846553ed9853fe9fac5e9f7df939fa22dbd4 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdRun/WarningRTS/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdRun/WarningRTS/cabal.out @@ -1,4 +1,6 @@ # cabal run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Warning: Your RTS options are applied to cabal, not the executable. Use '--' to separate cabal options from your executable options. For example, use 'cabal run -- +RTS -N to pass the '-N' RTS option to your executable. Build profile: -w ghc-<GHCVER> -O1 @@ -8,5 +10,9 @@ Configuring executable 'foo' for WarningRTS-1.0... Preprocessing executable 'foo' for WarningRTS-1.0... Building executable 'foo' for WarningRTS-1.0... # cabal run +Configuration is affected by the following files: +- cabal.project Warning: Your RTS options are applied to cabal, not the executable. Use '--' to separate cabal options from your executable options. For example, use 'cabal run -- +RTS -N to pass the '-N' RTS option to your executable. # cabal run +Configuration is affected by the following files: +- cabal.project diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdTest/OptionsFlag/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdTest/OptionsFlag/cabal.out index 55aac7326b6374293f5586132fe4046f301e1661..959dedbdb614ce008542ef4253aac1aa1174a8ff 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdTest/OptionsFlag/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdTest/OptionsFlag/cabal.out @@ -1,4 +1,6 @@ # cabal v2-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/CmdTest/WarningRTS/cabal.out b/cabal-testsuite/PackageTests/NewBuild/CmdTest/WarningRTS/cabal.out index aef2481eac8a843581f37b70afb04192cad861dc..c16c641e23592975498515bcd66ecf41dbdf1676 100644 --- a/cabal-testsuite/PackageTests/NewBuild/CmdTest/WarningRTS/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/CmdTest/WarningRTS/cabal.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Warning: Some RTS options were found standalone, which affect cabal and not the binary. Please note that +RTS inside the --test-options argument suffices if your goal is to affect the tested binary. For example, use "cabal test --test-options='+RTS -N'" to pass the '-N' RTS option to your binary. Build profile: -w ghc-<GHCVER> -O1 @@ -13,6 +15,8 @@ Test suite foo: PASS Test suite logged to: <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/WarningRTS-1.0/t/foo/test/WarningRTS-1.0-foo.log 1 of 1 test suites (1 of 1 test cases) passed. # cabal test +Configuration is affected by the following files: +- cabal.project Warning: Some RTS options were found standalone, which affect cabal and not the binary. Please note that +RTS inside the --test-options argument suffices if your goal is to affect the tested binary. For example, use "cabal test --test-options='+RTS -N'" to pass the '-N' RTS option to your binary. Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -25,6 +29,8 @@ Test suite foo: PASS Test suite logged to: <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/WarningRTS-1.0/t/foo/test/WarningRTS-1.0-foo.log 1 of 1 test suites (1 of 1 test cases) passed. # cabal test +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - WarningRTS-1.0 (test:foo) (first run) diff --git a/cabal-testsuite/PackageTests/NewBuild/MonitorCabalFiles/cabal.out b/cabal-testsuite/PackageTests/NewBuild/MonitorCabalFiles/cabal.out index 93f0fd7f938ba8351c1ceba00cb8b2a33aa521d4..20490c7cbd5afb2b66770d751997707fba669854 100644 --- a/cabal-testsuite/PackageTests/NewBuild/MonitorCabalFiles/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/MonitorCabalFiles/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -9,6 +11,8 @@ Building executable 'q' for q-0.1.0.0... Error: [Cabal-7125] Failed to build q-0.1.0.0-inplace-q. # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/T3827/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T3827/cabal.out index 3c7beab60c719ccc20ae00cd08bec298c2fd4355..6b549c4eb26d809b69a00f0671d6e49edf0368eb 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T3827/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T3827/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/T3978/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T3978/cabal.out index bb8adff32b7330bffe2c6d92c5973515e0f71f7b..3769d3ba3f795cc6e87bdf7427d49a02b75d1131 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T3978/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T3978/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/NewBuild/T4017/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T4017/cabal.out index 2175160b5830111c085da206fb118f3d111678cd..0d86c44624e91f384b270265876d80e193d5bff2 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T4017/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T4017/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/T4405/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T4405/cabal.out index 2b684028ae0ee73ea1bd3a9dbe595460a71165da..e91a6fe2c15748bfef3323c2902142562d81eaab 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T4405/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T4405/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -11,4 +13,6 @@ Configuring library for q-1.0... Preprocessing library for q-1.0... Building library for q-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Up to date diff --git a/cabal-testsuite/PackageTests/NewBuild/T4477/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T4477/cabal.out index e8c5989659080e7931511a1821a63c0a5495e538..5904b7d537263db552167b1763449e0820cc9be8 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T4477/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T4477/cabal.out @@ -1,4 +1,6 @@ # cabal v2-run +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewBuild/T8875/cabal.out b/cabal-testsuite/PackageTests/NewBuild/T8875/cabal.out index 7bb94dd545c037f0ff624507cc8c5a89d658c023..9a1118c9b2f21e9cf13ad5496f5acba28be3d1d9 100644 --- a/cabal-testsuite/PackageTests/NewBuild/T8875/cabal.out +++ b/cabal-testsuite/PackageTests/NewBuild/T8875/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewConfigure/ConfigFile/cabal.out b/cabal-testsuite/PackageTests/NewConfigure/ConfigFile/cabal.out index f26ed6aac4d863bcbb9fa0af9de65b2958f76e78..1e95b7b237b75a779ceb689f9814215c7ea26989 100644 --- a/cabal-testsuite/PackageTests/NewConfigure/ConfigFile/cabal.out +++ b/cabal-testsuite/PackageTests/NewConfigure/ConfigFile/cabal.out @@ -1,5 +1,11 @@ # cabal v2-configure +Configuration is affected by the following files: +- cabal.project Config file not written due to flag(s). # cabal v2-configure +Configuration is affected by the following files: +- cabal.project Config file not written due to flag(s). # cabal v2-configure +Configuration is affected by the following files: +- cabal.project diff --git a/cabal-testsuite/PackageTests/NewConfigure/LocalConfigOverwrite/cabal.out b/cabal-testsuite/PackageTests/NewConfigure/LocalConfigOverwrite/cabal.out index 316c05855bb5f06f44ab7fcb723d42972484326e..a8f7c951277b7043380c1a169e294df024d0f3ee 100644 --- a/cabal-testsuite/PackageTests/NewConfigure/LocalConfigOverwrite/cabal.out +++ b/cabal-testsuite/PackageTests/NewConfigure/LocalConfigOverwrite/cabal.out @@ -1,4 +1,12 @@ # cabal v2-configure +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- cabal.project.local 'cabal.project.local' already exists, backing it up to 'cabal.project.local~'. # cabal v2-configure -'foo.project.local' already exists, backing it up to 'foo.project.local~'. \ No newline at end of file +Configuration is affected by the following files: +- foo.project +Configuration is affected by the following files: +- foo.project.local +'foo.project.local' already exists, backing it up to 'foo.project.local~'. diff --git a/cabal-testsuite/PackageTests/NewFreeze/BuildTools/new_freeze.out b/cabal-testsuite/PackageTests/NewFreeze/BuildTools/new_freeze.out index ff47b1dd0ccf1afea42b3e56e352f5a92ea0ff8c..fa90f30f4715d9265929e5b959460ec38b5719de 100644 --- a/cabal-testsuite/PackageTests/NewFreeze/BuildTools/new_freeze.out +++ b/cabal-testsuite/PackageTests/NewFreeze/BuildTools/new_freeze.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: @@ -9,9 +11,15 @@ In order, the following would be built: - my-library-dep-1.0 (lib) (requires build) - my-local-package-1.0 (lib) (first run) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Wrote freeze file: <ROOT>/cabal.project.freeze # cabal v2-build +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- cabal.project.freeze Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/NewFreeze/Flags/new_freeze.out b/cabal-testsuite/PackageTests/NewFreeze/Flags/new_freeze.out index d0cc7e4ee0cb285814f7b87df3caa73d70b5c5e2..84064b158d5a7cea78a13d3347055881560c6606 100644 --- a/cabal-testsuite/PackageTests/NewFreeze/Flags/new_freeze.out +++ b/cabal-testsuite/PackageTests/NewFreeze/Flags/new_freeze.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: @@ -8,9 +10,15 @@ In order, the following would be built: - my-library-dep-1.0 (lib) (requires build) - my-local-package-1.0 (lib) (first run) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Wrote freeze file: <ROOT>/cabal.project.freeze # cabal v2-build +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- cabal.project.freeze Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/NewFreeze/FreezeFile/new_freeze.out b/cabal-testsuite/PackageTests/NewFreeze/FreezeFile/new_freeze.out index 36278f475427ca47610332f282ff9d0b465b60c7..540a69d4128827fa437ef5e770cfe147df073302 100644 --- a/cabal-testsuite/PackageTests/NewFreeze/FreezeFile/new_freeze.out +++ b/cabal-testsuite/PackageTests/NewFreeze/FreezeFile/new_freeze.out @@ -1,19 +1,31 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: - my-library-dep-2.0 (lib) (requires build) - my-local-package-1.0 (exe:my-exe) (first run) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Freeze file not written due to flag(s) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Freeze file not written due to flag(s) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Wrote freeze file: <ROOT>/cabal.project.freeze # cabal v2-build +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- cabal.project.freeze Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -27,12 +39,20 @@ Configuring executable 'my-exe' for my-local-package-1.0... Preprocessing executable 'my-exe' for my-local-package-1.0... Building executable 'my-exe' for my-local-package-1.0... # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- cabal.project.freeze Wrote freeze file: <ROOT>/cabal.project.freeze # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: - my-library-dep-2.0 (lib) (requires build) - my-local-package-1.0 (exe:my-exe) (configuration changed) # cabal v2-freeze +Configuration is affected by the following files: +- cabal.project Wrote freeze file: <ROOT>/cabal.project.freeze diff --git a/cabal-testsuite/PackageTests/NewHaddock/DisableDoc/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/DisableDoc/cabal.out index 0683a3921ce7e84a86419189c40cb5ef5a517596..5d630e959d422ab1742732a21697ac5b71f2e90d 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/DisableDoc/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/DisableDoc/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewHaddock/Fails/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/Fails/cabal.out index bb0ee5b906d4c409ce6ddab1e090398aaba24644..196899529719a60177d3cb01fa9b7b9e67d304bc 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/Fails/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/Fails/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -9,6 +11,8 @@ Building library for example-1.0... Error: [Cabal-7125] Failed to build example-1.0-inplace. # cabal v2-haddock +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - example-1.0 (lib) (configuration changed) diff --git a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockForHackageCmdOutput/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockForHackageCmdOutput/cabal.out index 5a0ba91417401db0233bc7eb493b428876a5831a..64bbea860f02e77a1bd78423b4dd79fa47f318a8 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockForHackageCmdOutput/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockForHackageCmdOutput/cabal.out @@ -1,4 +1,6 @@ # cabal haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputCmd/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputCmd/cabal.out index 38614b49b84a242936dca49b2ab61e5f43f4ebbc..6cfdece7f8d649601a9a56d26e7d8c41aa88da99 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputCmd/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputCmd/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputConfig/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputConfig/cabal.out index 38614b49b84a242936dca49b2ab61e5f43f4ebbc..6cfdece7f8d649601a9a56d26e7d8c41aa88da99 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputConfig/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/HaddockOutput/HaddockOutputConfig/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewHaddock/ImplyDependencies/cabal.out b/cabal-testsuite/PackageTests/NewHaddock/ImplyDependencies/cabal.out index 32f39065358832299a5094d6a24f309395714f70..002abb6a29a0b66dedd398ac16ca57fd84714c1d 100644 --- a/cabal-testsuite/PackageTests/NewHaddock/ImplyDependencies/cabal.out +++ b/cabal-testsuite/PackageTests/NewHaddock/ImplyDependencies/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal haddock +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/NewSdist/DeterministicTrivial/deterministic.out b/cabal-testsuite/PackageTests/NewSdist/DeterministicTrivial/deterministic.out index 72eb09e8a77389e174bb230b90783d674c594ed3..aa041be7ed4c7ba6fb1a8ec5c8e08f6edd8f994f 100644 --- a/cabal-testsuite/PackageTests/NewSdist/DeterministicTrivial/deterministic.out +++ b/cabal-testsuite/PackageTests/NewSdist/DeterministicTrivial/deterministic.out @@ -1,2 +1,4 @@ # cabal v2-sdist -Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/deterministic-0.tar.gz \ No newline at end of file +Configuration is affected by the following files: +- cabal.project +Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/deterministic-0.tar.gz diff --git a/cabal-testsuite/PackageTests/NewSdist/Globbing/cabal.out b/cabal-testsuite/PackageTests/NewSdist/Globbing/cabal.out index c28bd059b30971dfa03f233b9dc3d6df3c1d607a..a0d41690c88dcb7b1a3cb77971ac7bb5c6a6831d 100644 --- a/cabal-testsuite/PackageTests/NewSdist/Globbing/cabal.out +++ b/cabal-testsuite/PackageTests/NewSdist/Globbing/cabal.out @@ -1,4 +1,6 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project a/Main.hs a/a.cabal a/doc/index.html diff --git a/cabal-testsuite/PackageTests/NewSdist/ManyDataFiles/many-data-files.out b/cabal-testsuite/PackageTests/NewSdist/ManyDataFiles/many-data-files.out index 926e5a2560e54e2065f757eb4da83ff3d910d1b8..42bf006f13e023583eb4676fe39341fbaf3c4299 100644 --- a/cabal-testsuite/PackageTests/NewSdist/ManyDataFiles/many-data-files.out +++ b/cabal-testsuite/PackageTests/NewSdist/ManyDataFiles/many-data-files.out @@ -1,2 +1,4 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/many-data-files-0.tar.gz diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-output-dir.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-output-dir.out index abcbfc25590c231e2fba5fa869e1f4baa156dbe6..f8fbb9a2c41a25d6d7d148d8790e3c43fa966dc9 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-output-dir.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-output-dir.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/archives/a-0.1.tar.gz Wrote tarball sdist to <ROOT>/archives/b-0.1.tar.gz diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-test-sute.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-test-sute.out index 83628c9a8e29230c445b80e21f45001b585a2676..cf7d268fa440d2e662478516d34baf5693bed467 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-test-sute.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all-test-sute.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7151] It is not possible to package only the test suites from a package for distribution. Only entire packages may be packaged for distribution. diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all.out index e370f410fe4619069554d169b4a73678fea35e2e..bd7eb8add5b86e0144727dfde0133d14adde7fbc 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/all.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/a-0.1.tar.gz Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/b-0.1.tar.gz diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/list-sources-output-dir.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/list-sources-output-dir.out index 64b8452177fdab34eb5dcbcd53ffb455ad01a625..2b9f08b3e5ab71792e94ba0d4bf2354fd310c949 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/list-sources-output-dir.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/list-sources-output-dir.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote source list to <ROOT>/lists/a-0.1.list Wrote source list to <ROOT>/lists/b-0.1.list diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-archive-to-stdout.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-archive-to-stdout.out index e8bc3312c879f30b9c3f3c6ccc056635152f49ad..b06709095035dd5c503897a661fb612090b30386 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-archive-to-stdout.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-archive-to-stdout.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7152] Can't write multiple tarballs to standard output! diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-list-sources.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-list-sources.out index dd464def39a962f6c9931441e9698eae8d5eb375..ffb2f9afe32d4ea122470e42e77b35ac68007ff3 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-list-sources.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-list-sources.out @@ -1,4 +1,6 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project a/Main.hs a/Test.hs a/a.cabal diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-target.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-target.out index e370f410fe4619069554d169b4a73678fea35e2e..bd7eb8add5b86e0144727dfde0133d14adde7fbc 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-target.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/multi-target.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/a-0.1.tar.gz Wrote tarball sdist to <ROOT>/dist-newstyle/sdist/b-0.1.tar.gz diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/target-remote-package.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/target-remote-package.out index 386eaff9b13918cb3e69d71bafcb69b5bb7ed370..2265a38e9333d7940718e4dacc179030e83a76e1 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/target-remote-package.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/target-remote-package.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7151] The package base cannot be packaged for distribution, because it is not local to this project. diff --git a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out index 6c1e881f80635e1fcfa5cd8687e33e2df41896a2..4da566899a8f4812a74944f4c5fd80641aa8451c 100644 --- a/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out +++ b/cabal-testsuite/PackageTests/NewSdist/MultiTarget/valid-and-test-suite.out @@ -1,3 +1,5 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Error: [Cabal-7151] The component test suite 'a-tests' cannot be packaged for distribution on its own. Only entire packages may be packaged for distribution. diff --git a/cabal-testsuite/PackageTests/NewSdist/NullTerminated/cabal.out b/cabal-testsuite/PackageTests/NewSdist/NullTerminated/cabal.out index 90c82a7d6c4b247aeb6a4e609a5a95e76fb2ad78..23597943ecd587ce44317291a4288a6d6653a692 100644 Binary files a/cabal-testsuite/PackageTests/NewSdist/NullTerminated/cabal.out and b/cabal-testsuite/PackageTests/NewSdist/NullTerminated/cabal.out differ diff --git a/cabal-testsuite/PackageTests/OfflineFlag/offlineFlag.out b/cabal-testsuite/PackageTests/OfflineFlag/offlineFlag.out index a7b18a253a6c157996f4f7bdc1fa7578643d1041..80ca07dddddac719c84693dbf439364ee70c33f1 100644 --- a/cabal-testsuite/PackageTests/OfflineFlag/offlineFlag.out +++ b/cabal-testsuite/PackageTests/OfflineFlag/offlineFlag.out @@ -1,6 +1,10 @@ # cabal v2-update +Configuration is affected by the following files: +- cabal.repo.project Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- cabal.repo.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -9,6 +13,8 @@ In order, the following will be built: Error: [Cabal-7125] --offline was specified, hence refusing to download the package: remote version 0.1.0.0. # cabal v2-build +Configuration is affected by the following files: +- cabal.repo.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - remote-0.1.0.0 (lib) (requires build) @@ -21,4 +27,6 @@ Configuring executable 'current' for current-0.1.0.0... Preprocessing executable 'current' for current-0.1.0.0... Building executable 'current' for current-0.1.0.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.repo.project Up to date diff --git a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-base.out b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-base.out index 506ac48f14e00884eb3431ce78b24631093eed49..06e5d0666004c33b6351a7be11af2b3158e11c3e 100644 --- a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-base.out +++ b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-base.out @@ -8,6 +8,8 @@ Installing library in <PATH> # Setup register Registering library for p-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-p.out b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-p.out index 2235fc32f501dd7f072b240fc767285a0d5b843c..4367c22aea3062c7f7fb51f3ea57a2d004ab194b 100644 --- a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-p.out +++ b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-p.out @@ -8,6 +8,8 @@ Installing library in <PATH> # Setup register Registering library for p-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-packagedbs.out b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-packagedbs.out index 5697c77102cdb7adaa2b3a25decd903db5555b4e..941aa1c2f51483db8359363a345c1dfdc70942f9 100644 --- a/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-packagedbs.out +++ b/cabal-testsuite/PackageTests/PackageDB/cabal-fail-no-packagedbs.out @@ -1,3 +1,5 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Error: [Cabal-2300] No package databases have been specified. If you use --package-db=clear, you must follow it with --package-db= with 'global', 'user' or a specific file. diff --git a/cabal-testsuite/PackageTests/PackageDB/cabal-manual-packagedb.out b/cabal-testsuite/PackageTests/PackageDB/cabal-manual-packagedb.out index e1c59d1cbb805d1e5500b977e3f06dbbd808547c..6570a93a7c5ffc36c3818bb0bd4389fcdc72fdeb 100644 --- a/cabal-testsuite/PackageTests/PackageDB/cabal-manual-packagedb.out +++ b/cabal-testsuite/PackageTests/PackageDB/cabal-manual-packagedb.out @@ -8,6 +8,8 @@ Installing library in <PATH> # Setup register Registering library for p-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/PackageDB/cabal-packagedb.out b/cabal-testsuite/PackageTests/PackageDB/cabal-packagedb.out index e1c59d1cbb805d1e5500b977e3f06dbbd808547c..6570a93a7c5ffc36c3818bb0bd4389fcdc72fdeb 100644 --- a/cabal-testsuite/PackageTests/PackageDB/cabal-packagedb.out +++ b/cabal-testsuite/PackageTests/PackageDB/cabal-packagedb.out @@ -8,6 +8,8 @@ Installing library in <PATH> # Setup register Registering library for p-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Path/Config/cabal.out b/cabal-testsuite/PackageTests/Path/Config/cabal.out index 2263588109ff3927bfeabe1eb8cb507156682eab..8e963e3eb4c4ab951d108569b4be714b04cdd5c7 100644 --- a/cabal-testsuite/PackageTests/Path/Config/cabal.out +++ b/cabal-testsuite/PackageTests/Path/Config/cabal.out @@ -53,10 +53,16 @@ test-dir # cabal path <ROOT>/cabal.dist/home/.cabal # cabal path +Configuration is affected by the following files: +- fake.cabal.project <ROOT>/cabal.dist/home/.cabal # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","cache-home":"<ROOT>/cabal.dist/home/.cabal"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project <ROOT>/cabal.dist/home/.cabal # cabal path my-cache-dir @@ -71,10 +77,16 @@ my-cache-dir # cabal path <ROOT>/cabal.dist/home/.cabal/packages # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-cache-dir # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","remote-repo-cache":"my-cache-dir"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-cache-dir # cabal path my-logs-dir @@ -89,10 +101,16 @@ my-logs-dir # cabal path <ROOT>/cabal.dist/home/.cabal/logs # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-logs-dir # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","logs-dir":"my-logs-dir"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-logs-dir # cabal path my-store-dir @@ -107,10 +125,16 @@ my-store-dir # cabal path <ROOT>/cabal.dist/home/.cabal/store # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-store-dir # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","store-dir":"my-store-dir"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-store-dir # cabal path fake-cabal.config @@ -125,10 +149,16 @@ fake-cabal.config # cabal path <ROOT>/cabal.dist/home/.cabal/config # cabal path +Configuration is affected by the following files: +- fake.cabal.project fake-cabal.config # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","config-file":"fake-cabal.config"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project fake-cabal.config # cabal path my-installdir @@ -143,8 +173,14 @@ my-installdir # cabal path <ROOT>/cabal.dist/home/.cabal/bin # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-installdir # cabal path +Configuration is affected by the following files: +- fake.cabal.project {"cabal-version":"<CABAL_INSTALL_VER>","installdir":"my-installdir"} # cabal path +Configuration is affected by the following files: +- fake.cabal.project my-installdir diff --git a/cabal-testsuite/PackageTests/Project/CoverageProject/cabal.out b/cabal-testsuite/PackageTests/Project/CoverageProject/cabal.out index 1278857b31d777591be6b93143e3a35750472269..3b7c1d4b788be0e2fa9cc40acf085f835279fd74 100644 --- a/cabal-testsuite/PackageTests/Project/CoverageProject/cabal.out +++ b/cabal-testsuite/PackageTests/Project/CoverageProject/cabal.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T4154/install-time-with-constraint.out b/cabal-testsuite/PackageTests/Regression/T4154/install-time-with-constraint.out index 7bc5e2e63a6c42e9f54b74ca661193bd20683ab8..c5daa27101fc03584394169fbea8b2229a39a50f 100644 --- a/cabal-testsuite/PackageTests/Regression/T4154/install-time-with-constraint.out +++ b/cabal-testsuite/PackageTests/Regression/T4154/install-time-with-constraint.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/Regression/T4202/cabal.out b/cabal-testsuite/PackageTests/Regression/T4202/cabal.out index a7bae1abdb20ef10a74e1b8a93c87d9c17bd12ca..426ccd41ed8831c173e308b9a0c11f18d5b0dae5 100644 --- a/cabal-testsuite/PackageTests/Regression/T4202/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T4202/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -11,12 +13,16 @@ Configuring executable 'qexe' for q-1.0... Preprocessing executable 'qexe' for q-1.0... Building executable 'qexe' for q-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - p-1.0 (lib) (file P.hs changed) Preprocessing library for p-1.0... Building library for p-1.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - q-1.0 (exe:qexe) (file <ROOT>/cabal.dist/work/dist/build/<ARCH>/ghc-<GHCVER>/p-1.0/cache/build changed) diff --git a/cabal-testsuite/PackageTests/Regression/T4720/cabal.out b/cabal-testsuite/PackageTests/Regression/T4720/cabal.out index 3cf3d3afe28b3963d359de1231fd19ad55aa1097..34903b832da555aeb25816c14d1907b3ced4f94f 100644 --- a/cabal-testsuite/PackageTests/Regression/T4720/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T4720/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T4798/cabal.out b/cabal-testsuite/PackageTests/Regression/T4798/cabal.out index 05de54b124ccbf8bbf9ace4dac1425f9fe4ab250..55571a3f6470418ccb9934cedc126257e4f27a8b 100644 --- a/cabal-testsuite/PackageTests/Regression/T4798/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T4798/cabal.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T4986/cabal.out b/cabal-testsuite/PackageTests/Regression/T4986/cabal.out index 1ceb427b04ce06b8272638ceb0c3010c6746e5b1..fdec868d0a5066615b8036b8497c3258e56aa651 100644 --- a/cabal-testsuite/PackageTests/Regression/T4986/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T4986/cabal.out @@ -1 +1,3 @@ -# cabal v2-configure \ No newline at end of file +# cabal v2-configure +Configuration is affected by the following files: +- cabal.project diff --git a/cabal-testsuite/PackageTests/Regression/T5213/cabal.out b/cabal-testsuite/PackageTests/Regression/T5213/cabal.out index fb0e7ad7a9a0a4913fbdbd80de3ef26ac40fac47..799c2005c0b87dd4d4a80f0d9b26250dc767651d 100644 --- a/cabal-testsuite/PackageTests/Regression/T5213/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T5213/cabal.out @@ -1,4 +1,6 @@ # cabal new-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T5213ExeCoverage/cabal.out b/cabal-testsuite/PackageTests/Regression/T5213ExeCoverage/cabal.out index 57cb186d882560b38e268ba9899d3b3cd9be7235..1aaf72ce762f3fdc6028440c3db0e1cd21a1ac1d 100644 --- a/cabal-testsuite/PackageTests/Regression/T5213ExeCoverage/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T5213ExeCoverage/cabal.out @@ -1,4 +1,6 @@ # cabal new-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T5309/cabal.out b/cabal-testsuite/PackageTests/Regression/T5309/cabal.out index e799843e5b6ba8a2be8f8ce511e454dfbd47fd8c..a2f7566f38ac1cca287f26e24732ac63ae990803 100644 --- a/cabal-testsuite/PackageTests/Regression/T5309/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T5309/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -15,6 +17,8 @@ Configuring executable 'exe-with-lib' for T5309-1.0.0.0... Preprocessing executable 'exe-with-lib' for T5309-1.0.0.0... Building executable 'exe-with-lib' for T5309-1.0.0.0... # cabal v2-test +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - T5309-1.0.0.0 (test:test-no-lib) (first run) @@ -36,6 +40,8 @@ Test suite test-with-lib: PASS Test suite logged to: <ROOT>/cabal.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/T5309-1.0.0.0/t/test-with-lib/test/T5309-1.0.0.0-test-with-lib.log 1 of 1 test suites (1 of 1 test cases) passed. # cabal v2-bench +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - T5309-1.0.0.0 (bench:bench-no-lib) (first run) diff --git a/cabal-testsuite/PackageTests/Regression/T5318/sdist-list-sources.out b/cabal-testsuite/PackageTests/Regression/T5318/sdist-list-sources.out index faefc513fe86845281c21d8dc33ce8445e46149e..8e257e232a7681b474f4776fec110a670899b53e 100644 --- a/cabal-testsuite/PackageTests/Regression/T5318/sdist-list-sources.out +++ b/cabal-testsuite/PackageTests/Regression/T5318/sdist-list-sources.out @@ -1,2 +1,4 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote source list to <ROOT>/empty-data-dir-0.list diff --git a/cabal-testsuite/PackageTests/Regression/T5677/cabal.out b/cabal-testsuite/PackageTests/Regression/T5677/cabal.out index 88bc2862665b3b67b15bbb319515a2019eebb7c7..d660ba36715cc5a7dc909c78b76eef71531072b3 100644 --- a/cabal-testsuite/PackageTests/Regression/T5677/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T5677/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6334/cabal.out b/cabal-testsuite/PackageTests/Regression/T6334/cabal.out index a0a58d72357fcc20fc2c2fe64e78c860774b336a..d011ce510c0cc2be7a0bfe399dee037f30b7356c 100644 --- a/cabal-testsuite/PackageTests/Regression/T6334/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6334/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6440/cabal.out b/cabal-testsuite/PackageTests/Regression/T6440/cabal.out index 5c24cecf81fe740358c1acc678200a049e24f91c..8de48ba2a8df65108886b4906ac4ef2989856058 100644 --- a/cabal-testsuite/PackageTests/Regression/T6440/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6440/cabal.out @@ -1,4 +1,6 @@ # cabal test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6853/cabal.out b/cabal-testsuite/PackageTests/Regression/T6853/cabal.out index 75fe8d9ef1caaeaff45bc954410dbe4c50fa28a8..2c7e916bd12950d7565a63f56b066b10225e15e2 100644 --- a/cabal-testsuite/PackageTests/Regression/T6853/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6853/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6961/DepExternal/cabal.out b/cabal-testsuite/PackageTests/Regression/T6961/DepExternal/cabal.out index a063ee92cb87d56bfef09947f6e9aece6e072623..2e8cfbf46cc8597ad8a7eaf93305fca5a3281605 100644 --- a/cabal-testsuite/PackageTests/Regression/T6961/DepExternal/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6961/DepExternal/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6961/DepInternal/cabal.out b/cabal-testsuite/PackageTests/Regression/T6961/DepInternal/cabal.out index cda3c2653713dea87525732fb169491fe83f9c37..495d99db1f8b2dbbdadd56a2635badecd2e5d472 100644 --- a/cabal-testsuite/PackageTests/Regression/T6961/DepInternal/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6961/DepInternal/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/Regression/T6961/Exe/cabal.out b/cabal-testsuite/PackageTests/Regression/T6961/Exe/cabal.out index bde31817cf47a21f325f14ecc9277a925219a3a6..ddd01927783fe169e03be8751b7a5269c9796802 100644 --- a/cabal-testsuite/PackageTests/Regression/T6961/Exe/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6961/Exe/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/Regression/T6961/Test/cabal.out b/cabal-testsuite/PackageTests/Regression/T6961/Test/cabal.out index 8f28d66058a629088146d1b3cd25f8b7fcf77d3c..8b24d62d86180c999022ed8364f9c2ee80e9e88c 100644 --- a/cabal-testsuite/PackageTests/Regression/T6961/Test/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T6961/Test/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following would be built: diff --git a/cabal-testsuite/PackageTests/Regression/T7234/Fail/cabal.out b/cabal-testsuite/PackageTests/Regression/T7234/Fail/cabal.out index 5c8ed7ba2c5071e55bfbbe1a2e3baed11dc3a61b..d19a9b23a4747515aee8092f1310ff2264312c48 100644 --- a/cabal-testsuite/PackageTests/Regression/T7234/Fail/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T7234/Fail/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/Regression/T7234/Success/cabal.out b/cabal-testsuite/PackageTests/Regression/T7234/Success/cabal.out index a0c85309b1fd1e100e71a5a1fa2cdf1fa5613705..5accd75362da935efad823597169d9937ee7e4cc 100644 --- a/cabal-testsuite/PackageTests/Regression/T7234/Success/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T7234/Success/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T8507/cabal.out b/cabal-testsuite/PackageTests/Regression/T8507/cabal.out index a4b777afbbca091f5fbd792d73fc854d11947b3c..7f8230fe9feb3ec21a2332bdd9d6f4b890672e3e 100644 --- a/cabal-testsuite/PackageTests/Regression/T8507/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T8507/cabal.out @@ -1,4 +1,6 @@ # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T9640/cabal.out b/cabal-testsuite/PackageTests/Regression/T9640/cabal.out index 4c0f119823fec2d30156f9e6ad663797054f486a..e0d2968a2e324996f9a40428c71d4709f190a49b 100644 --- a/cabal-testsuite/PackageTests/Regression/T9640/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T9640/cabal.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/Regression/T9756/cabal.out b/cabal-testsuite/PackageTests/Regression/T9756/cabal.out index 61a814acd68f0b77d9b82d3cfea56f32908dc509..32930c9a7278ea69b7a7ea07ff55ce3ae151880f 100644 --- a/cabal-testsuite/PackageTests/Regression/T9756/cabal.out +++ b/cabal-testsuite/PackageTests/Regression/T9756/cabal.out @@ -12,6 +12,8 @@ Installing executable mybuilder in <PATH> Warning: The directory <ROOT>/cabal.dist/home/.cabal/store/ghc-<GHCVER>/incoming/new-<RAND><ROOT>/cabal.dist/home/.cabal/store/ghc-<GHCVER>/<PACKAGE>-<HASH>/bin is not in the system search path. Symlinking 'mybuilder' to '<ROOT>/cabal.dist/install/mybuilder' # cabal v2-build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/RelativePathProjectImports/cabal.out b/cabal-testsuite/PackageTests/RelativePathProjectImports/cabal.out index 53ac1b8e71cd7113ca4618fd82ceb576d1700cb2..d5870b1955bf7e870a070eeb2db39e428c395f9f 100644 --- a/cabal-testsuite/PackageTests/RelativePathProjectImports/cabal.out +++ b/cabal-testsuite/PackageTests/RelativePathProjectImports/cabal.out @@ -1,4 +1,9 @@ # cabal build +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- dep/cabal.project + imported by: cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -15,6 +20,11 @@ Configuring library for main-0.1... Preprocessing library for main-0.1... Building library for main-0.1... # cabal build +Configuration is affected by the following files: +- cabal.project +Configuration is affected by the following files: +- dep/cabal.project + imported by: cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-no-load.out b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-no-load.out index 6f2908d3f2645d62337e4e1b88ddbe1c8d6c2bf4..9177f4d5c37b48d19fc5b566565e478a5d7a58af 100644 --- a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-no-load.out +++ b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-no-load.out @@ -1,5 +1,7 @@ # cabal clean # cabal repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-normal.out b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-normal.out index 68ecdbe400881be78542df044171d1caac7ae965..b3e330f7e29036e77bb3bf393a41697f0122aa03 100644 --- a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-normal.out +++ b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.exec-normal.out @@ -1,5 +1,7 @@ # cabal clean # cabal repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-no-load.out b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-no-load.out index 6f2908d3f2645d62337e4e1b88ddbe1c8d6c2bf4..9177f4d5c37b48d19fc5b566565e478a5d7a58af 100644 --- a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-no-load.out +++ b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-no-load.out @@ -1,5 +1,7 @@ # cabal clean # cabal repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-normal.out b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-normal.out index 6f2908d3f2645d62337e4e1b88ddbe1c8d6c2bf4..9177f4d5c37b48d19fc5b566565e478a5d7a58af 100644 --- a/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-normal.out +++ b/cabal-testsuite/PackageTests/ReplNoLoad/cabal.lib-normal.out @@ -1,5 +1,7 @@ # cabal clean # cabal repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options-multiple-flags.out b/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options-multiple-flags.out index 374ac0dd8c3470a46b6e8e24471d506ca9f45a84..e45e9385218e20951001da31c21366998bd61779 100644 --- a/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options-multiple-flags.out +++ b/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options-multiple-flags.out @@ -1,5 +1,7 @@ # cabal clean # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options.out b/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options.out index 374ac0dd8c3470a46b6e8e24471d506ca9f45a84..e45e9385218e20951001da31c21366998bd61779 100644 --- a/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options.out +++ b/cabal-testsuite/PackageTests/ReplOptions/cabal.multiple-repl-options.out @@ -1,5 +1,7 @@ # cabal clean # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags-negative.out b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags-negative.out index ba1bbef88db2697cec3492b6f98838cb81e9144a..9368db4d3dd5789cbc4d17059749d9a9bd9d6365 100644 --- a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags-negative.out +++ b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags-negative.out @@ -1,5 +1,7 @@ # cabal clean # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags.out b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags.out index 374ac0dd8c3470a46b6e8e24471d506ca9f45a84..e45e9385218e20951001da31c21366998bd61779 100644 --- a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags.out +++ b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options-multiple-flags.out @@ -1,5 +1,7 @@ # cabal clean # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options.out b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options.out index 374ac0dd8c3470a46b6e8e24471d506ca9f45a84..e45e9385218e20951001da31c21366998bd61779 100644 --- a/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options.out +++ b/cabal-testsuite/PackageTests/ReplOptions/cabal.single-repl-options.out @@ -1,5 +1,7 @@ # cabal clean # cabal v2-repl +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/SDist/T5195and5349/cabal.out b/cabal-testsuite/PackageTests/SDist/T5195and5349/cabal.out index f42c4e9817722298e1b833a7671d5d65e91a987a..d6db93b0a2588c10c3d4ddf3ea2d247314bc1e31 100644 --- a/cabal-testsuite/PackageTests/SDist/T5195and5349/cabal.out +++ b/cabal-testsuite/PackageTests/SDist/T5195and5349/cabal.out @@ -1,4 +1,6 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Warning: Ignoring directory '././actually-a-directory' listed in a Cabal package field which should only include files (not directories). Warning: Ignoring directory './actually-a-directory' listed in a Cabal package field which should only include files (not directories). Warning: Ignoring directory './actually-a-directory' listed in a Cabal package field which should only include files (not directories). diff --git a/cabal-testsuite/PackageTests/SDist/T7028/cabal.out b/cabal-testsuite/PackageTests/SDist/T7028/cabal.out index 222d3c33c8bba352febeb97a794a92a740a226d8..4ec2d96e5457c0694c554098728ebcdfaeec074f 100644 --- a/cabal-testsuite/PackageTests/SDist/T7028/cabal.out +++ b/cabal-testsuite/PackageTests/SDist/T7028/cabal.out @@ -1,2 +1,4 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote source list to <ROOT>/t7028-0.list diff --git a/cabal-testsuite/PackageTests/SDist/T7124/cabal-list.out b/cabal-testsuite/PackageTests/SDist/T7124/cabal-list.out index cb65c326a568d3e2e9b84b8624b09d1debda5412..b45ccabcb3972444853b80191425a34f47d5a665 100644 --- a/cabal-testsuite/PackageTests/SDist/T7124/cabal-list.out +++ b/cabal-testsuite/PackageTests/SDist/T7124/cabal-list.out @@ -1,4 +1,6 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote source list to <ROOT>/pkg-a-0.list Error: [Cabal-6661] filepath wildcard './data.txt' does not match any files. diff --git a/cabal-testsuite/PackageTests/SDist/T7124/cabal.out b/cabal-testsuite/PackageTests/SDist/T7124/cabal.out index 5dbaee755bca3159580165d3ce5c708c96f44d39..ec1a61ec9f85632f6f934ae2802f92cbbd20ca2c 100644 --- a/cabal-testsuite/PackageTests/SDist/T7124/cabal.out +++ b/cabal-testsuite/PackageTests/SDist/T7124/cabal.out @@ -1,4 +1,6 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/pkg-a-0.tar.gz Error: [Cabal-6661] filepath wildcard './data.txt' does not match any files. diff --git a/cabal-testsuite/PackageTests/SDist/T7698/cabal.out b/cabal-testsuite/PackageTests/SDist/T7698/cabal.out index 99370eb5dd678ee910cd44184467e82f17971d43..b4405270c1265860dd095436a763277729f8bfae 100644 --- a/cabal-testsuite/PackageTests/SDist/T7698/cabal.out +++ b/cabal-testsuite/PackageTests/SDist/T7698/cabal.out @@ -1,2 +1,4 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote source list to <ROOT>/t7698-0.list diff --git a/cabal-testsuite/PackageTests/SDist/T8817/cabal.out b/cabal-testsuite/PackageTests/SDist/T8817/cabal.out index c99d15276fed14fe6c4c62130258f318f47c0945..89e68f1c41e997765819f80d9d5c39ca21737e1d 100644 --- a/cabal-testsuite/PackageTests/SDist/T8817/cabal.out +++ b/cabal-testsuite/PackageTests/SDist/T8817/cabal.out @@ -1,2 +1,4 @@ # cabal v2-sdist +Configuration is affected by the following files: +- cabal.project Wrote tarball sdist to <ROOT>/t8817-0.tar.gz diff --git a/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-all.out b/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-all.out index e37e3fccc4dc349d8d7e9584089753eead3e3e2d..638ea9ced39af2da1dc8ddfe12e029da57b68af2 100644 --- a/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-all.out +++ b/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-all.out @@ -1,4 +1,6 @@ # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-exe.out b/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-exe.out index 7c69357323df32117b1c7bd4b01fea1e74dffa0e..036c131915c9eb2f639732171dcfe96f532a809b 100644 --- a/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-exe.out +++ b/cabal-testsuite/PackageTests/ShowBuildInfo/A/build-info-exe.out @@ -1,4 +1,6 @@ # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/ShowBuildInfo/A/remove-outdated.out b/cabal-testsuite/PackageTests/ShowBuildInfo/A/remove-outdated.out index 3ad97d2f3785125654e2917ba4d7e0aeacad1321..0b788f6c53ef1a20832e2e8e8145705c9693de5d 100644 --- a/cabal-testsuite/PackageTests/ShowBuildInfo/A/remove-outdated.out +++ b/cabal-testsuite/PackageTests/ShowBuildInfo/A/remove-outdated.out @@ -1,4 +1,6 @@ # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -7,6 +9,8 @@ Configuring executable 'A' for A-0.1.0.0... Preprocessing executable 'A' for A-0.1.0.0... Building executable 'A' for A-0.1.0.0... # cabal v2-build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - A-0.1.0.0 (exe:A) (configuration changed) diff --git a/cabal-testsuite/PackageTests/ShowBuildInfo/CompileFail/compile-fail.out b/cabal-testsuite/PackageTests/ShowBuildInfo/CompileFail/compile-fail.out index b0cae576cd6653a3aa7d14edd22627cba27d2593..a2ecb2be87d016bd5b4cbb95255b0bb8b58a489e 100644 --- a/cabal-testsuite/PackageTests/ShowBuildInfo/CompileFail/compile-fail.out +++ b/cabal-testsuite/PackageTests/ShowBuildInfo/CompileFail/compile-fail.out @@ -1,4 +1,6 @@ # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -13,6 +15,8 @@ Building test suite 'CompileFail-test' for CompileFail-0.1.0.0... Error: [Cabal-7125] Failed to build CompileFail-0.1.0.0-inplace-CompileFail-test. # cabal build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - CompileFail-0.1.0.0 (lib:failing) (first run) diff --git a/cabal-testsuite/PackageTests/ShowBuildInfo/Complex/single.out b/cabal-testsuite/PackageTests/ShowBuildInfo/Complex/single.out index 3825d1f6cf8eeaf879b7e7ea6bc86c81f7df4cca..f46f8948e28662c40d2adeb5f327f14d96c13ac5 100644 --- a/cabal-testsuite/PackageTests/ShowBuildInfo/Complex/single.out +++ b/cabal-testsuite/PackageTests/ShowBuildInfo/Complex/single.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal build +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: @@ -17,10 +19,14 @@ Building executable 'Complex' for Complex-0.1.0.0... # show-build-info Complex exe:Complex {"cabal-lib-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"exe","name":"exe:Complex","unit-id":"Complex-0.1.0.0-inplace-Complex","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-odir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-hidir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-hiedir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/extra-compilation-artifacts/hie","-stubdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-i","-iapp","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build","-optP-include","-optPsingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/x/Complex/build/Complex/autogen/cabal_macros.h","-this-unit-id","Complex-0.1.0.0-inplace-Complex","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010","-threaded","-rtsopts","-with-rtsopts=-N -T","-Wredundant-constraints"],"modules":["Other","Paths_Complex"],"src-files":["Main.lhs"],"hs-src-dirs":["app"],"src-dir":"<ROOT>/","cabal-file":"Complex.cabal"}]} # cabal build +Configuration is affected by the following files: +- cabal.project Up to date # show-build-info Complex lib {"cabal-lib-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"lib","name":"lib","unit-id":"Complex-0.1.0.0-inplace","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-odir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-hidir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-hiedir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/extra-compilation-artifacts/hie","-stubdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-i","-isrc","-idoesnt-exist","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build","-optP-include","-optPsingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","Complex-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-XHaskell2010","-Wall"],"modules":["A","B","C","D","Paths_Complex"],"src-files":[],"hs-src-dirs":["src","doesnt-exist"],"src-dir":"<ROOT>/","cabal-file":"Complex.cabal"}]} # cabal build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - criterion-1.1.4.0 (lib) (requires build) @@ -36,6 +42,8 @@ Building benchmark 'complex-benchmarks' for Complex-0.1.0.0... # show-build-info Complex bench:complex-benchmarks {"cabal-lib-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"bench","name":"bench:complex-benchmarks","unit-id":"Complex-0.1.0.0-inplace-complex-benchmarks","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-odir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-hidir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-hiedir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/extra-compilation-artifacts/hie","-stubdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-i","-ibenchmark","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build","-optP-include","-optPsingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/b/complex-benchmarks/build/complex-benchmarks/autogen/cabal_macros.h","-this-unit-id","Complex-0.1.0.0-inplace-complex-benchmarks","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010","-Wall","-rtsopts","-threaded","-with-rtsopts=-N"],"modules":["Paths_Complex"],"src-files":["Main.hs"],"hs-src-dirs":["benchmark"],"src-dir":"<ROOT>/","cabal-file":"Complex.cabal"}]} # cabal build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - test-framework-0.8.1.1 (lib) (requires build) @@ -51,6 +59,8 @@ Building test suite 'func-test' for Complex-0.1.0.0... # show-build-info Complex test:func-test {"cabal-lib-version":"<CABALVER>","compiler":{"flavour":"ghc","compiler-id":"ghc-<GHCVER>","path":"<GHCPATH>"},"components":[{"type":"test","name":"test:func-test","unit-id":"Complex-0.1.0.0-inplace-func-test","compiler-args":["-fbuilding-cabal-package","-O","-outputdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-odir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-hidir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-hiedir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/extra-compilation-artifacts/hie","-stubdir","single.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-i","-itest","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen","-isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/global-autogen","-Isingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build","-optP-include","-optPsingle.dist/work/./dist/build/<ARCH>/ghc-<GHCVER>/Complex-0.1.0.0/t/func-test/build/func-test/autogen/cabal_macros.h","-this-unit-id","Complex-0.1.0.0-inplace-func-test","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","<ROOT>/single.dist/home/.cabal/store/ghc-<GHCVER>/package.db","-package-db","<ROOT>/single.dist/work/dist/packagedb/ghc-<GHCVER>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-package-id","<PACKAGEDEP>","-XHaskell2010"],"modules":[],"src-files":["FuncMain.hs"],"hs-src-dirs":["test"],"src-dir":"<ROOT>/","cabal-file":"Complex.cabal"}]} # cabal build +Configuration is affected by the following files: +- cabal.project Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: - another-framework-0.8.1.1 (lib) (requires build) diff --git a/cabal-testsuite/PackageTests/TestCodeGenerator/cabal.out b/cabal-testsuite/PackageTests/TestCodeGenerator/cabal.out index b66912314743a88b090885cf7b136dd8179ef207..31af40384d3cfbe48eb2d274e8d5dce6a8cc652a 100644 --- a/cabal-testsuite/PackageTests/TestCodeGenerator/cabal.out +++ b/cabal-testsuite/PackageTests/TestCodeGenerator/cabal.out @@ -1,4 +1,6 @@ # cabal v2-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/cabal.out b/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/cabal.out index 8fb3ea6d6d37cf2d3de101e7be98b2304e7fc9d3..c7dac2236356fdc3bf7a6275f3be95b7158ac141 100644 --- a/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/cabal.out +++ b/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/cabal.out @@ -1,4 +1,6 @@ # cabal v2-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/coverage.out b/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/coverage.out index 872dbd57eafbb07b502a1570d10acd89774ff10f..0d98e24beaa91cd44f154c2a8e978290520b9d58 100644 --- a/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/coverage.out +++ b/cabal-testsuite/PackageTests/TestSuiteTests/ExeV10/coverage.out @@ -1,4 +1,6 @@ # cabal v2-test +Configuration is affected by the following files: +- cabal.project Resolving dependencies... Build profile: -w ghc-<GHCVER> -O1 In order, the following will be built: diff --git a/cabal-testsuite/PackageTests/VersionPriority/0-local.out b/cabal-testsuite/PackageTests/VersionPriority/0-local.out index f57e8b4db97d62a3a13abe09b70103eacb66d96f..176876e269f345c75d5ea4e7329ff90f4decc213 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/0-local.out +++ b/cabal-testsuite/PackageTests/VersionPriority/0-local.out @@ -1,6 +1,8 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 0-local.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/VersionPriority/1-local.out b/cabal-testsuite/PackageTests/VersionPriority/1-local.out index 0de3c6d5f1f59dbf67eba2126b7bc6e7d59beafc..1806aebd5a845df22e46382bced48c25b7df74f9 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/1-local.out +++ b/cabal-testsuite/PackageTests/VersionPriority/1-local.out @@ -1,6 +1,11 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 1-local-constraints-import.project +Configuration is affected by the following files: +- stackage-local.config + imported by: 1-local-constraints-import.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: @@ -14,6 +19,11 @@ Could not resolve dependencies: [__1] fail (backjumping, conflict set: cabal-version-override, hashable) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), cabal-version-override (2) # cabal v2-build +Configuration is affected by the following files: +- 1-local-import-constraints.project +Configuration is affected by the following files: +- stackage-local.config + imported by: 1-local-import-constraints.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/VersionPriority/1-web.out b/cabal-testsuite/PackageTests/VersionPriority/1-web.out index cfdaa0d2dbc8183e9cb290a8f62ffe91485598e5..13e930c943b14a95cd330c13de18fb84a7c0c033 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/1-web.out +++ b/cabal-testsuite/PackageTests/VersionPriority/1-web.out @@ -1,6 +1,14 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 1-web-constraints-import.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: 1-web-constraints-import.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 1-web-constraints-import.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: @@ -14,6 +22,14 @@ Could not resolve dependencies: [__1] fail (backjumping, conflict set: cabal-version-override, hashable) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), cabal-version-override (2) # cabal v2-build +Configuration is affected by the following files: +- 1-web-import-constraints.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: 1-web-import-constraints.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 1-web-import-constraints.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/VersionPriority/2-local.out b/cabal-testsuite/PackageTests/VersionPriority/2-local.out index ccb733ca12eda1563094de317ef549c3e5fc55bf..211c4ee9d9ca92977fd4e321b326bf758f5a8027 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/2-local.out +++ b/cabal-testsuite/PackageTests/VersionPriority/2-local.out @@ -1,6 +1,15 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 2-local-constraints-import.project +Configuration is affected by the following files: +- hop-local.config + imported by: 2-local-constraints-import.project +Configuration is affected by the following files: +- stackage-local.config + imported by: hop-local.config + imported by: 2-local-constraints-import.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: @@ -15,6 +24,15 @@ Could not resolve dependencies: [__1] fail (backjumping, conflict set: cabal-version-override, hashable) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), cabal-version-override (2) # cabal v2-build +Configuration is affected by the following files: +- 2-local-import-constraints.project +Configuration is affected by the following files: +- hop-local.config + imported by: 2-local-import-constraints.project +Configuration is affected by the following files: +- stackage-local.config + imported by: hop-local.config + imported by: 2-local-import-constraints.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/VersionPriority/2-web.out b/cabal-testsuite/PackageTests/VersionPriority/2-web.out index 15e5c01517ba873eaec50633205ef84d93893434..d592a88a472b66a198616d8930cdb1f0104078bc 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/2-web.out +++ b/cabal-testsuite/PackageTests/VersionPriority/2-web.out @@ -1,6 +1,18 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 2-web-constraints-import.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: stackage-web.config + imported by: 2-web-constraints-import.project +Configuration is affected by the following files: +- stackage-web.config + imported by: 2-web-constraints-import.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 2-web-constraints-import.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: @@ -15,6 +27,18 @@ Could not resolve dependencies: [__1] fail (backjumping, conflict set: cabal-version-override, hashable) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), cabal-version-override (2) # cabal v2-build +Configuration is affected by the following files: +- 2-web-import-constraints.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: stackage-web.config + imported by: 2-web-import-constraints.project +Configuration is affected by the following files: +- stackage-web.config + imported by: 2-web-import-constraints.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 2-web-import-constraints.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/cabal-testsuite/PackageTests/VersionPriority/3-web.out b/cabal-testsuite/PackageTests/VersionPriority/3-web.out index 9321613639ea4b0edb3654d5a1a8087f2da87e22..9f26901c50ab9459ff3f46666c2c124aa3974f8d 100644 --- a/cabal-testsuite/PackageTests/VersionPriority/3-web.out +++ b/cabal-testsuite/PackageTests/VersionPriority/3-web.out @@ -1,6 +1,23 @@ # cabal v2-update Downloading the latest package list from test-local-repo # cabal v2-build +Configuration is affected by the following files: +- 3-web-constraints-import.project +Configuration is affected by the following files: +- hop-web.config + imported by: 3-web-constraints-import.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: stackage-web.config + imported by: hop-web.config + imported by: 3-web-constraints-import.project +Configuration is affected by the following files: +- stackage-web.config + imported by: hop-web.config + imported by: 3-web-constraints-import.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 3-web-constraints-import.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: @@ -16,6 +33,23 @@ Could not resolve dependencies: [__1] fail (backjumping, conflict set: cabal-version-override, hashable) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable (3), cabal-version-override (2) # cabal v2-build +Configuration is affected by the following files: +- 3-web-import-constraints.project +Configuration is affected by the following files: +- hop-web.config + imported by: 3-web-import-constraints.project +Configuration is affected by the following files: +- project-stackage/nightly-2023-12-07.config + imported by: stackage-web.config + imported by: hop-web.config + imported by: 3-web-import-constraints.project +Configuration is affected by the following files: +- stackage-web.config + imported by: hop-web.config + imported by: 3-web-import-constraints.project +Configuration is affected by the following files: +- with-ghc.config + imported by: 3-web-import-constraints.project Resolving dependencies... Error: [Cabal-7107] Could not resolve dependencies: diff --git a/changelog.d/pr-10507 b/changelog.d/pr-10507 new file mode 100644 index 0000000000000000000000000000000000000000..02897f71e19e95ea430ee8a63fbb9abf5cf6e73a --- /dev/null +++ b/changelog.d/pr-10507 @@ -0,0 +1,16 @@ +synopsis: Print out which project file we are using with the default verbosity +packages: cabal-install +prs: #10507 +issues: #8519 + +description: { + +- Many people have been burnt by cabal catching stray project files located up + the directory tree. This change tries to protect them at the expense of + producing more output by default. In particular, before this change, you could + see which project file is in use by supplying `-v` (the verbose mode), and + after the change we print this information with the default verbosity. + Changing the behaviour of cabal is out of scope of this change, and will + hopefully be done in the future versions (see #9353 for a way forward). + +}