Fixed Atheros to export utilities in PATH
svn path=/nixpkgs/trunk/; revision=10902
This commit is contained in:
parent
b1ec2a1eb2
commit
c263a71810
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user