1
1
<!DOCTYPE HTML>
2
- < html lang ="en " class ="sidebar-visible no-js light ">
2
+ < html lang ="en " class ="light sidebar-visible" dir =" ltr ">
3
3
< head >
4
4
<!-- Book generated using mdBook -->
5
5
< meta charset ="UTF-8 ">
6
- < title > Page not found - Alternative Haskell Infrastructure for Nixpkgs </ title >
6
+ < title > Page not found - Haskell.nix </ title >
7
7
< base href ="/ ">
8
+
9
+
8
10
<!-- Custom HTML head -->
9
- < meta content =" text/html; charset=utf-8 " http-equiv =" Content-Type " >
11
+
10
12
< meta name ="description " content ="">
11
13
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
12
- < meta name ="theme-color " content ="#ffffff " / >
14
+ < meta name ="theme-color " content ="#ffffff ">
13
15
14
16
< link rel ="icon " href ="favicon.svg ">
15
17
< link rel ="shortcut icon " href ="favicon.png ">
16
18
< link rel ="stylesheet " href ="css/variables.css ">
17
19
< link rel ="stylesheet " href ="css/general.css ">
18
20
< link rel ="stylesheet " href ="css/chrome.css ">
19
21
< link rel ="stylesheet " href ="css/print.css " media ="print ">
22
+
20
23
<!-- Fonts -->
21
24
< link rel ="stylesheet " href ="FontAwesome/css/font-awesome.css ">
22
25
< link rel ="stylesheet " href ="fonts/fonts.css ">
26
+
23
27
<!-- Highlight.js Stylesheets -->
24
- < link rel ="stylesheet " href ="highlight.css ">
25
- < link rel ="stylesheet " href ="tomorrow-night.css ">
26
- < link rel ="stylesheet " href ="ayu-highlight.css ">
28
+ < link rel ="stylesheet " id =" highlight-css " href ="highlight.css ">
29
+ < link rel ="stylesheet " id =" tomorrow-night-css " href ="tomorrow-night.css ">
30
+ < link rel ="stylesheet " id =" ayu-highlight-css " href ="ayu-highlight.css ">
27
31
28
32
<!-- Custom theme stylesheets -->
33
+
34
+
35
+ <!-- Provide site root and default themes to javascript -->
36
+ < script >
37
+ const path_to_root = "" ;
38
+ const default_light_theme = "light" ;
39
+ const default_dark_theme = "navy" ;
40
+ </ script >
41
+ <!-- Start loading toc.js asap -->
42
+ < script src ="toc.js "> </ script >
29
43
</ head >
30
44
< body >
31
- <!-- Provide site root to javascript -->
32
- < script type ="text/javascript ">
33
- var path_to_root = "" ;
34
- var default_theme = window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches ? "navy" : "light" ;
35
- </ script >
36
-
45
+ < div id ="body-container ">
37
46
<!-- Work around some values being stored in localStorage wrapped in quotes -->
38
- < script type =" text/javascript " >
47
+ < script >
39
48
try {
40
- var theme = localStorage . getItem ( 'mdbook-theme' ) ;
41
- var sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ;
49
+ let theme = localStorage . getItem ( 'mdbook-theme' ) ;
50
+ let sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ;
42
51
43
52
if ( theme . startsWith ( '"' ) && theme . endsWith ( '"' ) ) {
44
53
localStorage . setItem ( 'mdbook-theme' , theme . slice ( 1 , theme . length - 1 ) ) ;
51
60
</ script >
52
61
53
62
<!-- Set the theme before any content is loaded, prevents flash -->
54
- < script type ="text/javascript ">
55
- var theme ;
63
+ < script >
64
+ const default_theme = window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches ? default_dark_theme : default_light_theme ;
65
+ let theme ;
56
66
try { theme = localStorage . getItem ( 'mdbook-theme' ) ; } catch ( e ) { }
57
67
if ( theme === null || theme === undefined ) { theme = default_theme ; }
58
- var html = document . querySelector ( 'html' ) ;
59
- html . classList . remove ( 'no-js' )
68
+ const html = document . documentElement ;
60
69
html . classList . remove ( 'light' )
61
70
html . classList . add ( theme ) ;
62
- html . classList . add ( 'js' ) ;
71
+ html . classList . add ( "js" ) ;
63
72
</ script >
64
73
74
+ < input type ="checkbox " id ="sidebar-toggle-anchor " class ="hidden ">
75
+
65
76
<!-- Hide / unhide sidebar before it is displayed -->
66
- < script type =" text/javascript " >
67
- var html = document . querySelector ( 'html' ) ;
68
- var sidebar = 'hidden' ;
77
+ < script >
78
+ let sidebar = null ;
79
+ const sidebar_toggle = document . getElementById ( "sidebar-toggle-anchor" ) ;
69
80
if ( document . body . clientWidth >= 1080 ) {
70
81
try { sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ; } catch ( e ) { }
71
82
sidebar = sidebar || 'visible' ;
83
+ } else {
84
+ sidebar = 'hidden' ;
72
85
}
86
+ sidebar_toggle . checked = sidebar === 'visible' ;
73
87
html . classList . remove ( 'sidebar-visible' ) ;
74
88
html . classList . add ( "sidebar-" + sidebar ) ;
75
89
</ script >
76
90
77
91
< nav id ="sidebar " class ="sidebar " aria-label ="Table of contents ">
78
- < div class ="sidebar-scrollbox ">
79
- < ol class ="chapter "> < li class ="chapter-item expanded "> < a href ="index.html "> < strong aria-hidden ="true "> 1.</ strong > Introduction</ a > </ li > < li class ="chapter-item expanded "> < a href ="motivation.html "> < strong aria-hidden ="true "> 2.</ strong > Motivation</ a > </ li > < li class ="chapter-item expanded "> < a href ="architecture.html "> < strong aria-hidden ="true "> 3.</ strong > Architecture</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/index.html "> < strong aria-hidden ="true "> 4.</ strong > Tutorials</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="tutorials/getting-started.html "> < strong aria-hidden ="true "> 4.1.</ strong > Getting started</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/getting-started-flakes.html "> < strong aria-hidden ="true "> 4.2.</ strong > Getting started with Flakes</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/getting-started-hix.html "> < strong aria-hidden ="true "> 4.3.</ strong > Getting started with Hix</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/development.html "> < strong aria-hidden ="true "> 4.4.</ strong > Creating a development environment</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/clean-git.html "> < strong aria-hidden ="true "> 4.5.</ strong > Sourcing files only part of git repository using cleanGit</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/source-repository-hashes.html "> < strong aria-hidden ="true "> 4.6.</ strong > Handling git repositories in projects</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/pkg-map.html "> < strong aria-hidden ="true "> 4.7.</ strong > Mapping non-Haskell dependencies to Nixpkgs</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/hackage-stackage.html "> < strong aria-hidden ="true "> 4.8.</ strong > Bumping Hackage and Stackage snapshots</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/materialization.html "> < strong aria-hidden ="true "> 4.9.</ strong > Materialization: Speeding up Nix evaluation</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/cross-compilation.html "> < strong aria-hidden ="true "> 4.10.</ strong > Cross-compiling your project</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/coverage.html "> < strong aria-hidden ="true "> 4.11.</ strong > Generating coverage information</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/building-package-from-stackage-hackage.html "> < strong aria-hidden ="true "> 4.12.</ strong > Build a specific package from Hackage or Stackage</ a > </ li > < li class ="chapter-item expanded "> < a href ="tutorials/ca-derivations.html "> < strong aria-hidden ="true "> 4.13.</ strong > Content addressed derivations</ a > </ li > </ ol > </ li > < li class ="chapter-item expanded "> < a href ="reference/index.html "> < strong aria-hidden ="true "> 5.</ strong > Reference</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="reference/supported-ghc-versions.html "> < strong aria-hidden ="true "> 5.1.</ strong > Supported GHC versions</ a > </ li > < li class ="chapter-item expanded "> < a href ="reference/commands.html "> < strong aria-hidden ="true "> 5.2.</ strong > Command-line tools</ a > </ li > < li class ="chapter-item expanded "> < a href ="reference/library.html "> < strong aria-hidden ="true "> 5.3.</ strong > Haskell.nix Library</ a > </ li > < li class ="chapter-item expanded "> < a href ="reference/modules.html "> < strong aria-hidden ="true "> 5.4.</ strong > Module options</ a > </ li > < li class ="chapter-item expanded "> < a href ="troubleshooting.html "> < strong aria-hidden ="true "> 5.5.</ strong > Troubleshooting</ a > </ li > </ ol > </ li > < li class ="chapter-item expanded "> < a href ="template/index.html "> < strong aria-hidden ="true "> 6.</ strong > Templates / Abstraction</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="template/iohk-nix.html "> < strong aria-hidden ="true "> 6.1.</ strong > IOHKs nix library</ a > </ li > </ ol > </ li > < li class ="chapter-item expanded "> < a href ="dev/index.html "> < strong aria-hidden ="true "> 7.</ strong > Dev Notes</ a > </ li > < li > < ol class ="section "> < li class ="chapter-item expanded "> < a href ="dev/dev-architecture.html "> < strong aria-hidden ="true "> 7.1.</ strong > Architecture</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/installing-nix-tools.html "> < strong aria-hidden ="true "> 7.2.</ strong > Installing nix-tools</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/nix-tools-pin.html "> < strong aria-hidden ="true "> 7.3.</ strong > How to update nix-tools</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/manually-generating-nix-expressions.html "> < strong aria-hidden ="true "> 7.4.</ strong > Manually generating Nix expressions</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/maintainer-scripts.html "> < strong aria-hidden ="true "> 7.5.</ strong > Maintainer Scripts</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/nixpkgs-pin.html "> < strong aria-hidden ="true "> 7.6.</ strong > Nixpkgs Pin</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/removing-with-package-wrapper.html "> < strong aria-hidden ="true "> 7.7.</ strong > Removing withPackage wrapper</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/tests.html "> < strong aria-hidden ="true "> 7.8.</ strong > Test Suite</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/adding-new-ghc.html "> < strong aria-hidden ="true "> 7.9.</ strong > Adding a new GHC version</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/coverage.html "> < strong aria-hidden ="true "> 7.10.</ strong > Coverage</ a > </ li > < li class ="chapter-item expanded "> < a href ="dev/hix.html "> < strong aria-hidden ="true "> 7.11.</ strong > Making changes to Hix</ a > </ li > < li class ="chapter-item expanded "> < a href ="changelog.html "> < strong aria-hidden ="true "> 7.12.</ strong > ChangeLog</ a > </ li > </ ol > </ li > </ ol >
92
+ <!-- populated by js -->
93
+ < mdbook-sidebar-scrollbox class ="sidebar-scrollbox "> </ mdbook-sidebar-scrollbox >
94
+ < noscript >
95
+ < iframe class ="sidebar-iframe-outer " src ="toc.html "> </ iframe >
96
+ </ noscript >
97
+ < div id ="sidebar-resize-handle " class ="sidebar-resize-handle ">
98
+ < div class ="sidebar-resize-indicator "> </ div >
80
99
</ div >
81
- < div id ="sidebar-resize-handle " class ="sidebar-resize-handle "> </ div >
82
100
</ nav >
83
101
84
102
< div id ="page-wrapper " class ="page-wrapper ">
85
103
86
104
< div class ="page ">
87
105
< div id ="menu-bar-hover-placeholder "> </ div >
88
- < div id ="menu-bar " class ="menu-bar sticky bordered ">
106
+ < div id ="menu-bar " class ="menu-bar sticky ">
89
107
< div class ="left-buttons ">
90
- < button id ="sidebar-toggle " class ="icon-button " type =" button " title ="Toggle Table of Contents " aria-label ="Toggle Table of Contents " aria-controls ="sidebar ">
108
+ < label id ="sidebar-toggle " class ="icon-button " for =" sidebar-toggle-anchor " title ="Toggle Table of Contents " aria-label ="Toggle Table of Contents " aria-controls ="sidebar ">
91
109
< i class ="fa fa-bars "> </ i >
92
- </ button >
110
+ </ label >
93
111
< button id ="theme-toggle " class ="icon-button " type ="button " title ="Change theme " aria-label ="Change theme " aria-haspopup ="true " aria-expanded ="false " aria-controls ="theme-list ">
94
112
< i class ="fa fa-paint-brush "> </ i >
95
113
</ button >
96
114
< ul id ="theme-list " class ="theme-popup " aria-label ="Themes " role ="menu ">
97
- < li role ="none "> < button role ="menuitem " class ="theme " id ="light "> Light (default)</ button > </ li >
115
+ < li role ="none "> < button role ="menuitem " class ="theme " id ="default_theme "> Auto</ button > </ li >
116
+ < li role ="none "> < button role ="menuitem " class ="theme " id ="light "> Light</ button > </ li >
98
117
< li role ="none "> < button role ="menuitem " class ="theme " id ="rust "> Rust</ button > </ li >
99
118
< li role ="none "> < button role ="menuitem " class ="theme " id ="coal "> Coal</ button > </ li >
100
119
< li role ="none "> < button role ="menuitem " class ="theme " id ="navy "> Navy</ button > </ li >
105
124
</ button >
106
125
</ div >
107
126
108
- < h1 class ="menu-title "> Alternative Haskell Infrastructure for Nixpkgs </ h1 >
127
+ < h1 class ="menu-title "> Haskell.nix </ h1 >
109
128
110
129
< div class ="right-buttons ">
111
130
< a href ="print.html " title ="Print this book " aria-label ="Print this book ">
112
131
< i id ="print-button " class ="fa fa-print "> </ i >
113
132
</ a >
133
+
114
134
</ div >
115
135
</ div >
116
136
@@ -124,8 +144,9 @@ <h1 class="menu-title">Alternative Haskell Infrastructure for Nixpkgs</h1>
124
144
</ ul >
125
145
</ div >
126
146
</ div >
147
+
127
148
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
128
- < script type =" text/javascript " >
149
+ < script >
129
150
document . getElementById ( 'sidebar-toggle' ) . setAttribute ( 'aria-expanded' , sidebar === 'visible' ) ;
130
151
document . getElementById ( 'sidebar' ) . setAttribute ( 'aria-hidden' , sidebar !== 'visible' ) ;
131
152
Array . from ( document . querySelectorAll ( '#sidebar a' ) ) . forEach ( function ( link ) {
@@ -142,26 +163,38 @@ <h1 id="document-not-found-404"><a class="header" href="#document-not-found-404"
142
163
143
164
< nav class ="nav-wrapper " aria-label ="Page navigation ">
144
165
<!-- Mobile navigation buttons -->
166
+
167
+
145
168
< div style ="clear: both "> </ div >
146
169
</ nav >
147
170
</ div >
148
171
</ div >
149
172
150
173
< nav class ="nav-wide-wrapper " aria-label ="Page navigation ">
174
+
151
175
</ nav >
152
176
153
177
</ div >
154
178
155
- < script type ="text/javascript ">
179
+
180
+
181
+
182
+ < script >
156
183
window . playground_copyable = true ;
157
184
</ script >
158
- < script src ="elasticlunr.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
159
- < script src ="mark.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
160
- < script src ="searcher.js " type ="text/javascript " charset ="utf-8 "> </ script >
161
- < script src ="clipboard.min.js " type ="text/javascript " charset ="utf-8 "> </ script >
162
- < script src ="highlight.js " type ="text/javascript " charset ="utf-8 "> </ script >
163
- < script src ="book.js " type ="text/javascript " charset ="utf-8 "> </ script >
185
+
186
+
187
+ < script src ="elasticlunr.min.js "> </ script >
188
+ < script src ="mark.min.js "> </ script >
189
+ < script src ="searcher.js "> </ script >
190
+
191
+ < script src ="clipboard.min.js "> </ script >
192
+ < script src ="highlight.js "> </ script >
193
+ < script src ="book.js "> </ script >
164
194
165
195
<!-- Custom JS scripts -->
196
+
197
+
198
+ </ div >
166
199
</ body >
167
200
</ html >
0 commit comments