treewide: remove redundant rec

This commit is contained in:
volth
2019-08-13 21:52:01 +00:00
parent 5061fe0c2c
commit 08f68313a4
1875 changed files with 2591 additions and 2596 deletions

View File

@@ -18,7 +18,7 @@ let
in
rec {
rustc = stdenv.mkDerivation rec {
rustc = stdenv.mkDerivation {
name = "rustc-${versionType}-${version}";
inherit version;
@@ -64,7 +64,7 @@ rec {
setupHooks = ./setup-hook.sh;
};
cargo = stdenv.mkDerivation rec {
cargo = stdenv.mkDerivation {
name = "cargo-${versionType}-${version}";
inherit version;

View File

@@ -3,7 +3,7 @@
, CoreFoundation, Security
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
name = "cargo-${rustc.version}";
inherit (rustc) version src;

View File

@@ -1,5 +1,5 @@
{ stdenv, lib, rustPlatform, rustc, Security, patchelf }:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
name = "clippy-${rustc.version}";
inherit (rustc) version src;

View File

@@ -2,7 +2,7 @@
, openssh, openssl, pkgconfig, cmake, zlib, curl, libiconv
, CoreFoundation, Security }:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "rls";
inherit (rustPlatform.rust.rustc) src version;