add a static version of bash. This comes in handy for NixOS (installer disk) and the static tools we use to bootstrap Nix on for example NixOS. Can I say NixOS one more time? NixOS.

svn path=/nixpkgs/trunk/; revision=4423
This commit is contained in:
Armijn Hemel 2005-12-23 21:43:04 +00:00
parent ae11cdc41e
commit 136c43448d
2 changed files with 16 additions and 0 deletions

View File

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

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "bash-3.0";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/bash-3.0.tar.gz;
md5 = "26c4d642e29b3533d8d754995bc277b3";
};
configureFlags = "--enable-static-link --without-bash-malloc";
}