488dc36428
svn path=/nixpkgs/trunk/; revision=4564
16 lines
258 B
Bash
Executable file
16 lines
258 B
Bash
Executable file
#! /bin/sh -e
|
|
|
|
. $stdenv/setup
|
|
|
|
mkdir $out
|
|
mkdir $out/bin
|
|
|
|
for i in $createModules; do
|
|
dst=$out/bin/$(basename $i | cut -c34-)
|
|
sed \
|
|
-e "s^@coreutils\@^$coreutils^g" \
|
|
-e "s^@nix\@^$nix^g" \
|
|
< $i > $dst
|
|
chmod +x $dst
|
|
done
|