eliot-tree: use `addBinToPathHook`

+2 -5
+2 -5
pkgs/by-name/el/eliot-tree/package.nix
··· 2 lib, 3 python3Packages, 4 fetchPypi, 5 }: 6 7 python3Packages.buildPythonApplication rec { ··· 32 ]; 33 34 nativeCheckInputs = with python3Packages; [ 35 pytestCheckHook 36 testtools 37 ]; 38 - 39 - # Tests run eliot-tree in out/bin. 40 - preCheck = '' 41 - export PATH=$out/bin:$PATH 42 - ''; 43 44 pythonImportsCheck = [ "eliottree" ]; 45
··· 2 lib, 3 python3Packages, 4 fetchPypi, 5 + addBinToPathHook, 6 }: 7 8 python3Packages.buildPythonApplication rec { ··· 33 ]; 34 35 nativeCheckInputs = with python3Packages; [ 36 + addBinToPathHook 37 pytestCheckHook 38 testtools 39 ]; 40 41 pythonImportsCheck = [ "eliottree" ]; 42