diff --git a/command-not-found.sh b/command-not-found.sh index 5f30bad..3854297 100755 --- a/command-not-found.sh +++ b/command-not-found.sh @@ -73,51 +73,30 @@ EOF else if [ -e "$HOME/.nix-profile/manifest.json" ]; then >&2 cat <&2 cat <&2 cat <&2 echo " nix profile install $toplevel#$attr" - else - >&2 echo " nix-env -iA $toplevel.$attr" - fi - done <<< "$attrs" - - >&2 cat <&2 echo " nix shell $toplevel#$attr -c $cmd ..." + >&2 echo " nix shell $toplevel#$attr" else - >&2 echo " nix-shell -p $attr --run '$cmd ...'" + >&2 echo " nix-shell -p $attr" fi done <<< "$attrs" ;;