diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-07-24 10:26:31 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-07-24 23:25:17 +1000 |
commit | 7b6b361ee96dde8ac094b0ec76cd8e4c6ea08056 (patch) | |
tree | 8d31f5a5df45647450b3d5e66c432b9d91e4a0a4 /pkgs/tools/misc/tealdeer | |
parent | c343d71fca7000bb8ac14f088883db216d2740a9 (diff) |
tealdeer: cleanup
Diffstat (limited to 'pkgs/tools/misc/tealdeer')
-rw-r--r-- | pkgs/tools/misc/tealdeer/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/tools/misc/tealdeer/default.nix b/pkgs/tools/misc/tealdeer/default.nix index aa8f9be38b6d5..311f43fdb2aeb 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; }; } |