summary refs log tree commit diff
path: root/pkgs/top-level/aliases.nix
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2020-10-19 18:24:28 -0400
committerGitHub <noreply@github.com>2020-10-19 18:24:28 -0400
commite19a5b3f9556041e05da23bd4dd2773ef3d9c33e (patch)
tree3d85bf0fda6664a16b5e61b0005b0ab744108788 /pkgs/top-level/aliases.nix
parentfba7eaeb63377bfebbadc38bc945ed95838edf3a (diff)
downloadnixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar.gz
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar.bz2
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar.lz
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar.xz
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.tar.zst
nixpkgs-e19a5b3f9556041e05da23bd4dd2773ef3d9c33e.zip
ytop: Add "ytop" to ytop's error message
Right now, running `nixos-rebuild` gives an obscure error:
```
$ nixos-rebuild switch
building Nix...
building the system configuration...
error: Abandoned by upstream. Consider switching to bottom instead
(use '--show-trace' to show detailed location information)
```

(And `--show-trace` adds no useful information.)

The error message doesn't indicate that `ytop` is what's causing the problem.
By adding `ytop` to the error message, configurations that still reference
`ytop` will be easier to debug and fix.
Diffstat (limited to 'pkgs/top-level/aliases.nix')
-rw-r--r--pkgs/top-level/aliases.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index df248096890..40908e56a72 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -666,7 +666,7 @@ mapAliases ({
   xpraGtk3 = xpra; # added 2018-09-13
   xv = xxv; # added 2020-02-22
   youtubeDL = youtube-dl;  # added 2014-10-26
-  ytop = throw "Abandoned by upstream. Consider switching to bottom instead";
+  ytop = throw "ytop has been abandoned by upstream. Consider switching to bottom instead";
   zdfmediathk = mediathekview; # added 2019-01-19
   gnome_user_docs = gnome-user-docs; # added 2019-11-20
   # spidermonkey is not ABI upwards-ompatible, so only allow this for nix-shell