From 4f3f62599d3892f496831ad4201cb732002ee1b9 Mon Sep 17 00:00:00 2001 From: Aadi Bajpai Date: Wed, 10 Nov 2021 01:14:30 -0600 Subject: [PATCH] add fortune as the main program this will make it work with nix run --- pkgs/tools/misc/fortune/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/misc/fortune/default.nix b/pkgs/tools/misc/fortune/default.nix index 350e28428d4b..6f77c54e30b4 100644 --- a/pkgs/tools/misc/fortune/default.nix +++ b/pkgs/tools/misc/fortune/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { '') ]; meta = with lib; { + mainProgram = "fortune"; description = "A program that displays a pseudorandom message from a database of quotations"; license = licenses.bsdOriginal; platforms = platforms.unix;