From 01ee5c9271052fda43eadc702198cb980e073f53 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Sun, 14 Jun 2020 10:11:12 +0200 Subject: [PATCH] manual: use less weird way of installing nixos tools --- nixos/doc/manual/installation/installing-from-other-distro.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml index 8ed45899fd7f..45d68f8787f1 100644 --- a/nixos/doc/manual/installation/installing-from-other-distro.xml +++ b/nixos/doc/manual/installation/installing-from-other-distro.xml @@ -89,7 +89,7 @@ nixpkgs https://nixos.org/channels/nixpkgs-unstable NixOS partition. They are installed by default on NixOS, but you don't have NixOS yet.. -$ nix-env -iE "_: with import <nixpkgs/nixos> { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ]" +$ nix-env -f '<nixpkgs/nixos>' --arg configuration {} -iA config.system.build.{nixos-generate-config,nixos-install,nixos-enter,manual.manpages}