Merge pull request #196874 from viraptor/dioxus-darwin

dioxus-cli: fix darwin build
main
Stanisław Pitucha 2 years ago committed by GitHub
commit 260eb420a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/development/tools/rust/dioxus-cli/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -1,4 +1,4 @@
{ 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=";

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

Loading…
Cancel
Save