Removed hardcoded paths to /bin and /usr/bin

svn path=/nixpkgs/trunk/; revision=27906
This commit is contained in:
Sander van der Burg 2011-07-22 20:09:00 +00:00
parent f635aceb5b
commit 14be409d8f

@ -16,6 +16,9 @@ stdenv.mkDerivation {
# Fix some hardcoded paths
sed -i -e "s|/usr/local|$out|g" main/main.c
# Remove PATH environment variable from install script
sed -i -e "s|export PATH=|#export PATH=|" ./install.sh
'';
buildPhase = "make all";