Fix some platforms

This commit is contained in:
William A. Kennington III 2015-04-25 15:08:05 -07:00
parent 54f812558a
commit 232b71c6e8
3 changed files with 4 additions and 1 deletions

View File

@ -76,6 +76,7 @@ let
# (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands. # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands.
NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1"; NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1";
buildInputs = [ systemdOrEmpty ]; buildInputs = [ systemdOrEmpty ];
meta.platforms = with stdenv.lib.platforms; allBut darwin;
}; };

View File

@ -18,5 +18,6 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa
meta = { meta = {
description = "Python DBus bindings"; description = "Python DBus bindings";
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
platforms = dbus.meta.platforms;
}; };
} }

View File

@ -220,7 +220,8 @@ let
|| system == "x86_64-darwin" || system == "x86_64-darwin"
|| system == "x86_64-freebsd" || system == "x86_64-freebsd"
|| system == "x86_64-openbsd" || system == "x86_64-openbsd"
|| system == "x86_64-solaris"; || system == "x86_64-solaris"
|| system == "mips64el-linux";
isMips = system == "mips-linux" isMips = system == "mips-linux"
|| system == "mips64el-linux"; || system == "mips64el-linux";
isArm = system == "armv5tel-linux" isArm = system == "armv5tel-linux"