Fix the iwl4965 firmware (Intel Wi-Fi).

svn path=/nixpkgs/trunk/; revision=11770
This commit is contained in:
Ludovic Courtès 2008-05-07 12:15:00 +00:00
parent 4609c9dae9
commit 800f4d31e9

View file

@ -10,7 +10,15 @@ stdenv.mkDerivation rec {
buildPhase = "true";
installPhase = "ensureDir $out; chmod -x *; cp * $out";
installPhase = ''
ensureDir "$out"
chmod -x *
cp * "$out"
# The driver expects the `-1' in the file name.
cd "$out"
ln -s iwlwifi-4965.ucode iwlwifi-4965-1.ucode
'';
meta = {
description = "Firmware for the Intel 4965ABG wireless card";