From aff4394be6287b7d553f4eb1b3990c457cd07275 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Thu, 12 Jun 2014 21:18:21 +0200 Subject: 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 --- nixos/modules/installer/tools/nixos-generate-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index ab058efc7094..66a8152a3a6c 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -466,7 +466,7 @@ $bootLoaderConfig # }; # 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; [ # wget # ]; -- cgit 1.4.1