mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
cargo-make: fix darwin build (#120312)
* cargo-make: format with nixpkgs-fmt * cargo-make: fix darwin build
This commit is contained in:
parent
8def3d6c05
commit
8e585bbce6
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,14 @@
|
|||
{ lib, stdenv, fetchurl, runCommand, fetchCrate, rustPlatform, Security, openssl, pkg-config
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, runCommand
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
, Security
|
||||
, openssl
|
||||
, pkg-config
|
||||
, SystemConfiguration
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -14,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
|||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ];
|
||||
|
||||
cargoSha256 = "sha256-Upegh3W31sTaXl0iHZ3HiYs9urgXH/XhC0vQBAWvDIc=";
|
||||
|
||||
|
|
Loading…
Reference in a new issue