eliot-tree: use addBinToPathHook
This commit is contained in:
parent
6a79b58e8d
commit
df0dc1125d
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user