mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
a0d71d4a50
svn path=/nixpkgs/trunk/; revision=5863
18 lines
351 B
Bash
Executable File
18 lines
351 B
Bash
Executable File
#! /bin/sh -e
|
|
|
|
source $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^@findutils\@^$findutils^g" \
|
|
-e "s^@kernelpkgs\@^$kernelpkgs^g" \
|
|
-e "s^@nix\@^$nix^g" \
|
|
< $i > $dst
|
|
chmod +x $dst
|
|
done
|