···132132 </listitem>
133133 <listitem>
134134 <para>
135135+ PHP is now built <literal>NTS</literal> (Non-Thread Safe)
136136+ style by default, for Apache and <literal>mod_php</literal>
137137+ usage we still enable <literal>ZTS</literal> (Zend Thread
138138+ Safe). This has been a common practice for a long time in
139139+ other distributions.
140140+ </para>
141141+ </listitem>
142142+ <listitem>
143143+ <para>
135144 <literal>protonup</literal> has been aliased to and replaced
136145 by <literal>protonup-ng</literal> due to upstream not
137146 maintaining it.
+4
nixos/doc/manual/release-notes/rl-2211.section.md
···53535454- PHP now defaults to PHP 8.1, updated from 8.0.
55555656+- PHP is now built `NTS` (Non-Thread Safe) style by default, for Apache and
5757+ `mod_php` usage we still enable `ZTS` (Zend Thread Safe). This has been a
5858+ common practice for a long time in other distributions.
5959+5660- `protonup` has been aliased to and replaced by `protonup-ng` due to upstream not maintaining it.
57615862- Perl has been updated to 5.36, and its core module `HTTP::Tiny` was patched to verify SSL/TLS certificates by default.
···2233stdenv.mkDerivation rec {
44 pname = "lean";
55- version = "3.48.0";
55+ version = "3.49.0";
6677 src = fetchFromGitHub {
88 owner = "leanprover-community";
···1111 # from. this is then used to check whether an olean file should be
1212 # rebuilt. don't use a tag as rev because this will get replaced into
1313 # src/githash.h.in in preConfigure.
1414- rev = "283f6ed8083ab4dd7c36300f31816c5cb793f2f7";
1515- sha256 = "sha256-0Ogv/24KNp1ZBDqiYTsGv5vDKD4fJBtoX7LWLu4QZe0=";
1414+ rev = "acf633e01a8783a12060b0a1b7b5b5e15fd73e77";
1515+ sha256 = "sha256-KF13DlGEl6aICSp/haczo54gjLZaOxyzFRdzvyyiu5M=";
1616 };
17171818 nativeBuildInputs = [ cmake ];
···133133 in stdenv.mkDerivation (rec {
134134 inherit pname version nativeLibs javaLibs lispLibs lisp systems asds;
135135136136- src = if builtins.length patches > 0
137137- then apply-patches args
138138- else args.src;
139139-140136 # When src is null, we are building a lispWithPackages and only
141137 # want to make use of the dependency environment variables
142138 # generated by build-asdf-system
···201197 #
202198 # NOTE: It's important to read files from `src` instead of
203199 # from pwd to get go-to-definition working with SLIME
204204- export CL_SOURCE_REGISTRY=$CL_SOURCE_REGISTRY:${src}//
200200+ export CL_SOURCE_REGISTRY=$CL_SOURCE_REGISTRY:$src//
205201206202 # Similiarily for native deps
207203 export LD_LIBRARY_PATH=${makeLibraryPath nativeLibs}:$LD_LIBRARY_PATH
···209205210206 # Make asdf compile from `src` to pwd and load `lispLibs`
211207 # from storeDir. Otherwise it could try to recompile lisp deps.
212212- export ASDF_OUTPUT_TRANSLATIONS="${src}:$(pwd):${storeDir}:${storeDir}"
208208+ export ASDF_OUTPUT_TRANSLATIONS="$src:$(pwd):${storeDir}:${storeDir}"
213209214210 # track lisp dependencies for graph generation
215211 # TODO: Do the propagation like for lisp, native and java like this:
···248244 dontStrip = true;
249245 dontFixup = true;
250246251251- } // args));
252252-253253- # Need to do that because we always want to compile straight from
254254- # `src` for go-to-definition to work in SLIME.
255255- apply-patches = { patches, src, ... }:
256256- stdenv.mkDerivation {
257257- inherit patches src;
258258- pname = "source";
259259- version = "patched";
260260- dontConfigure = true;
261261- dontBuild = true;
262262- dontStrip = true;
263263- dontFixup = true;
264264- installPhase = ''
265265- mkdir -pv $out
266266- cp -r * $out
267267- '';
268268- };
247247+ } // (args // {
248248+ src = if builtins.length (args.patches or []) > 0
249249+ then pkgs.applyPatches { inherit (args) src patches; }
250250+ else args.src;
251251+ patches = [];
252252+ })));
269253270254 # Build the set of lisp packages using `lisp`
271255 # These packages are defined manually for one reason or another: