diff options
author | con-f-use <con-f-use@users.noreply.github.com> | 2023-09-15 10:35:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 10:35:42 +0200 |
commit | 100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6 (patch) | |
tree | 9d7fc3d08b52164fd4d99c8edbab7d8b18ebc89d | |
parent | e05000740f45c741d11fb2f6e8f04ebc48c1d847 (diff) | |
download | nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar.gz nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar.bz2 nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar.lz nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar.xz nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.tar.zst nixpkgs-100f1e09fe5fff917ee5c4be1fd1243d00f9c0b6.zip |
vault: add `mainProgram` (#255100)
Fixes: ``` warning: getExe: Package "vault-1.14.2" does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar". ```
-rw-r--r-- | pkgs/tools/security/vault/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/security/vault/default.nix b/pkgs/tools/security/vault/default.nix index b793d43b1e1..792cd477186 100644 --- a/pkgs/tools/security/vault/default.nix +++ b/pkgs/tools/security/vault/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { description = "A tool for managing secrets"; changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; + mainProgram = "vault"; maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; }; } |