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

10 lines
139 B
Bash
Raw Normal View History

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