Taking a patch from ArchLinux to fix altermime build

svn path=/nixpkgs/trunk/; revision=29489
This commit is contained in:
Michael Raskin
2011-09-26 04:48:35 +00:00
parent 1d9c2ff413
commit 0b9c88cba1
2 changed files with 51 additions and 1 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ rec {
inherit (sourceInfo) name version;
inherit buildInputs;
phaseNames = ["fixTarget" "doMakeInstall"];
patches = [./altermime.patch];
phaseNames = ["doPatch" "fixTarget" "doMakeInstall"];
fixTarget = a.fullDepEntry (''
sed -i Makefile -e "s@/usr/local@$out@"
ensureDir "$out/bin"