From 7558076e10aa924cca02cb01fa57a6773d762ca0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 Feb 2008 08:42:33 +0000 Subject: [PATCH] * Allow post/pre-install hooks. svn path=/nixpkgs/trunk/; revision=10629 --- pkgs/build-support/substitute/substitute-all.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/build-support/substitute/substitute-all.sh b/pkgs/build-support/substitute/substitute-all.sh index 3d3999ad520..796a1a47152 100644 --- a/pkgs/build-support/substitute/substitute-all.sh +++ b/pkgs/build-support/substitute/substitute-all.sh @@ -1,5 +1,7 @@ source $stdenv/setup +eval "$preInstall" + args= target=$out @@ -13,3 +15,5 @@ substituteAll $src $target if test -n "$isExecutable"; then chmod +x $target fi + +eval "$postInstall"