perseus-cli: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 15:01:50 -08:00
parent 13277222b4
commit 4e3f8b7954
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 6 deletions

View File

@ -1,10 +1,8 @@
{ 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 \

View File

@ -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 { };