diff options
author | Sebastián Mancilla <238528+smancill@users.noreply.github.com> | 2021-11-18 18:30:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 16:30:41 -0500 |
commit | be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff (patch) | |
tree | 4e2d0d31c3a37253d7cab74fbaba52277f0632c4 /pkgs/development/tools | |
parent | b86b089c72f8f76d0128f2c132b4976a405e8c1b (diff) | |
download | nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar.gz nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar.bz2 nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar.lz nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar.xz nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.tar.zst nixpkgs-be6b1ae5f6e00aae0aa491f0cc54d4c9f97a8eff.zip |
devserver: fix build on darwin (#146530)
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/devserver/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/devserver/default.nix b/pkgs/development/tools/rust/devserver/default.nix index 9e4545e5e87..305a01b6999 100644 --- a/pkgs/development/tools/rust/devserver/default.nix +++ b/pkgs/development/tools/rust/devserver/default.nix @@ -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="; |