rust: 1.51.0 -> 1.52.0

This commit is contained in:
Pavol Rusnak
2021-05-08 11:42:10 -07:00
committed by Jonathan Ringer
parent 2c9d982257
commit 252bf94a74
5 changed files with 26 additions and 22 deletions
+4 -1
View File
@@ -14,6 +14,7 @@
, git
, rust
, rustc
, libiconv
, windows
}:
@@ -117,7 +118,9 @@ stdenv.mkDerivation ((removeAttrs args ["depsExtraArgs"]) // lib.optionalAttrs u
rustc
];
buildInputs = buildInputs ++ lib.optional stdenv.hostPlatform.isMinGW windows.pthreads;
buildInputs = buildInputs
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]
++ lib.optionals stdenv.hostPlatform.isMinGW [ windows.pthreads ];
patches = cargoPatches ++ patches;