nixpkgs/pkgs/misc/nix/builder.sh
Eelco Dolstra 5eea59c2cd * Use separate Berkeley DB and ATerm.
svn path=/nixpkgs/trunk/; revision=793
2004-02-16 16:54:01 +00:00

13 lines
220 B
Bash
Executable file

#! /bin/sh -e
buildinputs="$aterm $bdb"
. $stdenv/setup
tar xvfj $src
cd nix-*
./configure --prefix=$out \
--with-store-dir=/nix/store --localstatedir=/nix/var \
--with-aterm=$aterm --with-bdb=$bdb
make
make install