From 232b71c6e8d0722270568567c9a343ad7e15602d Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 25 Apr 2015 15:08:05 -0700 Subject: [PATCH] Fix some platforms --- pkgs/development/libraries/dbus/default.nix | 1 + pkgs/development/python-modules/dbus/default.nix | 1 + pkgs/stdenv/generic/default.nix | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix index ad836ac732d..087df1a7151 100644 --- a/pkgs/development/libraries/dbus/default.nix +++ b/pkgs/development/libraries/dbus/default.nix @@ -76,6 +76,7 @@ let # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands. NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1"; buildInputs = [ systemdOrEmpty ]; + meta.platforms = with stdenv.lib.platforms; allBut darwin; }; diff --git a/pkgs/development/python-modules/dbus/default.nix b/pkgs/development/python-modules/dbus/default.nix index bc386e7e5ac..5bcdc54583d 100644 --- a/pkgs/development/python-modules/dbus/default.nix +++ b/pkgs/development/python-modules/dbus/default.nix @@ -18,5 +18,6 @@ if isPyPy then throw "dbus-python not supported for interpreter ${python.executa meta = { description = "Python DBus bindings"; license = stdenv.lib.licenses.mit; + platforms = dbus.meta.platforms; }; } diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index 6960c84ba5e..7efd2ead2f8 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -220,7 +220,8 @@ let || system == "x86_64-darwin" || system == "x86_64-freebsd" || system == "x86_64-openbsd" - || system == "x86_64-solaris"; + || system == "x86_64-solaris" + || system == "mips64el-linux"; isMips = system == "mips-linux" || system == "mips64el-linux"; isArm = system == "armv5tel-linux"