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
|