forked from mirrors/nixpkgs
python3Packages.lttng: Explain use of PYTHON environment variable
This commit is contained in:
parent
9d897b2643
commit
ac6c0ae75d
|
@ -20,6 +20,10 @@ toPythonModule (lttng-tools.overrideAttrs ({ nativeBuildInputs ? [ ], configureF
|
|||
"--disable-man-pages"
|
||||
];
|
||||
|
||||
# Nix treats nativeBuildInputs specially for cross-compilation, but in this
|
||||
# case, cross-compilation is accounted for explicitly. Using the variables
|
||||
# ensures that the platform setup isn't messed with further. It also allows
|
||||
# regular Python to be added in the future if it is ever needed.
|
||||
PYTHON = "${python.pythonOnBuildForHost}/bin/python";
|
||||
PYTHON_CONFIG = "${python.pythonOnBuildForHost}/bin/python-config";
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue