Skip to content

Commit d85072a

Browse files
committed
Switch to Stack LTS release
This is currently broken with: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. I thought this was fixed by haskell/cabal#4810 (which is in Cabal 2.2), but it might be broken because this: haskell/cabal#5315 (which is in is in Cabal 2.4, which isn't yet in LTS).
1 parent 1e7f0b4 commit d85072a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Dockerfile.lts-10.2-opencv renamed to Dockerfile.lts-11.10-opencv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fpco/stack-build:latest
1+
FROM fpco/stack-build:lts-12.10
22

33
RUN apt-get update
44
RUN apt-get install -y cmake libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev qt5-default

stack.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
resolver: nightly-2018-06-08
1+
resolver: lts-12.10
2+
23
packages:
34
- opencv/
45
- opencv-examples/
@@ -10,12 +11,15 @@ allow-newer: true
1011
extra-lib-dirs:
1112
- /usr/local/lib
1213

14+
extra-deps:
15+
- inline-c-cpp-0.2.2.1
16+
1317
nix:
1418
path: [ "nixpkgs=https://github.com/NixOS/nixpkgs/archive/4ccaa7de8eb34a0bb140f109a0e88095480118eb.tar.gz" ]
1519
packages: [ zlib pkgconfig opencv3 ]
1620

1721
# Uncomment if you wish to use Docker integration
1822
# See README.md for further information.
19-
#docker:
20-
# image: stack-build:lts-10.2-opencv
21-
# stack-exe: image
23+
# docker:
24+
# image: stack-build:lts-12.10-opencv
25+
# stack-exe: image

0 commit comments

Comments
 (0)