lol

devserver: fix build on darwin (#146530)

authored by

Sebastián Mancilla and committed by
GitHub
be6b1ae5 b86b089c

+6 -2
+3 -1
pkgs/development/tools/rust/devserver/default.nix
··· 1 { lib 2 , fetchCrate 3 , rustPlatform 4 , openssl 5 , pkg-config 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 16 17 nativeBuildInputs = [ pkg-config ]; 18 19 - buildInputs = [ openssl ]; 20 21 cargoSha256 = "sha256-XlrQ6CvjeWnzvfaeNbe8FtMXMVSQNLxDVIEjyHm57Js="; 22
··· 1 { lib 2 + , stdenv 3 , fetchCrate 4 , rustPlatform 5 , openssl 6 , pkg-config 7 + , CoreServices 8 }: 9 10 rustPlatform.buildRustPackage rec { ··· 18 19 nativeBuildInputs = [ pkg-config ]; 20 21 + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin CoreServices; 22 23 cargoSha256 = "sha256-XlrQ6CvjeWnzvfaeNbe8FtMXMVSQNLxDVIEjyHm57Js="; 24
+3 -1
pkgs/top-level/all-packages.nix
··· 12914 inherit (darwin.apple_sdk.frameworks) Security; 12915 }; 12916 12917 - devserver = callPackage ../development/tools/rust/devserver { }; 12918 12919 maturin = callPackage ../development/tools/rust/maturin { 12920 inherit (darwin.apple_sdk.frameworks) Security;
··· 12914 inherit (darwin.apple_sdk.frameworks) Security; 12915 }; 12916 12917 + devserver = callPackage ../development/tools/rust/devserver { 12918 + inherit (darwin.apple_sdk.frameworks) CoreServices; 12919 + }; 12920 12921 maturin = callPackage ../development/tools/rust/maturin { 12922 inherit (darwin.apple_sdk.frameworks) Security;