* Sync example with manual.
svn path=/nixpkgs/trunk/; revision=1687
This commit is contained in:
parent
d72d515068
commit
90fc1d314c
|
@ -1,8 +0,0 @@
|
||||||
buildinputs="$perl"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd hello-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
PATH=$perl/bin:$PATH
|
||||||
|
|
||||||
|
tar xvfz $src
|
||||||
|
cd hello-*
|
||||||
|
./configure --prefix=$out
|
||||||
|
make
|
||||||
|
make install
|
|
@ -7,5 +7,5 @@ stdenv.mkDerivation {
|
||||||
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
|
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
|
||||||
md5 = "70c9ccf9fac07f762c24f2df2290784d";
|
md5 = "70c9ccf9fac07f762c24f2df2290784d";
|
||||||
};
|
};
|
||||||
perl = perl;
|
inherit perl;
|
||||||
}
|
}
|
|
@ -863,7 +863,7 @@ rec {
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
hello = (import ../applications/misc/hello) {
|
hello = (import ../applications/misc/hello/ex-1) {
|
||||||
inherit fetchurl stdenv perl;
|
inherit fetchurl stdenv perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue