cockroachdb-bin: Expose version
Changes it to use pname and version instead of just name so that the version is visible in tools such as nix search.
This commit is contained in:
parent
35c640b19a
commit
e1754aad6a
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
let
|
||||
version = "23.1.7";
|
||||
name = "cockroachdb";
|
||||
pname = "cockroachdb";
|
||||
|
||||
# For several reasons building cockroach from source has become
|
||||
# nearly impossible. See https://github.com/NixOS/nixpkgs/pull/152626
|
||||
|
@ -28,7 +28,7 @@ let
|
|||
|
||||
in
|
||||
buildFHSEnv {
|
||||
inherit name;
|
||||
inherit pname version;
|
||||
|
||||
runScript = "${src}/cockroach";
|
||||
|
||||
|
|
Loading…
Reference in a new issue