python-dbusmock: avoid eval error when missing test output of bluez
This fixes an evaluation error that occurs when we don’t have bluez.test. getOutput defaults to "out" in these cases.
This commit is contained in:
parent
51ab062863
commit
c6ff360cc4
|
@ -44,12 +44,12 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
nose dbus dbus-python which pycodestyle pyflakes
|
||||
pygobject3 bluez bluez.test networkmanager
|
||||
pygobject3 bluez (lib.getOutput "test" bluez) networkmanager
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
export PATH="$PATH:${bluez.test}/test";
|
||||
export PATH="$PATH:${lib.getOutput "test" bluez}/test";
|
||||
nosetests -v
|
||||
runHook postCheck
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue