builders for typical Autoconf-style to be much shorten, e.g., . $stdenv/setup genericBuild The generic builder does lots of stuff automatically: - Unpacks source archives specified by $src or $srcs (it knows about gzip, bzip2, tar, zip, and unpacked source trees). - Determines the source tree. - Applies patches specified by $patches. - Fixes libtool not to search for libraries in /lib etc. - Runs `configure'. - Runs `make'. - Runs `make install'. - Strips debug information from static libraries. - Writes nested log information (in the format accepted by `log2xml'). There are also lots of hooks and variables to customise the generic builder. See `stdenv/generic/docs.txt'. * Adapted the base packages (i.e., the ones used by stdenv) to use the generic builder. * We now use `curl' instead of `wget' to download files in `fetchurl'. * Neither `curl' nor `wget' are part of stdenv. We shouldn't encourage people to download stuff in builders (impure!). * Updated some packages. * `buildinputs' is now `buildInputs' (but the old name also works). * `findInputs' in the setup script now prevents inputs from being processed multiple times (which could happen, e.g., if an input was a propagated input of several other inputs; this caused the size variables like $PATH to blow up exponentially in the worst case). * Patched GNU Make to write nested log information in the format accepted by `log2xml'. Also, prior to writing the build command, Make now writes a line `building X' to indicate what is being built. This is unfortunately often obscured by the gigantic tool invocations in many Makefiles. The actual build commands are marked `unimportant' so that they don't clutter pages generated by `log2html'. svn path=/nixpkgs/trunk/; revision=845wip/yesman
parent
0fd59fd7a4
commit
5941f66f0e
@ -1,13 +1,15 @@ |
||||
#! /bin/sh |
||||
#! /bin/sh -e |
||||
|
||||
. $stdenv/setup |
||||
|
||||
echo "downloading $url into $out..." |
||||
header "downloading $out from $url" |
||||
|
||||
wget --passive-ftp "$url" -O "$out" || exit 1 |
||||
curl "$url" > "$out" |
||||
|
||||
actual=$(md5sum -b $out | cut -c1-32) |
||||
actual=$(md5sum -b "$out" | cut -c1-32) |
||||
if test "$actual" != "$md5"; then |
||||
echo "hash is $actual, expected $md5" |
||||
exit 1 |
||||
fi |
||||
|
||||
stopNext |
||||
|
@ -1,9 +1,12 @@ |
||||
{stdenv}: {url, md5}: derivation { |
||||
{stdenv, curl}: {url, md5}: |
||||
|
||||
# Note that `curl' may be `null', in case of the native stdenv. |
||||
|
||||
derivation { |
||||
name = baseNameOf (toString url); |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
stdenv = stdenv; |
||||
url = url; |
||||
md5 = md5; |
||||
buildInputs = [curl]; |
||||
id = md5; |
||||
inherit stdenv url md5; |
||||
} |
||||
|
@ -1,65 +1,74 @@ |
||||
#! /bin/sh -e |
||||
|
||||
buildinputs="$binutils" |
||||
. $stdenv/setup |
||||
|
||||
tar xvfj $src |
||||
|
||||
if test "$noSysDirs" = "1"; then |
||||
# Disable the standard include directories. |
||||
cd gcc-* |
||||
cat >> ./gcc/cppdefault.h <<EOF |
||||
preConfigure() { |
||||
|
||||
if test "$noSysDirs" = "1"; then |
||||
# Disable the standard include directories. |
||||
cat >> ./gcc/cppdefault.h <<EOF |
||||
#undef LOCAL_INCLUDE_DIR |
||||
#undef SYSTEM_INCLUDE_DIR |
||||
#undef STANDARD_INCLUDE_DIR |
||||
EOF |
||||
cd .. |
||||
fi |
||||
|
||||
langs="c" |
||||
if test -n "$langCC"; then |
||||
langs="$langs,c++" |
||||
fi |
||||
if test -n "$langF77"; then |
||||
langs="$langs,f77" |
||||
fi |
||||
|
||||
# Configure. |
||||
mkdir build |
||||
cd build |
||||
../gcc-*/configure --prefix=$out --enable-languages="$langs" |
||||
|
||||
if test "$noSysDirs" = "1"; then |
||||
# Patch some of the makefiles to force linking against our own glibc. |
||||
. $NIX_GCC/nix-support/add-flags # add glibc/gcc flags |
||||
extraflags="-Wl,-s $NIX_CFLAGS_COMPILE $NIX_CFLAGS_LINK" |
||||
for i in $NIX_LDFLAGS; do |
||||
extraflags="$extraflags -Wl,$i" |
||||
done |
||||
|
||||
mf=Makefile |
||||
sed \ |
||||
-e "s^FLAGS_FOR_TARGET =\(.*\)^FLAGS_FOR_TARGET = \1 $extraflags^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
|
||||
mf=gcc/Makefile |
||||
sed \ |
||||
-e "s^X_CFLAGS =\(.*\)^X_CFLAGS = \1 $extraflags^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
|
||||
# Patch gcc/Makefile to prevent fixinc.sh from "fixing" system header files |
||||
# from /usr/include. |
||||
mf=gcc/Makefile |
||||
sed \ |
||||
-e "s^NATIVE_SYSTEM_HEADER_DIR =\(.*\)^NATIVE_SYSTEM_HEADER_DIR = /fixinc-disabled^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
fi |
||||
|
||||
# Build and install. |
||||
make bootstrap |
||||
make install |
||||
|
||||
find $out -name "*.a" -exec strip -S {} \; |
||||
fi |
||||
|
||||
# Determine the frontends to build. |
||||
langs="c" |
||||
if test -n "$langCC"; then |
||||
langs="$langs,c++" |
||||
fi |
||||
if test -n "$langF77"; then |
||||
langs="$langs,f77" |
||||
fi |
||||
|
||||
# Perform the build in a different directory. |
||||
mkdir ../build |
||||
cd ../build |
||||
|
||||
configureScript=../$sourceRoot/configure |
||||
configureFlags="--enable-languages=$langs" |
||||
} |
||||
|
||||
preConfigure=preConfigure |
||||
|
||||
|
||||
postConfigure() { |
||||
if test "$noSysDirs" = "1"; then |
||||
# Patch some of the makefiles to force linking against our own |
||||
# glibc. |
||||
. $NIX_GCC/nix-support/add-flags # add glibc/gcc flags |
||||
extraflags="-Wl,-s $NIX_CFLAGS_COMPILE $NIX_CFLAGS_LINK" |
||||
for i in $NIX_LDFLAGS; do |
||||
extraflags="$extraflags -Wl,$i" |
||||
done |
||||
|
||||
mf=Makefile |
||||
sed \ |
||||
-e "s^FLAGS_FOR_TARGET =\(.*\)^FLAGS_FOR_TARGET = \1 $extraflags^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
|
||||
mf=gcc/Makefile |
||||
sed \ |
||||
-e "s^X_CFLAGS =\(.*\)^X_CFLAGS = \1 $extraflags^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
|
||||
# Patch gcc/Makefile to prevent fixinc.sh from "fixing" system |
||||
# header files from /usr/include. |
||||
mf=gcc/Makefile |
||||
sed \ |
||||
-e "s^NATIVE_SYSTEM_HEADER_DIR =\(.*\)^NATIVE_SYSTEM_HEADER_DIR = /fixinc-disabled^" \ |
||||
< $mf > $mf.tmp |
||||
mv $mf.tmp $mf |
||||
fi |
||||
} |
||||
|
||||
postConfigure=postConfigure |
||||
|
||||
|
||||
makeFlags="bootstrap" |
||||
|
||||
genericBuild |
||||
|
@ -1,10 +1,7 @@ |
||||
#! /bin/sh |
||||
#! /bin/sh -e |
||||
|
||||
buildinputs="$aterm $sdf" |
||||
. $stdenv/setup || exit 1 |
||||
buildInputs="$aterm $sdf" |
||||
. $stdenv/setup |
||||
|
||||
tar zxf $src || exit 1 |
||||
cd $dir* || exit 1 |
||||
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
configureFlags="--with-aterm=$aterm --with-sdf=$sdf" |
||||
genericBuild |
||||
|
@ -1,14 +1,12 @@ |
||||
{stdenv, fetchurl, aterm, sdf}: derivation { |
||||
name = "strategoxt-0.9.4-4626"; |
||||
{stdenv, fetchurl, aterm, sdf}: |
||||
|
||||
derivation { |
||||
name = "strategoxt-0.9.4"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = http://losser.labs.cs.uu.nl/~mbravenb/dailydist/strategoxt/src/strategoxt-0.9.4-4626.tar.gz; |
||||
md5 = "f33ae9fdb9d8628ae01fa0f26bfa0429"; |
||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.4.tar.gz; |
||||
md5 = "b61aee784cebac6cce0d96383bdb1b37"; |
||||
}; |
||||
stdenv = stdenv; |
||||
aterm = aterm; |
||||
sdf = sdf; |
||||
tarfile = "true"; |
||||
dir = "strategoxt"; |
||||
inherit stdenv aterm sdf; |
||||
} |
||||
|
@ -1,10 +0,0 @@ |
||||
{stdenv, fetchurl}: derivation { |
||||
name = "aterm-2.0.5"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.5.tar.gz; |
||||
md5 = "68aefb0c10b2ab876b8d3c0b2d0cdb1b"; |
||||
}; |
||||
stdenv = stdenv; |
||||
} |
@ -1,10 +1,6 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
. $stdenv/setup |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd aterm-* || exit 1 |
||||
./configure --prefix=$out --with-gcc || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
strip -S $out/lib/*.a || exit 1 |
||||
configureFlags="--with-gcc" |
||||
genericBuild |
||||
|
@ -1,10 +1,12 @@ |
||||
{stdenv, fetchurl}: derivation { |
||||
name = "aterm-2.0"; |
||||
{stdenv, fetchurl}: |
||||
|
||||
derivation { |
||||
name = "aterm-2.0.5"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz; |
||||
md5 = "853474e4bcf4a85f7d38a0676b36bded"; |
||||
url = http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.5.tar.gz; |
||||
md5 = "68aefb0c10b2ab876b8d3c0b2d0cdb1b"; |
||||
}; |
||||
stdenv = stdenv; |
||||
inherit stdenv; |
||||
} |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfj $src || exit 1 |
||||
cd pcre-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,10 +1,4 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd zlib-* || exit 1 |
||||
./configure --prefix=$out --shared || exit 1 |
||||
make || exit 1 |
||||
mkdir $out || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
configureFlags="--shared" |
||||
genericBuild |
||||
|
@ -1,10 +1,12 @@ |
||||
{stdenv, fetchurl}: derivation { |
||||
name = "zlib-1.1.4"; |
||||
{stdenv, fetchurl}: |
||||
|
||||
derivation { |
||||
name = "zlib-1.2.1"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = http://www.gzip.org/zlib/zlib-1.1.4.tar.gz; |
||||
md5 = "abc405d0bdd3ee22782d7aa20e440f08"; |
||||
url = http://www.gzip.org/zlib/zlib-1.2.1.tar.gz; |
||||
md5 = "ef1cb003448b4a53517b8f25adb12452"; |
||||
}; |
||||
stdenv = stdenv; |
||||
inherit stdenv; |
||||
} |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfj $src || exit 1 |
||||
cd make-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,10 +1,4 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd bash-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
(cd $out/bin; ln -s bash sh) || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
(cd $out/bin && ln -s bash sh) || exit 1 |
||||
|
@ -1,10 +1,12 @@ |
||||
{stdenv, fetchurl}: derivation { |
||||
{stdenv, fetchurl}: |
||||
|
||||
derivation { |
||||
name = "bash-2.05b"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = ftp://ftp.nluug.nl/pub/gnu/bash/bash-2.05b.tar.gz; |
||||
url = ftp://ftp.nl.net/pub/gnu/bash/bash-2.05b.tar.gz; |
||||
md5 = "5238251b4926d778dfe162f6ce729733"; |
||||
}; |
||||
stdenv = stdenv; |
||||
inherit stdenv; |
||||
} |
||||
|
@ -0,0 +1,93 @@ |
||||
* genericBuild performs a generic build of (typically) autotool-style |
||||
packages |
||||
|
||||
|
||||
* unpack phase |
||||
|
||||
** may be overriden by setting $unpackPhase to point at a function that |
||||
unpacks the source (which should set $sourceRoot) |
||||
|
||||
** the generic unpacker unpacks all sources specified by $srcs, or |
||||
$src if $srcs is empty |
||||
|
||||
** supports tar, bzipped tar, gzipped tar, compressed tar, zip |
||||
|
||||
** zip must be in scope (in $buildinputs) |
||||
|
||||
** additional file types may be supported by setting $findUnpacker, |
||||
which is called with a single argument specifying the file to be |
||||
unpacked |
||||
|
||||
** $findUnpacker should set $unpackCmd, specifying the full command to |
||||
unpack the file (must include the file name) |
||||
|
||||
** alternatively, $unpackCmd can be set before calling the generic |
||||
builder (e.g., 'unpackCmd="unrar x $src"'); this only works if |
||||
there is a single source file |
||||
|
||||
** the generic unpacker then sets $sourceRoot to the name of the |
||||
directory created by unpacking the source archives |
||||
|
||||
** the source archives should produce only one directory |
||||
|
||||
** alternatively, $setSourceRoot may be set to a function that sets |
||||
$sourceRoot |
||||
|
||||
|
||||
* the generic builder then chdirs to $sourceRoot |
||||
|
||||
|
||||
* patch phase (skipped if neither $patchPhase nor $patches are set) |
||||
|
||||
** may be overriden by setting $patchPhase to point at a function that |
||||
unpacks the source (which should set $sourceRoot) |
||||
|
||||
** if the $patches variable is set, it runs `patch -p1 < ...' in |
||||
$sourceRoot for each element in $patches (the `patch' command |
||||
should be in $PATH; note that it isn't in the standard environment) |
||||
|
||||
|
||||
* configuration phase |
||||
|
||||
** may be overriden by setting $configurePhase to point at a function |
||||
|
||||
** calls $preConfigurer first, if set (useful for running |
||||
autoconf/automake) |
||||
|
||||
** the configure script is specified by $configureScript, which |
||||
defaults to ./configure |
||||
|
||||
** if no executable file exists at $configureScript, does nothing |
||||
|
||||
** if a file ./ltmain.sh exists and $dontFixLibtool is not set, calls |
||||
function fixLibtool to remove its default search path (/usr etc.) |
||||
|
||||
** adds "--prefix=$out" to $configureFlags unless $dontAddPrefix is |
||||
set |
||||
|
||||
** calls $configureScript with $configureFlags |
||||
|
||||
** calls $postConfigurer, if set (useful for any last-minute patches |
||||
prior to building) |
||||
|
||||
|
||||
* build phase |
||||
|
||||
** may be overriden by setting $buildPhase to point at a function |
||||
|
||||
** runs make with flags $makeFlags |
||||
|
||||
|
||||
* install phase |
||||
|
||||
** may be overriden by setting $installPhase to point at a function |
||||
|
||||
** runs make with flags $installFlags |
||||
|
||||
** unless $dontStrip is set or $NIX_STRIP_DEBUG is not 1, finds all *.a |
||||
files in $out and runs "strip -S" on them (executables and dynamic |
||||
libraries can be stripped automatically by setting NIX_STRIP_DEBUG |
||||
to 1 (default)) |
||||
|
||||
** if $propagatedBuildInputs is set, its contents are written to |
||||
$out/nix-support/propagated-build-inputs |
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd tar-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,8 +1,16 @@ |
||||
#! /bin/sh |
||||
#! /bin/sh -e |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
. $stdenv/setup |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd unzip-* || exit 1 |
||||
make -f unix/Makefile generic || exit 1 |
||||
make -f unix/Makefile prefix=$out install || exit 1 |
||||
builder() { |
||||
make -f unix/Makefile generic |
||||
} |
||||
|
||||
installer() { |
||||
make -f unix/Makefile prefix=$out install |
||||
} |
||||
|
||||
buildPhase=builder |
||||
installPhase=installer |
||||
|
||||
genericBuild |
||||
|
@ -1,8 +1,4 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd bzip2-* || exit 1 |
||||
make || exit 1 |
||||
make install PREFIX=$out || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
installFlags="PREFIX=$out" |
||||
genericBuild |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd gzip-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,10 +1,10 @@ |
||||
#! /bin/sh |
||||
#! /bin/sh -e |
||||
|
||||
buildinputs="$x11 $libpng $libjpeg $expat $freetype" |
||||
. $stdenv/setup || exit 1 |
||||
. $stdenv/setup |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd graphviz-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
if test -z "$x11"; then |
||||
configureFlags="$configureFlags --without-x" |
||||
fi |
||||
|
||||
genericBuild |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfj $src || exit 1 |
||||
cd coreutils-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd findutils-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -0,0 +1,4 @@ |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
configureFlags="--without-ssl" |
||||
genericBuild |
@ -0,0 +1,13 @@ |
||||
{stdenv, fetchurl, zlib}: |
||||
|
||||
derivation { |
||||
name = "curl-7.11.1"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = http://curl.haxx.se/download/curl-7.11.1.tar.bz2; |
||||
md5 = "c2af7c3364a1a8839516f74961b6bd11"; |
||||
}; |
||||
buildInputs = [zlib]; |
||||
inherit stdenv; |
||||
} |
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd wget-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,10 +1,12 @@ |
||||
{stdenv, fetchurl}: derivation { |
||||
name = "wget-1.9"; |
||||
{stdenv, fetchurl}: |
||||
|
||||
derivation { |
||||
name = "wget-1.9.1"; |
||||
system = stdenv.system; |
||||
builder = ./builder.sh; |
||||
src = fetchurl { |
||||
url = ftp://ftp.nluug.nl/pub/gnu/wget/wget-1.9.tar.gz; |
||||
md5 = "18ac093db70801b210152dd69b4ef08a"; |
||||
url = ftp://ftp.nl.net/pub/gnu/wget/wget-1.9.1.tar.gz; |
||||
md5 = "e6051f1e1487ec0ebfdbda72bedc70ad"; |
||||
}; |
||||
stdenv = stdenv; |
||||
inherit stdenv; |
||||
} |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd diffutils-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfj $src || exit 1 |
||||
cd gawk-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
#! /bin/sh -e |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
@ -1,14 +1,3 @@ |
||||
#! /bin/sh -e |
||||
|
||||
set -x |
||||
export NIX_DEBUG=1 |
||||
buildinputs="$pcre" |
||||
. $stdenv/setup |
||||
|
||||
echo $NIX_LDFLAGS |
||||
|
||||
tar xvfj $src |
||||
cd grep-* |
||||
./configure --prefix=$out |
||||
make |
||||
make install |
||||
genericBuild |
||||
|
@ -1,9 +1,3 @@ |
||||
#! /bin/sh |
||||
|
||||
. $stdenv/setup || exit 1 |
||||
|
||||
tar xvfz $src || exit 1 |
||||
cd sed-* || exit 1 |
||||
./configure --prefix=$out || exit 1 |
||||
make || exit 1 |
||||
make install || exit 1 |
||||
. $stdenv/setup |
||||
genericBuild |
||||
|
Loading…
Reference in new issue