mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bat: migrate to by-name
This commit is contained in:
parent
b11ced7a9c
commit
ec5b43883a
@ -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
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user