microserver: Fix compilation on Darwin
This commit is contained in:
parent
7a95b9b6ae
commit
ffb8c1c4ec
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "microserver";
|
||||
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0cyxa200iz7knkma4zi3mzky3g0kibbxd5303psk2rl2rppir0f7";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security ]);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/robertohuertasm/microserver";
|
||||
description = "Simple ad-hoc server with SPA support";
|
||||
|
Loading…
Reference in New Issue
Block a user