From 068bac79b8a82c42d82100c89277a720c23e1f51 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 20 Oct 2024 19:08:04 +0100 Subject: [PATCH] python3Packages.dbt-adapters: fix the val MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the change the eval fails on `staging-next` as: $ nix build --no-link -f. python3Packages.dbt-adapters error: … while evaluating a branch condition at pkgs/development/interpreters/python/passthrufun.nix:27:9: 26| func = name: value: 27| if lib.isDerivation value then | ^ 28| lib.extendDerivation (valid value || throw "${name} should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.") {} value … while evaluating a branch condition at /home/slyfox/dev/git/nixpkgs-staging-next/lib/customisation.nix:263:8: 262| 263| in if missingArgs == {} | ^ 264| then makeOverridable f allArgs (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: attribute 'pythonRelaxDeps' already defined at pkgs/development/python-modules/dbt-adapters/default.nix:30:3 at pkgs/development/python-modules/dbt-adapters/default.nix:34:3: 33| 34| pythonRelaxDeps = [ "protobuf" ]; | ^ 35| --- pkgs/development/python-modules/dbt-adapters/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbt-adapters/default.nix b/pkgs/development/python-modules/dbt-adapters/default.nix index 93cccb92a183..b116a6e8f1b8 100644 --- a/pkgs/development/python-modules/dbt-adapters/default.nix +++ b/pkgs/development/python-modules/dbt-adapters/default.nix @@ -27,8 +27,6 @@ buildPythonPackage rec { hash = "sha256-I3A3rIMpT+MAq+ebid9RMr6I3W1l4ir78UmfeEr5U3U="; }; - pythonRelaxDeps = [ "protobuf" ]; - build-system = [ hatchling ]; pythonRelaxDeps = [ "protobuf" ];