From e487030d7a9dacdd942d8b85360b26ea3a914141 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 3 Jul 2023 17:25:33 +0300 Subject: fix(3p/josh): add package name to josh Without this, the derivation is just called `rust-workspace-unknown` which is - at best - a little confusing. Change-Id: I3f50f87a411248ffcce9397a4ddb57e87abeab1c Reviewed-on: https://cl.tvl.fyi/c/depot/+/8923 Reviewed-by: sterni Autosubmit: tazjin Tested-by: BuildkiteCI --- third_party/josh/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'third_party') diff --git a/third_party/josh/default.nix b/third_party/josh/default.nix index e6cb1ac0e1..f2a8d7a50f 100644 --- a/third_party/josh/default.nix +++ b/third_party/josh/default.nix @@ -17,10 +17,12 @@ let rustc = rust169; cargo = rust169; }; + version = "git-${builtins.substring 0 8 rev}"; in naersk.buildPackage { - inherit src; - JOSH_VERSION = "git-${builtins.substring 0 8 rev}"; + pname = "josh"; + inherit src version; + JOSH_VERSION = version; buildInputs = with pkgs; [ libgit2 -- cgit 1.4.1