about summary refs log tree commit diff
path: root/third_party/josh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/josh/default.nix')
-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