Commit ac6c0ae7 authored by hacker1024's avatar hacker1024 Committed by Bjørn Forsman
Browse files

python3Packages.lttng: Explain use of PYTHON environment variable

parent 9d897b26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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";
}))