diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-03-11 10:08:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 10:08:00 +0000 |
commit | cd498f7c802d7322d8e92298c1a84f93c054eaf7 (patch) | |
tree | 7d0fc1c6ee5c431136a4b822e1dae2628b234f39 | |
parent | 8c03e90831b3ea8df334d12b7b81f8528e033105 (diff) | |
parent | 435b326722598ca85f3ed1e17bb7bf2705399bda (diff) | |
download | nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar.gz nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar.bz2 nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar.lz nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar.xz nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.tar.zst nixlib-cd498f7c802d7322d8e92298c1a84f93c054eaf7.zip |
Merge pull request #56634 from marsam/buildrustcreate-pname-attribute
buildRustPackage: Allow pname attribute
-rw-r--r-- | pkgs/build-support/rust/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix index 43aecdef5f2e..c69832a89b9f 100644 --- a/pkgs/build-support/rust/default.nix +++ b/pkgs/build-support/rust/default.nix @@ -1,6 +1,7 @@ { stdenv, cacert, git, cargo, rustc, cargo-vendor, fetchcargo, python3 }: -{ name, cargoSha256 ? "unset" +{ name ? "${args.pname}-${args.version}" +, cargoSha256 ? "unset" , src ? null , srcs ? null , cargoPatches ? [] |