about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/atheros
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-03-02 11:04:51 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-03-02 11:04:51 +0000
commitc263a71810f0ddeea22f8c43cfd2635b249307fb (patch)
tree6fe9f4c8b792a48d3c637e94774342233f9d8b30 /pkgs/os-specific/linux/atheros
parentb1ec2a1eb26ecdd6dc93b9b39e63a257c0727e6e (diff)
downloadnixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar.gz
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar.bz2
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar.lz
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar.xz
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.tar.zst
nixlib-c263a71810f0ddeea22f8c43cfd2635b249307fb.zip
Fixed Atheros to export utilities in PATH
svn path=/nixpkgs/trunk/; revision=10902
Diffstat (limited to 'pkgs/os-specific/linux/atheros')
-rw-r--r--pkgs/os-specific/linux/atheros/0.9.3.3.nix6
-rw-r--r--pkgs/os-specific/linux/atheros/r2756.nix6
-rw-r--r--pkgs/os-specific/linux/atheros/r3122.nix8
3 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/atheros/0.9.3.3.nix b/pkgs/os-specific/linux/atheros/0.9.3.3.nix
index 419c136bed23..0b57dc534a20 100644
--- a/pkgs/os-specific/linux/atheros/0.9.3.3.nix
+++ b/pkgs/os-specific/linux/atheros/0.9.3.3.nix
@@ -22,11 +22,15 @@ doPatch = FullDepEntry (if patchAR2425x86 !="" then ''
 	cd hal
 	patch -Np1 -i ${patchAR2425x86}
 '' else "") [minInit doUnpack];
+postInstall = FullDepEntry (''
+	ln -s $out/usr/local/bin $out/bin
+'') [minInit doMakeInstall];
 in
 stdenv.mkDerivation rec {
 	name = "atheros-"+version;
 	builder = writeScript (name + "-builder")
-		(textClosure localDefs [doPatch doMakeInstall doForceShare doPropagate]);
+		(textClosure localDefs [doPatch doMakeInstall 
+			postInstall doForceShare doPropagate]);
 	meta = {
 		description = "
 		Atheros WiFi driver.
diff --git a/pkgs/os-specific/linux/atheros/r2756.nix b/pkgs/os-specific/linux/atheros/r2756.nix
index 031404b0395f..370ab0bd7911 100644
--- a/pkgs/os-specific/linux/atheros/r2756.nix
+++ b/pkgs/os-specific/linux/atheros/r2756.nix
@@ -23,11 +23,15 @@ doPatch = FullDepEntry (if patchAR2425x86 !="" then ''
 	patch -Np1 -i ${patchAR2425x86}
 	cd ..
 '' else "") [minInit doUnpack];
+postInstall = FullDepEntry (''
+	ln -s $out/usr/local/bin $out/bin
+'') [minInit doMakeInstall];
 in
 stdenv.mkDerivation rec {
 	name = "atheros-"+version;
 	builder = writeScript (name + "-builder")
-		(textClosure localDefs [doPatch doMakeInstall doForceShare doPropagate]);
+		(textClosure localDefs [doPatch doMakeInstall 
+			postInstall doForceShare doPropagate]);
 	meta = {
 		description = "
 		Atheros WiFi driver.
diff --git a/pkgs/os-specific/linux/atheros/r3122.nix b/pkgs/os-specific/linux/atheros/r3122.nix
index e9fb7bab01a4..eeaaddd9f66a 100644
--- a/pkgs/os-specific/linux/atheros/r3122.nix
+++ b/pkgs/os-specific/linux/atheros/r3122.nix
@@ -11,10 +11,16 @@ args : with args;
 		makeFlags = [''KERNELPATH=${kernel}/lib/modules/*/build'' ''DESTDIR=$out''];
 	} null; /* null is a terminator for sumArgs */
 	in with localDefs;
+let
+postInstall = FullDepEntry (''
+	ln -s $out/usr/local/bin $out/bin
+'') [minInit doMakeInstall];
+in
 stdenv.mkDerivation rec {
 	name = "atheros-"+version;
 	builder = writeScript (name + "-builder")
-		(textClosure localDefs [doMakeInstall doForceShare doPropagate]);
+		(textClosure localDefs [doMakeInstall postInstall
+			doForceShare doPropagate]);
 	meta = {
 		description = "
 		Atheros WiFi driver.