mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
starship: build with notification support
(cherry picked from commit e57ef4569e)
This commit is contained in:
committed by
github-actions[bot]
parent
842f42399c
commit
10a3629901
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user