summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Jackson <patrick@jackson.dev>2024-03-05 03:02:57 -0700
committerGitHub <noreply@github.com>2024-03-05 10:02:57 +0000
commit60a09f9465d046ab8df6d074939efb2cfb522845 (patch)
treeb1dd1956a4f7d936ed12cfd0fb16eee2776b53d0
parent95e9530dad098e69de560a3f4d198b5c05cc53ba (diff)
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
-rw-r--r--atuin.nix3
1 files changed, 2 insertions, 1 deletions
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";
};
}