Merge pull request #162347 from Stunkymonkey/rust-pname-version

rust: rename name to pname
This commit is contained in:
Jörg Thalheim
2022-03-02 04:19:28 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ in
rec {
rustc = stdenv.mkDerivation {
name = "rustc-${versionType}-${version}";
pname = "rustc-${versionType}";
inherit version;
inherit src;
@@ -71,7 +71,7 @@ rec {
};
cargo = stdenv.mkDerivation {
name = "cargo-${versionType}-${version}";
pname = "cargo-${versionType}";
inherit version;
inherit src;
+1 -1
View File
@@ -5,7 +5,7 @@
}:
rustPlatform.buildRustPackage {
name = "cargo-${rustc.version}";
pname = "cargo";
inherit (rustc) version src;
# the rust source tarball already has all the dependencies vendored, no need to fetch them again