diff --git a/pkgs/development/python-modules/carbon/default.nix b/pkgs/development/python-modules/carbon/default.nix index 7ea88b54262f..86efd5ce79ff 100644 --- a/pkgs/development/python-modules/carbon/default.nix +++ b/pkgs/development/python-modules/carbon/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { # Carbon-s default installation is /opt/graphite. This env variable ensures # carbon is installed as a regular Python module. - GRAPHITE_NO_PREFIX = "True"; + env.GRAPHITE_NO_PREFIX = "True"; postPatch = '' substituteInPlace setup.py \