devserver: fix build on darwin (#146530)

This commit is contained in:
Sebastián Mancilla
2021-11-18 16:30:41 -05:00
committed by GitHub
parent b86b089c72
commit be6b1ae5f6
2 changed files with 6 additions and 2 deletions
@@ -1,8 +1,10 @@
{ lib
, stdenv
, fetchCrate
, rustPlatform
, openssl
, pkg-config
, CoreServices
}:
rustPlatform.buildRustPackage rec {
@@ -16,7 +18,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin CoreServices;
cargoSha256 = "sha256-XlrQ6CvjeWnzvfaeNbe8FtMXMVSQNLxDVIEjyHm57Js=";
+3 -1
View File
@@ -12914,7 +12914,9 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
devserver = callPackage ../development/tools/rust/devserver { };
devserver = callPackage ../development/tools/rust/devserver {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
maturin = callPackage ../development/tools/rust/maturin {
inherit (darwin.apple_sdk.frameworks) Security;