From 88f4e09fdad0a30e3d1fba0de03f361612273e09 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 12 Sep 2019 16:21:08 +0200 Subject: [PATCH] wtf: Rename executable to `wtfutil` The upstream project changed the name from `wtf` to `wtfutil` some time ago, see [1]. [1]: https://github.com/wtfutil/wtf/commit/b4e3b7e3a2352d58e255d117d0743253e88cf3f1 --- pkgs/applications/misc/wtf/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix index 60ff84ffe59..4131a3e2ade 100644 --- a/pkgs/applications/misc/wtf/default.nix +++ b/pkgs/applications/misc/wtf/default.nix @@ -27,7 +27,8 @@ buildGoModule rec { nativeBuildInputs = [ makeWrapper ]; postInstall = '' - wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin" + mv "$out/bin/wtf" "$out/bin/wtfutil" + wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin" ''; meta = with lib; {