maturin: take Security as an argument, rather than darwin

master
Daniël de Kok 2021-02-12 10:45:00 +01:00
parent ab81a6cb45
commit 2596df2322
2 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,7 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, dbus, gmp, openssl, pkg-config
, darwin }:
, Security }:
let
inherit (darwin.apple_sdk.frameworks) Security;
in rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage rec {
pname = "maturin";
version = "0.9.0";

View File

@ -10833,7 +10833,10 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
maturin = callPackage ../development/tools/rust/maturin { };
maturin = callPackage ../development/tools/rust/maturin {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (rustPackages) rls;
rustfmt = rustPackages.rustfmt;
rustracer = callPackage ../development/tools/rust/racer {