nixos-generate-config: fix nix-env example command

An escape char is needed to prevent "$ nix" from being evaluated and
expanded to an empty string. With this change the resulting text is

  $ nix-env -qaP | grep wget

instead of

  -env -qaP | grep wget
This commit is contained in:
Bjørn Forsman 2014-06-12 21:18:21 +02:00
parent 6cc799b24c
commit aff4394be6

View File

@ -466,7 +466,7 @@ $bootLoaderConfig
# }; # };
# List packages installed in system profile. To search by name, run: # List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget # \$ nix-env -qaP | grep wget
# environment.systemPackages = with pkgs; [ # environment.systemPackages = with pkgs; [
# wget # wget
# ]; # ];