Removed hardcoded paths to /bin and /usr/bin
svn path=/nixpkgs/trunk/; revision=27906
This commit is contained in:
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";
|
||||
|
Loading…
Reference in New Issue
Block a user