nixpkgs/pkgs/build-support/substitute/substitute-all.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
245 B
Bash
Raw Normal View History

source $stdenv/setup
eval "$preInstall"
args=
target=$out
if test -n "$dir"; then
target=$out/$dir/$name
mkdir -p $out/$dir
fi
substituteAll $src $target
if test -n "$isExecutable"; then
chmod +x $target
fi
eval "$postInstall"