doc:fhs-envs: format example properly

That sort of formatting wouldn't be accepted into Nixpkgs. We shouldn't format
an example like that.
This commit is contained in:
Atemu 2023-05-21 12:50:28 +02:00 committed by Anderson Torres
parent 8912c50fc7
commit e57efc6cb7

View File

@ -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
```