Unverified Commit be6b1ae5 authored by Sebastián Mancilla's avatar Sebastián Mancilla Committed by GitHub
Browse files

devserver: fix build on darwin (#146530)

parent b86b089c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ 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
Original line number Diff line number Diff line
@@ -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;