nixpkgs/pkgs/nix-dist/nix-dist-build.sh
Eelco Dolstra 1445fe4a26 * A package that builds source distributions of Nix. It fetches the
source from Subversion, runs autoreconf and configure, and does a `make 
  dist'.

  The revision number is currently hard-coded into `nix-dist.fix'.

svn path=/nixpkgs/trunk/; revision=302
2003-08-18 10:08:27 +00:00

13 lines
295 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
cp --preserve=all -rv $src nix
cd nix || exit 1
cp -p $bdbSrc externals/db-4.0.14.tar.gz || exit 1
cp -p $atermSrc externals/aterm-2.0.tar.gz || exit 1
autoreconf -i || exit 1
./configure || exit 1
make dist || exit 1
cp nix-0.2pre1.tar.gz $out || exit 1