mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
buildRustPackage: remove unused arguments, minor styling changes
This commit is contained in:
parent
05344c4785
commit
836e6d3e02
@ -1,17 +1,15 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPackages
|
||||
{ lib
|
||||
, importCargoLock
|
||||
, fetchCargoTarball
|
||||
, rust
|
||||
, stdenv
|
||||
, callPackage
|
||||
, cacert
|
||||
, git
|
||||
, cargoBuildHook
|
||||
, cargoCheckHook
|
||||
, cargoInstallHook
|
||||
, cargoSetupHook
|
||||
, fetchCargoTarball
|
||||
, importCargoLock
|
||||
, rustPlatform
|
||||
, callPackage
|
||||
, git
|
||||
, rust
|
||||
, rustc
|
||||
, libiconv
|
||||
, windows
|
||||
@ -88,7 +86,7 @@ let
|
||||
(lib.removeSuffix ".json" (builtins.baseNameOf "${target}"))
|
||||
else target;
|
||||
|
||||
sysroot = (callPackage ./sysroot {}) {
|
||||
sysroot = callPackage ./sysroot { } {
|
||||
inherit target shortTarget;
|
||||
RUSTFLAGS = args.RUSTFLAGS or "";
|
||||
originalCargoToml = src + /Cargo.toml; # profile info is later extracted
|
||||
|
Loading…
Reference in New Issue
Block a user