diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-12-02 15:36:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 15:36:16 +0000 |
commit | f7ecf35978d5d51b72a5bd4910564452be0fe385 (patch) | |
tree | 32fdbadd7f7e835d4ff8601b4f04fc2a3ce9fc04 /pkgs | |
parent | f515c92ddf1d5c4c59876db1b84dc61a0ad7f861 (diff) | |
parent | e57ef4569e04e2db61a2f1057491dae52079b338 (diff) |
Merge pull request #148226 from arcnmx/starship-notify
starship: build with notification support
Diffstat (limited to 'pkgs')
-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 47a81989cde6..753a25eb3561 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 |