From a824a8ec3e942628f9046fcc281725883d60e18b Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Fri, 21 Oct 2022 17:48:24 -0700 Subject: [PATCH] nix-output-monitor: set meta.mainProgram Fixes `error: unable to execute '/nix/store/arrb5j23znf00p1i0kvd9bmb7ddamlxx-nix-output-monitor-2.0.0.2/bin/nix-output-monitor': No such file or directory` with nix run --- pkgs/tools/nix/nix-output-monitor/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/nix/nix-output-monitor/default.nix b/pkgs/tools/nix/nix-output-monitor/default.nix index e0bde4d99119..9b3b0eebd91a 100644 --- a/pkgs/tools/nix/nix-output-monitor/default.nix +++ b/pkgs/tools/nix/nix-output-monitor/default.nix @@ -15,6 +15,7 @@ chmod a+x $out/bin/nom-build installShellCompletion --zsh --name _nom-build completions/completion.zsh ''; + mainProgram = "nom"; }; in justStaticExecutables