File tree 26 files changed +387
-86
lines changed
efficient-combinator-parsers
revisiting-monadic-parsing-haskell
revisiting-poor-mans-concurrency
26 files changed +387
-86
lines changed Original file line number Diff line number Diff line change 3
3
result
4
4
dist
5
5
dist-newstyle
6
+ bellroy-application
7
+ mercury-interview
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
19
+ packages = self : with self ; [ ] ;
6
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- nixpkgs = import pkgs . nixpkgs { } ;
5
- compiler = "ghc928" ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ ihaskell-aeson ihaskell-blaze ihaskell-charts ihaskell-diagrams ] ;
20
+ systemPackages = self : with self ; [ graphviz ] ;
7
21
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- nixpkgs = import pkgs . nixpkgs { } ;
5
- compiler = "ghc928" ;
6
- packages = self : with self ; [ ihaskell-widgets ] ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
19
+ packages = self : with self ; [ ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- rise = import ../rise.nix ;
4
- in import "${ pkgs . ihaskell } /release.nix" {
5
- nixpkgs = import pkgs . nixpkgs { } ;
6
- compiler = "ghc928" ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
7
19
packages = self : with self ; [ ] ;
8
- pythonPackages = p : [ ( rise p ) ] ;
9
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
4
17
NB_USER = "jovyan" ;
5
18
NB_UID = "1000" ;
6
19
dockerEtc = nixpkgs . runCommand "docker-etc" { } ''
16
29
echo "root:x::" > $out/etc/gshadow
17
30
echo "jovyan:!::" >> $out/etc/gshadow
18
31
'' ;
19
- ihaskell = import "${ pkgs . ihaskell } /release.nix" {
20
- inherit nixpkgs ;
21
- compiler = "ghc928" ;
32
+ ihaskell = nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
22
33
packages = self : with self ; [ ] ;
34
+ extraEnvironmentBinaries = [ jupyterlab ] ;
23
35
staticExecutable = true ;
24
36
} ;
25
37
image = nixpkgs . dockerTools . buildLayeredImage {
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- nixpkgs = import pkgs . nixpkgs { } ;
5
- compiler = "ghc928" ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ timeit ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
4
17
cleanSource = name : type : let
5
18
baseName = baseNameOf ( toString name ) ;
6
19
lib = nixpkgs . lib ;
17
30
) ;
18
31
git-from-scratch =
19
32
nixpkgs . haskellPackages . callCabal2nix "git-from-scratch" ( builtins . filterSource cleanSource ./. ) { } ;
20
- in import "${ pkgs . ihaskell } /release.nix" {
21
- inherit nixpkgs ;
22
- compiler = "ghc928" ;
33
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
23
34
packages = self : with self ; [
24
35
SHA
25
36
attoparsec
@@ -40,4 +51,5 @@ in import "${pkgs.ihaskell}/release.nix" {
40
51
qpdf
41
52
vim
42
53
] ;
54
+ extraEnvironmentBinaries = [ jupyterlab ] ;
43
55
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ here ihaskell-graphviz ] ;
7
20
systemPackages = self : with self ; [ graphviz ] ;
8
21
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ bytestring memory pretty-show timeit vector here ihaskell-graphviz ] ;
7
20
systemPackages = self : with self ; [ graphviz ] ;
8
21
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- nixpkgs = import pkgs . nixpkgs { } ;
5
- compiler = "ghc902" ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ validation ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ sbv = sup . haskell . lib . dontCheck ( self . callHackage "sbv" "10.1" { } ) ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ } ;
16
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
17
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
18
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
19
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
20
packages = self : with self ; [
7
21
aeson
8
22
aeson-pretty
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
18
+ extraEnvironmentBinaries = [ jupyterlab ] ;
6
19
packages = self : with self ; [ pretty-show ] ;
7
20
}
Original file line number Diff line number Diff line change 1
1
let
2
2
pkgs = import ../pkgs.nix ;
3
- in import "${ pkgs . ihaskell } /release.nix" {
4
- compiler = "ghc928" ;
5
- nixpkgs = import pkgs . nixpkgs { } ;
3
+ overlay = sel : sup : {
4
+ nix-filter = import pkgs . nix-filter ;
5
+ haskell = sup . haskell // {
6
+ packages = sup . haskell . packages // {
7
+ ghc948 = sup . haskell . packages . ghc948 . override {
8
+ overrides = self : super : {
9
+ ghc-syntax-highlighter = self . ghc-syntax-highlighter_0_0_10_0 ;
10
+ } ;
11
+ } ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ nixpkgs = ( import pkgs . nixpkgs { overlays = [ overlay ] ; } ) ;
16
+ jupyterlab = nixpkgs . python3 . withPackages ( ps : [ ps . jupyterlab ps . notebook ] ) ;
17
+ in nixpkgs . callPackage "${ pkgs . ihaskell } /nix/release.nix" { compiler = "ghc948" ; } {
6
18
packages = self : with self ; [ containers transformers vector ] ;
19
+ extraEnvironmentBinaries = [ jupyterlab ] ;
7
20
}
You can’t perform that action at this time.
0 commit comments