Author: urkud Date: Thu Apr 5 15:31:10 2012 New Revision: 33625 URL: https://nixos.org/websvn/nix/?rev=33625&sc=1
Log: Fix altermime build Added: nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.nix nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.txt Deleted: nixpkgs/trunk/pkgs/tools/networking/altermime/altermime.patch Modified: nixpkgs/trunk/pkgs/tools/networking/altermime/default.nix Added: nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.nix ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.nix Thu Apr 5 15:31:10 2012 (r33625) @@ -0,0 +1,18 @@ +# Generated by debian-patches.sh from debian-patches.txt +let + prefix = "http://patch-tracker.debian.org/patch/series/dl/altermime/0.3.10-7"; +in +[ + { + url = "${prefix}/15_fix_snprintf.diff"; + sha256 = "0fbi99s7pc2jvg9s2zldvg18i6g5ca3pcyaxy47kyabnz956dris"; + } + { + url = "${prefix}/10_fix_printk_warnings.diff"; + sha256 = "1fqsym07r3gv8zllg7c956g5a04gsxnr1ibbgkjr3yx6nm5ci1j7"; + } + { + url = "${prefix}/20_fix-unused-but-set-variables.diff"; + sha256 = "0ski67k44amrgg2g3gwdjzrlix2gjg60r5rs5wbjingvq1n7255r"; + } +] Added: nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ nixpkgs/trunk/pkgs/tools/networking/altermime/debian-patches.txt Thu Apr 5 15:31:10 2012 (r33625) @@ -0,0 +1,4 @@ +altermime/0.3.10-7 +15_fix_snprintf.diff +10_fix_printk_warnings.diff +20_fix-unused-but-set-variables.diff Modified: nixpkgs/trunk/pkgs/tools/networking/altermime/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/tools/networking/altermime/default.nix Thu Apr 5 15:11:19 2012 (r33624) +++ nixpkgs/trunk/pkgs/tools/networking/altermime/default.nix Thu Apr 5 15:31:10 2012 (r33625) @@ -26,7 +26,7 @@ inherit (sourceInfo) name version; inherit buildInputs; - patches = [./altermime.patch]; + patches = map a.fetchurl (import ./debian-patches.nix); phaseNames = ["doPatch" "fixTarget" "doMakeInstall"]; fixTarget = a.fullDepEntry ('' _______________________________________________ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits