From 60a09f9465d046ab8df6d074939efb2cfb522845 Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Tue, 5 Mar 2024 03:02:57 -0700 Subject: fix(nix): set meta.mainProgram in the package (#1823) * fix(nix): set meta.mainProgram in the package * style: Update link for the nixpkgs atuin package --- atuin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atuin.nix') diff --git a/atuin.nix b/atuin.nix index f8288b19..c02a82de 100644 --- a/atuin.nix +++ b/atuin.nix @@ -1,7 +1,7 @@ # Atuin package definition # # This file will be similar to the package definition in nixpkgs: -# https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/atuin/default.nix +# https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/at/atuin/package.nix # # Helpful documentation: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md { @@ -42,5 +42,6 @@ rustPlatform.buildRustPackage { description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines"; homepage = "https://github.com/atuinsh/atuin"; license = licenses.mit; + mainProgram = "atuin"; }; } -- cgit v1.2.3