* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
This commit is contained in:
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patchPhase = "rm -rf debian defines TODO";
|
||||
|
||||
installPhase = "ensureDir $out && cp -ra * $out/";
|
||||
installPhase = "mkdir -p $out && cp -ra * $out/";
|
||||
|
||||
# repeat the same trick for radeon, 3com, etc.
|
||||
postInstall = "ln -s $out/realtek/rtlwifi $out/rtlwifi";
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
# says: "Your rights to redistribute the Software shall be
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = "ensureDir $out; cp * $out";
|
||||
installPhase = "mkdir -p $out; cp * $out";
|
||||
|
||||
meta = {
|
||||
# "... you may transfer a copy of the Software ... provided such
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
# says: "Your rights to redistribute the Software shall be
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = "ensureDir $out; cp * $out";
|
||||
installPhase = "mkdir -p $out; cp * $out";
|
||||
|
||||
meta = {
|
||||
# "... you may transfer a copy of the Software ... provided such
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = "ensureDir $out; chmod -x *; cp * $out";
|
||||
installPhase = "mkdir -p $out; chmod -x *; cp * $out";
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Intel 3945ABG wireless card";
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"
|
||||
mkdir -p "$out"
|
||||
chmod -x *
|
||||
cp * "$out"
|
||||
'';
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
mkdir -p $out
|
||||
cp $src/*.bin $out
|
||||
cp $src/LICENSE $out/ralink.LICENSE
|
||||
'';
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
mkdir -p $out
|
||||
cp $src/rt2860.bin $out
|
||||
cp $src/LICENSE $out/rt2860.LICENSE
|
||||
'';
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
# says: "Your rights to redistribute the Software shall be
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = "ensureDir $out/${name}; cp *.bin $out; cp *.txt $out/${name}";
|
||||
installPhase = "mkdir -p $out/${name}; cp *.bin $out; cp *.txt $out/${name}";
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Ralink RT2870 wireless cards";
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
# says: "Your rights to redistribute the Software shall be
|
||||
# contingent upon your installation of this Agreement in its
|
||||
# entirety in the same directory as the Software."
|
||||
installPhase = "ensureDir $out/${name}; cp *.bin $out; cp *.txt $out/${name}";
|
||||
installPhase = "mkdir -p $out/${name}; cp *.bin $out; cp *.txt $out/${name}";
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Ralink RT73 wireless card";
|
||||
|
||||
@@ -4,7 +4,7 @@ stdenv.mkDerivation {
|
||||
src = firmwareLinuxNonfree;
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = "ensureDir $out/rtlwifi && cp $src/realtek/rtlwifi/rtl8192cfw.bin $out/rtlwifi/rtl8192cfw.bin";
|
||||
installPhase = "mkdir -p $out/rtlwifi && cp $src/realtek/rtlwifi/rtl8192cfw.bin $out/rtlwifi/rtl8192cfw.bin";
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Realtek RTL8192c wireless cards";
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = "ensureDir $out/zd1211; cp * $out/zd1211";
|
||||
installPhase = "mkdir -p $out/zd1211; cp * $out/zd1211";
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip";
|
||||
|
||||
Reference in New Issue
Block a user