treewide: remove redundant rec
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, CoreFoundation, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "cargo-${rustc.version}";
|
||||
inherit (rustc) version src;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, rustPlatform, rustc, Security, patchelf }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "clippy-${rustc.version}";
|
||||
inherit (rustc) version src;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user