Unverified Commit 4e3f8b79 authored by Theodore Ni's avatar Theodore Ni
Browse files

perseus-cli: use new Darwin SDK pattern

parent 13277222
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
{ lib
, stdenv
, rustPlatform
, fetchCrate
, makeWrapper
, wasm-pack
, CoreServices
}:

rustPlatform.buildRustPackage rec {
@@ -19,7 +17,6 @@ rustPlatform.buildRustPackage rec {
  cargoHash = "sha256-i7MPmO9MoANZLzmR5gsD+v0gyDtFbzhsmE9xOsb88L0=";

  nativeBuildInputs = [ makeWrapper ];
  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];

  postInstall = ''
    wrapProgram $out/bin/perseus \
+1 −3
Original line number Diff line number Diff line
@@ -498,9 +498,7 @@ with pkgs;
  opendrop = python3Packages.callPackage ../tools/networking/opendrop { };
  perseus-cli = callPackage ../development/tools/perseus-cli {
    inherit (darwin.apple_sdk.frameworks) CoreServices;
  };
  perseus-cli = callPackage ../development/tools/perseus-cli { };
  pe-bear = libsForQt5.callPackage ../applications/misc/pe-bear { };