Loading pkgs/tools/misc/bat/default.nix +11 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ , libiconv , installShellFiles , makeWrapper , fetchpatch }: rustPlatform.buildRustPackage rec { Loading @@ -22,6 +23,16 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "sha256-ye6GH4pcI9h1CNpobUzfJ+2WlqJ98saCdD77AtSGafg="; cargoPatches = [ # merged upstream in https://github.com/sharkdp/bat/pull/2399 (fetchpatch { name = "disable-completion-of-cache-subcommand.patch"; url = "https://github.com/sharkdp/bat/commit/b6b9d3a629bd9b08725df2a4e7b92c3023584a89.patch"; hash = "sha256-G4LajO09+qfhpr+HRvAHCuE9EETit2e16ZEyAtz26B4="; excludes = [ "CHANGELOG.md" ]; }) ]; nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ]; buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; Loading Loading
pkgs/tools/misc/bat/default.nix +11 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ , libiconv , installShellFiles , makeWrapper , fetchpatch }: rustPlatform.buildRustPackage rec { Loading @@ -22,6 +23,16 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "sha256-ye6GH4pcI9h1CNpobUzfJ+2WlqJ98saCdD77AtSGafg="; cargoPatches = [ # merged upstream in https://github.com/sharkdp/bat/pull/2399 (fetchpatch { name = "disable-completion-of-cache-subcommand.patch"; url = "https://github.com/sharkdp/bat/commit/b6b9d3a629bd9b08725df2a4e7b92c3023584a89.patch"; hash = "sha256-G4LajO09+qfhpr+HRvAHCuE9EETit2e16ZEyAtz26B4="; excludes = [ "CHANGELOG.md" ]; }) ]; nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ]; buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; Loading