Skip to content

Commit e7b570e

Browse files
authored
Merge pull request commercialhaskell#4229 from commercialhaskell/avoid-gpl-libs
Avoid GPL-3 libs haskell/cabal#4883
2 parents dc04605 + 9c592a6 commit e7b570e

3 files changed

Lines changed: 23 additions & 20 deletions

File tree

snapshot.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
resolver: lts-11.19
2+
name: snapshot-for-building-stack-with-ghc-8.2.2
3+
4+
packages:
5+
- Cabal-2.2.0.1@rev:0
6+
- cabal-install-2.2.0.0@rev:1
7+
- resolv-0.1.1.1@rev:0
8+
- infer-license-0.2.0@rev:0
9+
- hpack-0.29.6@rev:0
10+
- http-api-data-0.3.8.1@rev:0
11+
- githash-0.1.0.1@rev:0
12+
- rio-orphans-0.1.1.0@sha256:15600084c56ef4e1f22ac2091d10fa6ed62f01f531d819c6a5a19492212a76c9
13+
14+
flags:
15+
cabal-install:
16+
# https://github.com/haskell/cabal/issues/4883
17+
native-dns: false

stack-nightly.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@ nix:
1414
- zlib
1515
- unzip
1616

17+
flags:
18+
# https://github.com/haskell/cabal/issues/4883
19+
cabal-install:
20+
native-dns: false
21+
1722
ghc-options:
1823
"$locals": -fhide-source-paths

stack.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-11.19
1+
resolver: snapshot.yaml
22

33
# docker:
44
# enable: true
@@ -16,25 +16,6 @@ flags:
1616
stack:
1717
hide-dependency-versions: true
1818
supported-build: true
19-
extra-deps:
20-
- Cabal-2.2.0.1@rev:0
21-
- cabal-install-2.2.0.0@rev:1
22-
- resolv-0.1.1.1@rev:0
23-
- infer-license-0.2.0@rev:0
24-
- hpack-0.29.6@rev:0
25-
- http-api-data-0.3.8.1@rev:0
26-
- githash-0.1.0.1@rev:0
27-
28-
# Avoid https://github.com/commercialhaskell/stack/issues/4125
29-
# (triggered because later versions of persistent transitively depends
30-
# on haskell-src-exts, which needs the 'happy' build tool)
31-
# THIS IS FIXED AS OF STACK 1.8, but keep these here until next major
32-
# version to maintain the ability to build stack with older versions.
33-
- persistent-2.7.1@rev:0
34-
- persistent-sqlite-2.6.4@rev:0
35-
- resourcet-1.1.11@rev:0
36-
- conduit-1.2.13.1@rev:0
37-
- conduit-extra-1.2.3.2@rev:0
3819

3920
ghc-options:
4021
"$locals": -fhide-source-paths

0 commit comments

Comments
 (0)