mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
perseus-cli: use new Darwin SDK pattern
This commit is contained in:
parent
13277222b4
commit
4e3f8b7954
@ -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 \
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user