about summary refs log tree commit diff
path: root/nixos/modules/services/development
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-01-04 00:45:35 +0100
committerpennae <github@quasiparticle.net>2023-01-10 10:31:52 +0100
commit0715ecf936a642ec6e019333114c8ff2d92360d0 (patch)
tree34a58a01ccfb0187719f0b6902e9b2d4de454e1c /nixos/modules/services/development
parent6930425922a51d353b1a52ea1140ecc03528bca3 (diff)
downloadnixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar.gz
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar.bz2
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar.lz
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar.xz
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.tar.zst
nixlib-0715ecf936a642ec6e019333114c8ff2d92360d0.zip
nixos/manual: normalize <programlisting>
makes sure that program listing tags are separated from their contents
by exactly a newline character. this makes the markdown translation
easier to verify (since no new newlines need to be inserted), and
there's no rendering difference anyway.
Diffstat (limited to 'nixos/modules/services/development')
-rw-r--r--nixos/modules/services/development/blackfire.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/development/blackfire.xml b/nixos/modules/services/development/blackfire.xml
index cecd249dda48..1df6441f66fc 100644
--- a/nixos/modules/services/development/blackfire.xml
+++ b/nixos/modules/services/development/blackfire.xml
@@ -13,7 +13,8 @@
  </para>
  <para>
   To use it, you will need to enable the agent and the probe on your server. The exact method will depend on the way you use PHP but here is an example of NixOS configuration for PHP-FPM:
-<programlisting>let
+<programlisting>
+let
   php = pkgs.php.withExtensions ({ enabled, all }: enabled ++ (with all; [
     blackfire
   ]));
@@ -38,7 +39,8 @@ in {
   # (WantedBy= from the upstream unit not respected: https://github.com/NixOS/nixpkgs/issues/81138)
   # Alternately, you can start it manually with `systemctl start blackfire-agent`.
   systemd.services.blackfire-agent.wantedBy = [ "phpfpm-foo.service" ];
-}</programlisting>
+}
+</programlisting>
  </para>
  <para>
   On your developer machine, you will also want to install <link xlink:href="https://blackfire.io/docs/up-and-running/installation#install-a-profiling-client">the client</link> (see <package>blackfire</package> package) or the browser extension to actually trigger the profiling.