source $stdenv/setup tar zxvf $src cd abc-* for p in $patches; do echo "applying patch $p" patch -p1 < $p done cat > ant.settings < $out/bin/abc <