Skip to content

Commit 0443142

Browse files
committed
gupnp_1_6: Unbreak on Darwin
All the tests except `context-filter` are broken: ERROR:../tests/test-context.c:265:test_gupnp_context_error_when_bound: assertion failed (error == NULL): Error binding to address 127.0.0.1:0: Operation not permitted (g-io-error-quark, 14) ERROR:../tests/test-context-manager.c:42:test_context_manager_manage: assertion failed (error == NULL): Failed to find IP of interface lo (gssdp-error, 0) But we already disable them on the old `gupnp`.
1 parent edd0dc6 commit 0443142

File tree

1 file changed

+3
-2
lines changed
  • pkgs/development/libraries/gupnp

1 file changed

+3
-2
lines changed

pkgs/development/libraries/gupnp/1.6.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ stdenv.mkDerivation rec {
5454
"-Dgtk_doc=true"
5555
];
5656

57-
doCheck = true;
57+
# On Darwin: Failed to bind socket, Operation not permitted
58+
doCheck = !stdenv.hostPlatform.isDarwin;
5859

5960
postFixup = ''
6061
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
@@ -73,6 +74,6 @@ stdenv.mkDerivation rec {
7374
description = "Implementation of the UPnP specification";
7475
mainProgram = "gupnp-binding-tool-1.6";
7576
license = licenses.lgpl2Plus;
76-
platforms = platforms.linux;
77+
platforms = platforms.unix;
7778
};
7879
}

0 commit comments

Comments
 (0)