Let Cabal determine the package-db stack
This commit is contained in:
12
test/data/custom-cradle/custom-cradle.cabal
Normal file
12
test/data/custom-cradle/custom-cradle.cabal
Normal file
@@ -0,0 +1,12 @@
|
||||
name: custom-cradle
|
||||
version: 0.1.0.0
|
||||
homepage: asd
|
||||
license-file: LICENSE
|
||||
author: asd
|
||||
maintainer: asd
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
|
||||
library
|
||||
build-depends: base >=4.7 && <4.8
|
||||
default-language: Haskell2010
|
||||
@@ -1 +0,0 @@
|
||||
dummy
|
||||
@@ -1,5 +0,0 @@
|
||||
a/packages
|
||||
global
|
||||
b/packages
|
||||
user
|
||||
c/packages
|
||||
5
test/data/custom-cradle/ghc-mod.package-db-stack
Normal file
5
test/data/custom-cradle/ghc-mod.package-db-stack
Normal file
@@ -0,0 +1,5 @@
|
||||
global
|
||||
user
|
||||
package-db-a
|
||||
package-db-b
|
||||
package-db-c
|
||||
0
test/data/custom-cradle/package-db-a/.gitkeep
Normal file
0
test/data/custom-cradle/package-db-a/.gitkeep
Normal file
0
test/data/custom-cradle/package-db-b/.gitkeep
Normal file
0
test/data/custom-cradle/package-db-b/.gitkeep
Normal file
0
test/data/custom-cradle/package-db-c/.gitkeep
Normal file
0
test/data/custom-cradle/package-db-c/.gitkeep
Normal file
Reference in New Issue
Block a user