diff --git a/pkgs/development/python-modules/dvclive/default.nix b/pkgs/development/python-modules/dvclive/default.nix index 954d2e4902bb..a13e5c092a4e 100644 --- a/pkgs/development/python-modules/dvclive/default.nix +++ b/pkgs/development/python-modules/dvclive/default.nix @@ -5,7 +5,7 @@ , pytestCheckHook , pythonOlder , ruamel-yaml -, setuptools +, setuptools-scm , tabulate }: @@ -23,8 +23,10 @@ buildPythonPackage rec { hash = "sha256-n3JjZrh2ImpjW1MUTwag716qaVjSChrYqNJuNp6K1s8="; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + nativeBuildInputs = [ - setuptools + setuptools-scm ]; propagatedBuildInputs = [