From 3af136067cf58a86525484d09f51052366d6c32a Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sat, 26 Mar 2022 19:02:42 +0100 Subject: [PATCH] starship: remove openssl & pkg-config --- pkgs/tools/misc/starship/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index d61fd9ddda98..01d25560ab7c 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -2,8 +2,6 @@ , stdenv , fetchFromGitHub , rustPlatform -, pkg-config -, openssl , installShellFiles , libiconv , nixosTests @@ -22,10 +20,9 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE="; }; - nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; + nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isLinux [ openssl ] - ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ]; + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security Foundation ]; postInstall = '' for shell in bash fish zsh; do