Skip to content

Commit 6607bb7

Browse files
committed
Simplified test case for haskell#3436
1 parent dc3eca7 commit 6607bb7

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

cabal-install/cabal-install.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ Extra-Source-Files:
104104
tests/IntegrationTests/sandbox-sources/remove_nonexistent_source.sh
105105
tests/IntegrationTests/sandbox-sources/report_success_removing_source.out
106106
tests/IntegrationTests/sandbox-sources/report_success_removing_source.sh
107+
tests/IntegrationTests/setup-deps/Setup.hs
108+
tests/IntegrationTests/setup-deps/custom-setup.cabal
109+
tests/IntegrationTests/setup-deps/install_setup_deps.sh
107110
tests/IntegrationTests/user-config/common.sh
108111
tests/IntegrationTests/user-config/doesnt_overwrite_without_f.err
109112
tests/IntegrationTests/user-config/doesnt_overwrite_without_f.sh
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Distribution.Simple
2+
3+
main = defaultMain
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: custom-setup
2+
version: 1.0
3+
build-type: Custom
4+
-- cabal-version: >= 1.2
5+
cabal-version: >= 1.24
6+
7+
custom-setup
8+
setup-depends: base, Cabal >= 1.24
9+
10+
library
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
. ./common.sh
2+
cabal sandbox init
3+
cabal install -v

0 commit comments

Comments
 (0)