databricks-sql-cli 0 -> 1 attrpath: databricks-sql-cli Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/5knmwgx5ysv8ak4whwkzp5q4y0afa478-packages.json.drv building '/nix/store/5knmwgx5ysv8ak4whwkzp5q4y0afa478-packages.json.drv'... Going to be running update for following packages: - databricks-sql-cli-0.1.4 Press Enter key to continue... Running update for: - databricks-sql-cli-0.1.4: UPDATING ... - databricks-sql-cli-0.1.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/misc/databricks-sql-cli/default.nix b/pkgs/applications/misc/databricks-sql-cli/default.nix index ae118501f47d..5bedeb6ced99 100644 --- a/pkgs/applications/misc/databricks-sql-cli/default.nix +++ b/pkgs/applications/misc/databricks-sql-cli/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "databricks-sql-cli"; - version = "0.1.4"; + version = "0.3.3"; format = "pyproject"; src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sql-cli"; rev = "refs/tags/v${version}"; - hash = "sha256-gr7LJfnvIu2Jf1XgILqfZoi8CbXeQyq0g1wLEBa5TPM="; + hash = "sha256-wmwXw1o+pRsRjA7ai9x5o1el7mNBqM6xlGrvw0IqfMo="; }; patches = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A databricks-sql-cli Received ExitFailure 1 when running Raw command: /nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2/bin/nix --extra-experimental-features nix-command log -f . databricks-sql-cli Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/databricks-sql-cli/lib/customisation.nix:365:7: 364| in commonAttrs // { 365| drvPath = assert condition; drv.drvPath; | ^ 366| outPath = assert condition; drv.outPath; … in the condition of the assert statement at /var/cache/nixpkgs-update/worker/worktree/databricks-sql-cli/lib/customisation.nix:365:17: 364| in commonAttrs // { 365| drvPath = assert condition; drv.drvPath; | ^ 366| outPath = assert condition; drv.outPath; (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘databricks-sql-cli-0.3.3’ in /var/cache/nixpkgs-update/worker/worktree/databricks-sql-cli/pkgs/applications/misc/databricks-sql-cli/default.nix:53 has an unfree license (‘databricks’), refusing to evaluate. a) To temporarily allow unfree packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNFREE=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this. Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "databricks-sql-cli-0.3.3" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.