From c301c1995e118c86308ed61359e45c96a741fac9 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Mon, 4 Oct 2021 12:43:39 -0700 Subject: command-not-found: remove NIX_AUTO_INSTALL --- nixos/modules/programs/command-not-found/command-not-found.pl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nixos/modules/programs/command-not-found/command-not-found.pl b/nixos/modules/programs/command-not-found/command-not-found.pl index 6e275bcc8be..220d057b7f4 100644 --- a/nixos/modules/programs/command-not-found/command-not-found.pl +++ b/nixos/modules/programs/command-not-found/command-not-found.pl @@ -25,14 +25,7 @@ if (!defined $res || scalar @$res == 0) { print STDERR "$program: command not found\n"; } elsif (scalar @$res == 1) { my $package = @$res[0]->{package}; - if ($ENV{"NIX_AUTO_INSTALL"} // "") { - print STDERR <