* Another example of an inline hook.

svn path=/nixpkgs/trunk/; revision=6864
This commit is contained in:
Eelco Dolstra 2006-10-26 22:30:27 +00:00
parent 0b7e256162
commit cf693caa08
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +0,0 @@
source $stdenv/setup
genericBuild
cd $out/bin
ln -s bash sh

View file

@ -2,12 +2,14 @@
stdenv.mkDerivation {
name = "bash-3.2";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/bash/bash-3.2.tar.gz;
md5 = "00bfa16d58e034e3c2aa27f390390d30";
};
postInstall = "ln -s bash $out/bin/sh";
patches = [
# Fix a nasty bug in bash-3.2.
./bash32-001.patch