about summary refs log tree commit diff
path: root/third_party/josh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-07-03T14·25+0300
committerclbot <clbot@tvl.fyi>2023-07-10T08·30+0000
commite487030d7a9dacdd942d8b85360b26ea3a914141 (patch)
tree8c9715bb28bf8a6b49a3d9d0718b3e9d7c673d99 /third_party/josh
parentb12cd279a4e7e8d6e8ac3afa4f37f6f77b3a67aa (diff)
fix(3p/josh): add package name to josh r/6402
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 <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/josh')
-rw-r--r--third_party/josh/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/josh/default.nix b/third_party/josh/default.nix
index e6cb1ac0e156..f2a8d7a50f6a 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