Commit a2a5c194 authored by Mathew Polzin's avatar Mathew Polzin
Browse files

ijq: add update script

parent 74c9f065
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  installShellFiles,
  makeBinaryWrapper,
  scdoc,
  nix-update-script,
}:

buildGoModule rec {
@@ -43,6 +44,8 @@ buildGoModule rec {
      --prefix PATH : "${lib.makeBinPath [ jq ]}"
  '';

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "Interactive wrapper for jq";
    mainProgram = "ijq";