bat: migrate to by-name

This commit is contained in:
xrelkd 2023-10-12 08:11:09 +08:00
parent b11ced7a9c
commit ec5b43883a
No known key found for this signature in database
GPG Key ID: BAB7A457C1D1D6B3
2 changed files with 2 additions and 6 deletions

View File

@ -4,10 +4,10 @@
, fetchFromGitHub
, pkg-config
, less
, Security
, libiconv
, installShellFiles
, makeWrapper
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
postInstall = ''
installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1

View File

@ -4293,10 +4293,6 @@ with pkgs;
bashmount = callPackage ../tools/filesystems/bashmount { };
bat = callPackage ../tools/misc/bat {
inherit (darwin.apple_sdk.frameworks) Security;
};
bat-extras = recurseIntoAttrs (callPackages ../tools/misc/bat-extras { });
beats = callPackage ../tools/misc/beats { };