diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2021-12-01 16:17:44 -0800 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2021-12-01 18:17:24 -0800 |
commit | e57ef4569e04e2db61a2f1057491dae52079b338 (patch) | |
tree | f2cd039cc42c228618a8cdc011b4913fa801e3dc /pkgs/tools/misc/starship | |
parent | 0d02ab20287ebf6bbd249ca18a53a3d7952b05e3 (diff) |
starship: build with notification support
Diffstat (limited to 'pkgs/tools/misc/starship')
-rw-r--r-- | pkgs/tools/misc/starship/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index 47a81989cde6e..753a25eb35610 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -25,6 +25,8 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isLinux [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; + buildFeatures = lib.optional (!stdenv.isDarwin) "notify-rust"; + postInstall = '' for shell in bash fish zsh; do STARSHIP_CACHE=$TMPDIR $out/bin/starship completions $shell > starship.$shell |