mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-16 03:16:20 +00:00
README.md: fix out-of-date Nix example invocation
This commit is contained in:
parent
af37a01259
commit
c547ee2fdc
@ -152,7 +152,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-20.03.tar.gz release.nix --argstr compiler ghc865 --arg packages "haskellPackages: [ haskellPackages.lens ]"
|
||||
$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs/tarball/nixos-22.11 release.nix --argstr compiler ghc902 --arg packages "haskellPackages: [ haskellPackages.lens ]"
|
||||
<result path>
|
||||
$ <result path>/bin/jupyter notebook
|
||||
```
|
||||
@ -165,7 +165,7 @@ prebuilt artifacts.
|
||||
The IHaskell display modules are not loaded by default and have to be specified as additional packages:
|
||||
|
||||
```bash
|
||||
$ 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 ]"
|
||||
$ nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs/tarball/nixos-22.11 release.nix --argstr compiler ghc902 --arg packages "haskellPackages: [ haskellPackages.ihaskell-blaze haskellPackages.ihaskell-charts ]"
|
||||
```
|
||||
|
||||
For more examples of using IHaskell with Nix, see https://github.com/vaibhavsagar/notebooks.
|
||||
|
Loading…
x
Reference in New Issue
Block a user