~aasg/nixexprs

6daf3168e28b9644d410f314b6fb46f3935a8d70 — Aluísio Augusto Silva Gonçalves 5 months ago 5b4b407
drep: Depend on CoreServices on macOS
2 files changed, 6 insertions(+), 3 deletions(-)

M pkgs/overlay.nix
M pkgs/tools/text/drep/default.nix
M pkgs/overlay.nix => pkgs/overlay.nix +3 -1
@@ 4,7 4,9 @@ final: prev:

  dma = final.callPackage ./tools/networking/dma { };

  drep = final.callPackage ./tools/text/drep { };
  drep = final.callPackage ./tools/text/drep {
    inherit (final.darwin.apple_sdk.frameworks) CoreServices;
  };

  dyndnsc = final.callPackage ./tools/networking/dyndnsc { };


M pkgs/tools/text/drep/default.nix => pkgs/tools/text/drep/default.nix +3 -2
@@ 1,9 1,10 @@
{ lib, callPackage, defaultCrateOverrides }:
{ stdenv, callPackage, defaultCrateOverrides, CoreServices }:

(callPackage ./Cargo.nix { }).workspaceMembers.drep.build.override {
  crateOverrides = defaultCrateOverrides // {
    drep = attrs: {
      meta = with lib; {
      buildInputs = stdenv.lib.optional stdenv.isDarwin CoreServices;
      meta = with stdenv.lib; {
        description = "A grep with runtime reloadable filters";
        homepage = "https://github.com/maxpert/drep";
        license = licenses.mit;