diff options
author | Atemu <atemu.main@gmail.com> | 2023-05-21 12:50:28 +0200 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-22 11:34:04 -0300 |
commit | e57efc6cb719064b99edfa670ab6cbfaed1433f8 (patch) | |
tree | f90e1271b9e6af8126591f14e155ccc00bb0efa7 | |
parent | 8912c50fc7c9241fd49e61c2387eb0126a49a679 (diff) |
doc:fhs-envs: format example properly
That sort of formatting wouldn't be accepted into Nixpkgs. We shouldn't format an example like that.
-rw-r--r-- | doc/builders/special/fhs-environments.section.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/builders/special/fhs-environments.section.md b/doc/builders/special/fhs-environments.section.md index 13d744ab75498..91d4060cdeb18 100644 --- a/doc/builders/special/fhs-environments.section.md +++ b/doc/builders/special/fhs-environments.section.md @@ -29,18 +29,18 @@ One can create a simple environment using a `shell.nix` like that: (pkgs.buildFHSEnv { name = "simple-x11-env"; - targetPkgs = pkgs: (with pkgs; - [ udev - alsa-lib - ]) ++ (with pkgs.xorg; - [ libX11 - libXcursor - libXrandr - ]); - multiPkgs = pkgs: (with pkgs; - [ udev - alsa-lib - ]); + targetPkgs = pkgs: (with pkgs; [ + udev + alsa-lib + ]) ++ (with pkgs.xorg; [ + libX11 + libXcursor + libXrandr + ]); + multiPkgs = pkgs: (with pkgs; [ + udev + alsa-lib + ]); runScript = "bash"; }).env ``` |