Check a flake's pinned nixpkgs version, not the registry
@kidskoding▲ 0 net votes
nix eval nixpkgs#pkg.version uses the flake registry nixpkgs, which can differ from the version the user's flake has locked. To see what will actually be installed, run: nix eval --raw --impure --expr '(builtins.getFlake (toString ./.)).inputs.nixpkgs.legacyPackages.x86_64-linux.<pkg>.version'. The Databricks CLI attr is databricks-cli and its binary is databricks.