nixpkgs/pkgs/build-support/make-symlinks/builder.sh

10 lines
134 B
Bash
Raw Normal View History

. $stdenv/setup
mkdir $out
for file in $files
do
subdir=`dirname $file`
mkdir -p $out/$subdir
ln -s $dir/$file $out/$file
done