Commit 895c3e37 authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

dioxus-cli: fix darwin build

parent 967bcc5c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ fetchCrate, lib, rustPlatform, openssl, pkg-config }:
{ lib, fetchCrate, rustPlatform, openssl, pkg-config, stdenv, CoreServices }:
rustPlatform.buildRustPackage rec {
  pname = "dioxus-cli";
  version = "0.1.4";
@@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ];
  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];

  cargoSha256 = "sha256-Mf/WtOO/vFuhg90DoPDwOZ6XKj423foHZ8vHugXakb0=";

+3 −1
Original line number Diff line number Diff line
@@ -16623,7 +16623,9 @@ with pkgs;
  dive = callPackage ../development/tools/dive { };
  dioxus-cli = callPackage ../development/tools/rust/dioxus-cli { };
  dioxus-cli = callPackage ../development/tools/rust/dioxus-cli {
    inherit (darwin.apple_sdk.frameworks) CoreServices;
  };
  doclifter = callPackage ../development/tools/misc/doclifter { };