File tree Expand file tree Collapse file tree 2 files changed +68
-51
lines changed Expand file tree Collapse file tree 2 files changed +68
-51
lines changed Original file line number Diff line number Diff line change 1+ { prev , mkPhp } :
2+
3+ let
4+ base = ( mkPhp {
5+ version = "8.4.0" ;
6+ hash = "sha256-pcx6kLYRwUL4bpRMsGMGnDJBW4xc1AZIJiF81DI8//8=" ;
7+ pearSupport = false ;
8+ pharSupport = false ;
9+ } ) . overrideAttrs ( oldAttrs : {
10+ src = prev . fetchFromGitHub {
11+ owner = "php" ;
12+ repo = "php-src" ;
13+ rev = "06c4092d055e0a9f6defe459783f9b3739c618ab" ;
14+ hash = "sha256-pcx6kLYRwUL4bpRMsGMGnDJBW4xc1AZIJiF81DI8//8=" ;
15+ } ;
16+ } ) ;
17+ in
18+ base . withExtensions (
19+ { all , ... } :
20+
21+ with all ; (
22+ [
23+ bcmath
24+ calendar
25+ curl
26+ ctype
27+ dom
28+ exif
29+ fileinfo
30+ filter
31+ ftp
32+ gd
33+ gettext
34+ gmp
35+ iconv
36+ imap
37+ intl
38+ ldap
39+ mbstring
40+ mysqli
41+ mysqlnd
42+ opcache
43+ openssl
44+ pcntl
45+ pdo
46+ pdo_mysql
47+ pdo_odbc
48+ pdo_pgsql
49+ pdo_sqlite
50+ pgsql
51+ posix
52+ readline
53+ session
54+ simplexml
55+ sockets
56+ soap
57+ sodium
58+ sysvsem
59+ sqlite3
60+ tokenizer
61+ xmlreader
62+ xmlwriter
63+ zip
64+ zlib
65+ ]
66+ )
67+ )
Original file line number Diff line number Diff line change 165165 inherit packageOverrides ;
166166 } ;
167167
168- php-master = base-master . withExtensions (
169- { all , ... } :
170-
171- with all ; (
172- [
173- bcmath
174- calendar
175- curl
176- ctype
177- dom
178- exif
179- fileinfo
180- filter
181- ftp
182- gd
183- gettext
184- gmp
185- iconv
186- intl
187- ldap
188- mbstring
189- mysqli
190- mysqlnd
191- opcache
192- openssl
193- pcntl
194- pdo
195- pdo_mysql
196- pdo_odbc
197- pdo_pgsql
198- pdo_sqlite
199- pgsql
200- posix
201- readline
202- session
203- simplexml
204- sockets
205- soap
206- sodium
207- sqlite3
208- tokenizer
209- xmlreader
210- xmlwriter
211- zip
212- zlib
213- ]
214- ++ prev . lib . optionals ( ! prev . stdenv . isDarwin ) [
215- imap
216- ]
217- )
218- ) ;
168+ php-master = import ./php/php-master.nix { inherit prev mkPhp ; } ;
219169}
You can’t perform that action at this time.
0 commit comments