rustup: nixpkgs-fmt
This commit is contained in:
parent
f38ba786c1
commit
97335842d1
@ -1,6 +1,16 @@
|
|||||||
{ stdenv, lib, runCommand, patchelf
|
{ stdenv
|
||||||
, fetchFromGitHub, rustPlatform, makeWrapper
|
, lib
|
||||||
, pkg-config, curl, zlib, Security, CoreServices }:
|
, runCommand
|
||||||
|
, patchelf
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, makeWrapper
|
||||||
|
, pkg-config
|
||||||
|
, curl
|
||||||
|
, zlib
|
||||||
|
, Security
|
||||||
|
, CoreServices
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
libPath = lib.makeLibraryPath [
|
libPath = lib.makeLibraryPath [
|
||||||
@ -24,7 +34,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
nativeBuildInputs = [ makeWrapper pkg-config ];
|
nativeBuildInputs = [ makeWrapper pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
curl zlib
|
curl
|
||||||
|
zlib
|
||||||
] ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
] ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
|
||||||
|
|
||||||
cargoBuildFlags = [ "--features no-self-update" ];
|
cargoBuildFlags = [ "--features no-self-update" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user