diff --git a/pkgs/tools/misc/tealdeer/default.nix b/pkgs/tools/misc/tealdeer/default.nix index aa8f9be38b6d..311f43fdb2ae 100644 --- a/pkgs/tools/misc/tealdeer/default.nix +++ b/pkgs/tools/misc/tealdeer/default.nix @@ -4,7 +4,6 @@ , pkg-config , installShellFiles , openssl -, cacert , Security }: @@ -21,8 +20,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "0jvgcf493rmkrh85j0fkf8ffanva80syyxclzkvkrzvvwwj78b5l"; - buildInputs = [ openssl cacert ] - ++ (stdenv.lib.optional stdenv.isDarwin Security); + buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ]; nativeBuildInputs = [ installShellFiles pkg-config ]; @@ -32,8 +30,6 @@ rustPlatform.buildRustPackage rec { installShellCompletion --zsh --name _tealdeer zsh_tealdeer ''; - NIX_SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; - # disable tests for now since one needs network # what is unavailable in sandbox build # and i can't disable just this one @@ -44,6 +40,5 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/dbrgn/tealdeer"; maintainers = with maintainers; [ davidak ]; license = with licenses; [ asl20 mit ]; - platforms = platforms.all; }; }