diff options
author | Daniël de Kok <me@danieldk.eu> | 2021-02-12 10:45:00 +0100 |
---|---|---|
committer | Daniël de Kok <me@danieldk.eu> | 2021-02-12 10:45:00 +0100 |
commit | 2596df2322da9b1c7998a5aa6fe9019fb7299d5b (patch) | |
tree | d65de16cefa894a5fbde4a1151e50a34f35230fb | |
parent | ab81a6cb45e2995ed47e4b6656358a423d7ab792 (diff) | |
download | nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar.gz nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar.bz2 nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar.lz nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar.xz nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.tar.zst nixpkgs-2596df2322da9b1c7998a5aa6fe9019fb7299d5b.zip |
maturin: take Security as an argument, rather than darwin
-rw-r--r-- | pkgs/development/tools/rust/maturin/default.nix | 6 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index fec5ead5d42..c9513864086 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bef22c21e98..35ccb876bad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { |