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
9caa54fd
Commit
9caa54fd
authored
May 10, 2020
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README.md: update Nix instructions
parent
6e35724b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
README.md
README.md
+2
-4
No files found.
README.md
View file @
9caa54fd
...
...
@@ -245,7 +245,7 @@ If you have the `nix` package manager installed, you can create an IHaskell
notebook environment with one command. For example:
```
bash
$
nix-build
-I
nixpkgs
=
https://github.com/NixOS/nixpkgs-channels/archive/nixos-
19.09
.tar.gz release.nix
--argstr
compiler ghc865
--arg
packages
"haskellPackages: [ haskellPackages.lens ]"
$
nix-build
-I
nixpkgs
=
https://github.com/NixOS/nixpkgs-channels/archive/nixos-
20.03
.tar.gz release.nix
--argstr
compiler ghc865
--arg
packages
"haskellPackages: [ haskellPackages.lens ]"
<result path>
$
<result path>/bin/ihaskell-notebook
```
...
...
@@ -258,11 +258,9 @@ prebuilt artifacts.
The IHaskell display modules are not loaded by default and have to be specified as additional packages:
```
bash
$
NIXPKGS_ALLOW_BROKEN
=
1 nix-build
-I
nixpkgs
=
https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz release.nix
--argstr
compiler ghc844
--arg
packages
"haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]"
$
nix-build
-I
nixpkgs
=
https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz release.nix
--argstr
compiler ghc865
--arg
packages
"haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]"
```
We use GHC 8.4 here because not all dependencies have been updated to support GHC 8.6 yet.
For more examples of using IHaskell with Nix, see https://github.com/vaibhavsagar/notebooks.
# Troubleshooting
...
...
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