Unverified Commit 59fe871e authored by uncenter's avatar uncenter
Browse files

jnv: fix darwin build

parent 199d21a8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
  pname = "jnv";
@@ -15,6 +17,8 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-xF0sxoSo7z7lxrF3wFAmU7edREoWKBFBnZ6Xq22c8q0=";

  buildInputs = lib.optional stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreGraphics AppKit ]);

  meta = with lib; {
    description = "Interactive JSON filter using jq";
    mainProgram = "jnv";