GNU Hurd: Don't try to install files as `root'.
svn path=/nixpkgs/trunk/; revision=21915
This commit is contained in:
@@ -33,6 +33,14 @@ stdenv.mkDerivation ({
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
||||
patchPhase =
|
||||
'' echo "removing \`-o root' from makefiles..."
|
||||
for mf in {utils,daemons}/Makefile
|
||||
do
|
||||
sed -i "$mf" -e's/-o root//g'
|
||||
done
|
||||
'';
|
||||
|
||||
buildPhase = "make ${buildTarget}";
|
||||
installPhase = "make ${installTarget}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user