tealdeer: cleanup
This commit is contained in:
parent
c343d71fca
commit
7b6b361ee9
@ -4,7 +4,6 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, openssl
|
, openssl
|
||||||
, cacert
|
|
||||||
, Security
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -21,8 +20,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "0jvgcf493rmkrh85j0fkf8ffanva80syyxclzkvkrzvvwwj78b5l";
|
cargoSha256 = "0jvgcf493rmkrh85j0fkf8ffanva80syyxclzkvkrzvvwwj78b5l";
|
||||||
|
|
||||||
buildInputs = [ openssl cacert ]
|
buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ];
|
||||||
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||||
|
|
||||||
@ -32,8 +30,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
installShellCompletion --zsh --name _tealdeer zsh_tealdeer
|
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
|
# disable tests for now since one needs network
|
||||||
# what is unavailable in sandbox build
|
# what is unavailable in sandbox build
|
||||||
# and i can't disable just this one
|
# and i can't disable just this one
|
||||||
@ -44,6 +40,5 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = "https://github.com/dbrgn/tealdeer";
|
homepage = "https://github.com/dbrgn/tealdeer";
|
||||||
maintainers = with maintainers; [ davidak ];
|
maintainers = with maintainers; [ davidak ];
|
||||||
license = with licenses; [ asl20 mit ];
|
license = with licenses; [ asl20 mit ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user