File tree Expand file tree Collapse file tree 5 files changed +40
-0
lines changed
cabal-testsuite/PackageTests/MultipleLibraries Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # cabal v2-build
2
+ Resolving dependencies...
3
+ Build profile: -w ghc-<GHCVER> -O1
4
+ In order, the following will be built:
5
+ - d-0.1.0.0 (lib:privatelib) (first run)
6
+ - p-0.1.0.0 (lib) (first run)
7
+ Configuring library 'privatelib' for d-0.1.0.0..
8
+ Preprocessing library 'privatelib' for d-0.1.0.0..
9
+ Building library 'privatelib' for d-0.1.0.0..
10
+ Configuring library for p-0.1.0.0..
11
+ cabal: Encountered missing or private dependencies:
12
+ d : {privatelib} ==0.1.0.0
Original file line number Diff line number Diff line change
1
+ packages :
2
+ d
3
+ p
4
+
Original file line number Diff line number Diff line change
1
+ import Test.Cabal.Prelude
2
+ main = cabalTest $
3
+ void $ fails (cabal' " v2-build" [" p" ])
4
+
Original file line number Diff line number Diff line change
1
+ cabal-version : 3.0
2
+ name : d
3
+ version : 0.1.0.0
4
+
5
+ -- See issue #6038
6
+ library
7
+ default-language : Haskell2010
8
+
9
+ library privatelib
10
+ visibility : private
11
+ default-language : Haskell2010
12
+
Original file line number Diff line number Diff line change
1
+ cabal-version : 3.0
2
+ name : p
3
+ version : 0.1.0.0
4
+
5
+ library
6
+ build-depends : d :privatelib
7
+ default-language : Haskell2010
8
+
You can’t perform that action at this time.
0 commit comments