nixpkgs/init/builder.sh
Eelco Dolstra 1f7a8c8ae9 * Started setting up a proper init environment.
svn path=/nixu/trunk/; revision=785
2004-02-16 09:41:00 +00:00

15 lines
223 B
Bash
Executable file

#! /bin/sh -e
. $stdenv/setup
mkdir $out
mkdir $out/bin
sed \
-e "s^@bash\@^$bash^g" \
-e "s^@coreutils\@^$coreutils^g" \
-e "s^@findutils\@^$findutils^g" \
< $src > $out/bin/init
chmod +x $out/bin/init