cargo-watch: fix build on darwin

authored by

David Armstrong Lewis and committed by
Raphael Megzari
d855d4cc 57362d7d

+3 -3
+2 -2
pkgs/development/tools/rust/cargo-watch/default.nix
··· 1 - { stdenv, lib, rustPlatform, fetchFromGitHub, CoreServices, rust, libiconv }: 1 + { stdenv, lib, rustPlatform, fetchFromGitHub, CoreServices, Foundation, rust, libiconv }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-watch"; ··· 13 13 14 14 cargoSha256 = "sha256-Xp/pxPKs41TXO/EUY5x8Bha7NUioMabbb73///fFr6U="; 15 15 16 - buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ]; 16 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Foundation libiconv ]; 17 17 18 18 # `test with_cargo` tries to call cargo-watch as a cargo subcommand 19 19 # (calling cargo-watch with command `cargo watch`)
+1 -1
pkgs/top-level/all-packages.nix
··· 12255 12255 }; 12256 12256 cargo-valgrind = callPackage ../development/tools/rust/cargo-valgrind { }; 12257 12257 cargo-watch = callPackage ../development/tools/rust/cargo-watch { 12258 - inherit (darwin.apple_sdk.frameworks) CoreServices; 12258 + inherit (darwin.apple_sdk.frameworks) CoreServices Foundation; 12259 12259 }; 12260 12260 cargo-wipe = callPackage ../development/tools/rust/cargo-wipe { }; 12261 12261 cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };