pkgs/desktops/gnome-2.28/platform/gnome-vfs: don't require hal unless the host OS is Linux

svn path=/nixpkgs/trunk/; revision=21859
This commit is contained in:
Peter Simons 2010-05-19 12:25:35 +00:00
parent 6d7f97bd0b
commit 0db2caa183

View File

@ -3,16 +3,17 @@
stdenv.mkDerivation {
name = "gnome-vfs-2.24.1";
src = fetchurl {
url = mirror://gnome/sources/gnome-vfs/2.24/gnome-vfs-2.24.1.tar.bz2;
sha256 = "1dmyr8nj77717r8dhwkixpar2yp8ld3r683gp222n59v61718ndw";
};
buildInputs =
[ pkgconfig libxml2 bzip2 openssl samba dbus_glib fam hal cdparanoia
[ pkgconfig libxml2 bzip2 openssl samba dbus_glib fam cdparanoia
intltool gnome_mime_data
];
]
++ (if stdenv.isLinux then [hal] else []);
propagatedBuildInputs = [ GConf glib ];
}