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:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user