mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
cargo-watch: fix build on darwin
This commit is contained in:
parent
57362d7d3c
commit
d855d4cccc
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, CoreServices, rust, libiconv }:
|
{ stdenv, lib, rustPlatform, fetchFromGitHub, CoreServices, Foundation, rust, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-watch";
|
pname = "cargo-watch";
|
||||||
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-Xp/pxPKs41TXO/EUY5x8Bha7NUioMabbb73///fFr6U=";
|
cargoSha256 = "sha256-Xp/pxPKs41TXO/EUY5x8Bha7NUioMabbb73///fFr6U=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Foundation libiconv ];
|
||||||
|
|
||||||
# `test with_cargo` tries to call cargo-watch as a cargo subcommand
|
# `test with_cargo` tries to call cargo-watch as a cargo subcommand
|
||||||
# (calling cargo-watch with command `cargo watch`)
|
# (calling cargo-watch with command `cargo watch`)
|
||||||
|
@ -12255,7 +12255,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
cargo-valgrind = callPackage ../development/tools/rust/cargo-valgrind { };
|
cargo-valgrind = callPackage ../development/tools/rust/cargo-valgrind { };
|
||||||
cargo-watch = callPackage ../development/tools/rust/cargo-watch {
|
cargo-watch = callPackage ../development/tools/rust/cargo-watch {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices Foundation;
|
||||||
};
|
};
|
||||||
cargo-wipe = callPackage ../development/tools/rust/cargo-wipe { };
|
cargo-wipe = callPackage ../development/tools/rust/cargo-wipe { };
|
||||||
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
|
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
|
||||||
|
Loading…
Reference in New Issue
Block a user