nixpkgs/nix-dist/nix-test-build.sh
Eelco Dolstra be3479234b * Build the source distribution before uploading it.
svn path=/nixpkgs/trunk/; revision=569
2003-12-02 13:04:21 +00:00

12 lines
209 B
Bash
Executable File

#! /bin/sh
buildinputs="$getopt"
. $stdenv/setup || exit 1
tar xvfj $src/*.tar.bz2 || exit 1
cd nix-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make check || exit 1
make install || exit 1