diff options
author | Lin Jian <me@linj.tech> | 2022-09-08 15:06:55 +0800 |
---|---|---|
committer | Lin Jian <me@linj.tech> | 2022-09-09 15:15:05 +0800 |
commit | 25c9b1ce42c338fad482f6df9d377f3c5b1075a1 (patch) | |
tree | 7c8b6ecc59574669fd3c1bcb0c48192f0b82aefa /pkgs/tools/security/pass | |
parent | 2361dfe7addad76be3cce3f36947718a99248eb9 (diff) |
pass: set mainProgram and pass-with-extentions's name to pass
We can use lib.getExe to get the executable name now.
Diffstat (limited to 'pkgs/tools/security/pass')
-rw-r--r-- | pkgs/tools/security/pass/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix index f8692edead299..afb6d2e0dc318 100644 --- a/pkgs/tools/security/pass/default.nix +++ b/pkgs/tools/security/pass/default.nix @@ -31,7 +31,8 @@ let selected = [ pass ] ++ extensions passExtensions ++ lib.optional tombPluginSupport passExtensions.tomb; in buildEnv { - name = "pass-extensions-env"; + # lib.getExe looks for name, so we keep it the same as mainProgram + name = "pass"; paths = selected; nativeBuildInputs = [ makeWrapper ]; buildInputs = concatMap (x: x.buildInputs) selected; @@ -156,6 +157,7 @@ stdenv.mkDerivation rec { description = "Stores, retrieves, generates, and synchronizes passwords securely"; homepage = "https://www.passwordstore.org/"; license = licenses.gpl2Plus; + mainProgram = "pass"; maintainers = with maintainers; [ lovek323 fpletz tadfisher globin ma27 ]; platforms = platforms.unix; |