From 800f4d31e9f3856f3b5cdf4bcddb3e8c141a099e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 7 May 2008 12:15:00 +0000 Subject: [PATCH] Fix the iwl4965 firmware (Intel Wi-Fi). svn path=/nixpkgs/trunk/; revision=11770 --- .../linux/firmware/iwlwifi-4965-ucode/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/default.nix b/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/default.nix index 3a87cd164cb..97f00cc31a9 100644 --- a/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/default.nix +++ b/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/default.nix @@ -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";