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:
parent
6cc799b24c
commit
aff4394be6
@ -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
|
||||||
# ];
|
# ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user