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