Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
5b7e03b2
Commit
5b7e03b2
authored
Nov 23, 2020
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use LTS-16.23
parent
6825bb9c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
19 deletions
+75
-19
ci.yml
.github/workflows/ci.yml
+1
-1
Dockerfile
Dockerfile
+2
-2
README.md
README.md
+4
-4
Singletons.hs
...askell-widgets/src/IHaskell/Display/Widgets/Singletons.hs
+1
-0
stack-8.6.yaml
stack-8.6.yaml
+53
-0
stack.yaml
stack.yaml
+14
-12
No files found.
.github/workflows/ci.yml
View file @
5b7e03b2
...
...
@@ -38,8 +38,8 @@ jobs:
-
stack-yaml
:
'
stack-8.0.yaml'
-
stack-yaml
:
'
stack-8.2.yaml'
-
stack-yaml
:
'
stack-8.4.yaml'
-
stack-yaml
:
'
stack-8.6.yaml'
-
stack-yaml
:
'
stack.yaml'
-
stack-yaml
:
'
stack-8.8.yaml'
steps
:
-
uses
:
actions/checkout@v2
...
...
Dockerfile
View file @
5b7e03b2
FROM
ubuntu:18.04
ARG
STACK_VERSION=2.
3
.1
ARG
RESOLVER=lts-1
4.27
ARG
STACK_VERSION=2.
5
.1
ARG
RESOLVER=lts-1
6.23
# Install all necessary Ubuntu packages
RUN
apt-get update
&&
apt-get
install
-y
python3-pip libgmp-dev libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++ wget
&&
\
...
...
README.md
View file @
5b7e03b2
...
...
@@ -126,7 +126,7 @@ docker build -t ihaskell:latest .
docker run
--rm
-it
-p8888
:8888 ihaskell:latest
```
Or use the continously updated Docker image
Or use the contin
u
ously updated Docker image
[
on Docker Hub
](
https://hub.docker.com/r/gibiansky/ihaskell
)
.
```
sh
...
...
@@ -145,11 +145,11 @@ a `stack.yaml` file.
A simple version would be:
```
yaml
resolver
:
lts-1
4.27
resolver
:
lts-1
6.23
packages
:
[]
```
It's recommended to use the same LTS version as the
i
Haskell image is using itself
It's recommended to use the same LTS version as the
I
Haskell image is using itself
(as can be seen in
[
its stack.yaml
](
./stack.yaml
)
).
This guarantees that stack doesn't have to first perform
a lengthy installation of GHC before running your notebook.
...
...
@@ -269,7 +269,7 @@ For more examples of using IHaskell with Nix, see https://github.com/vaibhavsaga
Stack manages separate environments for every package. By default your notebooks
will only have access to a few packages that happen to be required for
ihaskell. To make packages available add them to the stack.yaml in the ih
askell
IHaskell. To make packages available add them to the stack.yaml in the IH
askell
directory and run
`stack solver && stack install`
.
Packages should be added to the
`packages:`
section and can take the following
...
...
ihaskell-display/ihaskell-widgets/src/IHaskell/Display/Widgets/Singletons.hs
View file @
5b7e03b2
...
...
@@ -10,6 +10,7 @@
{-# LANGUAGE InstanceSigs #-}
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE TypeApplications #-}
module
IHaskell.Display.Widgets.Singletons
where
...
...
stack-8.
8
.yaml
→
stack-8.
6
.yaml
View file @
5b7e03b2
resolver
:
lts-1
5.10
resolver
:
lts-1
4.27
flags
:
{}
packages
:
-
.
-
./ipython-kernel
-
./ghc-parser
#
- ./ihaskell-display/ihaskell-aeson
#
- ./ihaskell-display/ihaskell-blaze
#
- ./ihaskell-display/ihaskell-charts
#
- ./ihaskell-display/ihaskell-diagrams
#
- ./ihaskell-display/ihaskell-gnuplot
#
- ./ihaskell-display/ihaskell-hatex
#
- ./ihaskell-display/ihaskell-juicypixels
#
- ./ihaskell-display/ihaskell-magic
-
./ihaskell-display/ihaskell-aeson
-
./ihaskell-display/ihaskell-blaze
-
./ihaskell-display/ihaskell-charts
-
./ihaskell-display/ihaskell-diagrams
-
./ihaskell-display/ihaskell-gnuplot
-
./ihaskell-display/ihaskell-hatex
-
./ihaskell-display/ihaskell-juicypixels
-
./ihaskell-display/ihaskell-magic
# - ./ihaskell-display/ihaskell-plot
# - ./ihaskell-display/ihaskell-static-canvas
#
- ./ihaskell-display/ihaskell-widgets
-
./ihaskell-display/ihaskell-widgets
#
extra-deps:
#
- Chart-cairo-1.9.1
#
- diagrams-cairo-1.4.1
#
- cairo-0.13.6.0
# - pango-0.13.6.0
# - glib-0.13.7.0
# - gtk2hs-buildtools-0.13.5.0
#
- magic-1.1
extra-deps
:
-
Chart-cairo-1.9.1
-
diagrams-cairo-1.4.1
-
cairo-0.13.6.0
-
pango-0.13.6.1
-
glib-0.13.7.1
-
gtk2hs-buildtools-0.13.5.4
-
magic-1.1
# - plot-0.2.3.9
ghc-options
:
# Eventually we want "$locals": -Wall -Wpartial-fields -Werror
#
ghc-parser: -Wall -Wpartial-fields -Werror
#
ihaskell: -Wall -Wpartial-fields -Werror
#
ihaskell-widgets: -Wall -Wpartial-fields -Werror
ghc-parser
:
-Wall -Wpartial-fields -Werror
ihaskell
:
-Wall -Wpartial-fields -Werror
ihaskell-widgets
:
-Wall -Wpartial-fields -Werror
docker
:
repo
:
"
ihaskell-dev:latest"
...
...
stack.yaml
View file @
5b7e03b2
resolver
:
lts-1
4.27
resolver
:
lts-1
6.23
flags
:
{}
packages
:
...
...
@@ -13,25 +13,27 @@ packages:
-
./ihaskell-display/ihaskell-hatex
-
./ihaskell-display/ihaskell-juicypixels
-
./ihaskell-display/ihaskell-magic
#
- ./ihaskell-display/ihaskell-plot
-
./ihaskell-display/ihaskell-plot
# - ./ihaskell-display/ihaskell-static-canvas
-
./ihaskell-display/ihaskell-widgets
extra-deps
:
-
Chart-cairo-1.9.
1
-
diagrams-cairo-1.4.1
-
cairo-0.13.
6.0
-
pango-0.13.
6
.1
-
glib-0.13.
7
.1
-
gtk2hs-buildtools-0.13.
5.4
-
Chart-cairo-1.9.
3
-
diagrams-cairo-1.4.1
.1
-
cairo-0.13.
8.1
-
pango-0.13.
8
.1
-
glib-0.13.
8
.1
-
gtk2hs-buildtools-0.13.
8.0
-
magic-1.1
# - plot-0.2.3.9
-
plot-0.2.3.11
# - static-canvas-0.2.0.3
-
vinyl-0.13.0
ghc-options
:
# Eventually we want "$locals": -Wall -Wpartial-fields -Werror
ghc-parser
:
-Wall -Wpartial-fields -Werror
ihaskell
:
-Wall -Wpartial-fields -Werror
ihaskell-widgets
:
-Wall -Wpartial-fields -Werror
#
ghc-parser: -Wall -Wpartial-fields -Werror
#
ihaskell: -Wall -Wpartial-fields -Werror
#
ihaskell-widgets: -Wall -Wpartial-fields -Werror
docker
:
repo
:
"
ihaskell-dev:latest"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment