eliot-tree: use addBinToPathHook
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
addBinToPathHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@@ -32,15 +33,11 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
addBinToPathHook
|
||||
pytestCheckHook
|
||||
testtools
|
||||
];
|
||||
|
||||
# Tests run eliot-tree in out/bin.
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "eliottree" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user