starship: remove openssl & pkg-config

This commit is contained in:
David Knaack 2022-03-26 19:02:42 +01:00 committed by GitHub
parent e13e37b701
commit 3af136067c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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