From 6722c6c22f3d31f5b30ccd3f63e9667744c88be6 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 8 Nov 2009 22:12:55 +0000 Subject: [PATCH] A package to feed to HAL to get synaptics support svn path=/nixpkgs/trunk/; revision=18299 --- pkgs/os-specific/linux/hal/synaptics.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 pkgs/os-specific/linux/hal/synaptics.nix diff --git a/pkgs/os-specific/linux/hal/synaptics.nix b/pkgs/os-specific/linux/hal/synaptics.nix new file mode 100644 index 00000000000..882f7613789 --- /dev/null +++ b/pkgs/os-specific/linux/hal/synaptics.nix @@ -0,0 +1,19 @@ +{stdenv}: +stdenv.mkDerivation { + name = "hal-info-synaptics"; + buildCommand = '' + mkdir -p $out/share/hal/fdi/information/15-osvendor/ + cat << EOF > $out/share/hal/fdi/information/15-osvendor/10-x11-synaptics.fdi + + + + + synaptics + true + event + + + +EOF + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f5723268ad7..6f75deb89c6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2498,8 +2498,6 @@ let inherit fetchurl stdenv sqlite ruby ; }; - scsh = import ../development/interpreters/scsh { inherit stdenv fetchurl; }; - spidermonkey = import ../development/interpreters/spidermonkey { inherit fetchurl stdenv readline; }; @@ -5339,6 +5337,10 @@ let inherit fetchurl stdenv pkgconfig; }; + hal_info_synaptics = import ../os-specific/linux/hal/synaptics.nix { + inherit stdenv; + }; + hdparm = import ../os-specific/linux/hdparm { inherit fetchurl stdenv; };