From 9714d4fec2c96d6ff4fd93b899e2710e3c66144b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 9 Feb 2025 08:33:21 +0000 Subject: [PATCH] vifm: set mainProgram = vifm Without the change `vifm-full` can't be ran as: $ nix run -f. vifm-full error: unable to execute '...-vifm-full-0.14/bin/vifm-full': No such file or directory With the change both of the above run fine: $ nix run -f. vifm $ nix run -f. vifm-full --- pkgs/by-name/vi/vifm/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/vi/vifm/package.nix b/pkgs/by-name/vi/vifm/package.nix index 0a2e023a46d5..2110a038fd3d 100644 --- a/pkgs/by-name/vi/vifm/package.nix +++ b/pkgs/by-name/vi/vifm/package.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Vi-like file manager${lib.optionalString isFullPackage "; Includes support for optional features"}"; + mainProgram = "vifm"; maintainers = with maintainers; [ raskin ]; platforms = if mediaSupport then platforms.linux else platforms.unix; license = licenses.gpl2;