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-22 11:34:04 -03:00
committed by Anderson Torres
parent 8912c50fc7
commit e57efc6cb7
@@ -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
```