Removed hardcoded paths to /bin and /usr/bin
svn path=/nixpkgs/trunk/; revision=27906
This commit is contained in:
@@ -16,6 +16,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Fix some hardcoded paths
|
# Fix some hardcoded paths
|
||||||
sed -i -e "s|/usr/local|$out|g" main/main.c
|
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";
|
buildPhase = "make all";
|
||||||
|
|||||||
Reference in New Issue
Block a user