From e1754aad6ab531799f75908f7e66e156163f0020 Mon Sep 17 00:00:00 2001 From: Sebastian Blunt Date: Sun, 1 Oct 2023 20:32:33 +0900 Subject: [PATCH] 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. --- pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix b/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix index 88a5accaffde..2e66ce3c646f 100644 --- a/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix +++ b/pkgs/servers/sql/cockroachdb/cockroachdb-bin.nix @@ -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";