diff options
| author | Matthew Bauer <mjbauer95@gmail.com> | 2020-04-06 11:05:02 -0400 |
|---|---|---|
| committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-04-06 16:36:30 -0400 |
| commit | c6ff360cc437d366c10f2f827edd5a7fb47e73c3 (patch) | |
| tree | 39833459f345712825f29ced98307dc5c03042d6 /pkgs/development/python-modules/python-dbusmock | |
| parent | 51ab06286322c76de70faaaf330b827426dd0f21 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-dbusmock')
| -rw-r--r-- | pkgs/development/python-modules/python-dbusmock/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python-dbusmock/default.nix b/pkgs/development/python-modules/python-dbusmock/default.nix index 9cfc68dee465..9ab696122956 100644 --- a/pkgs/development/python-modules/python-dbusmock/default.nix +++ b/pkgs/development/python-modules/python-dbusmock/default.nix @@ -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 ''; |
