forked from mirrors/nixpkgs
Use a still-available Debian patch...
This commit is contained in:
parent
5ebc4d829b
commit
fa907fce31
|
@ -1,5 +1,5 @@
|
||||||
x@{builderDefsPackage
|
x@{builderDefsPackage
|
||||||
, readline, tcp_wrappers, pcre
|
, readline, tcp_wrappers, pcre, runCommand
|
||||||
, ...}:
|
, ...}:
|
||||||
builderDefsPackage
|
builderDefsPackage
|
||||||
(a :
|
(a :
|
||||||
|
@ -29,11 +29,15 @@ rec {
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
debianPatch = a.fetchurl {
|
debianPatchGz = a.fetchurl {
|
||||||
url = http://patch-tracker.debian.org/patch/nondebian/dl/atftp/0.7.dfsg-10;
|
url = ftp://ftp.ru.debian.org/pub/debian/pool/main/a/atftp/atftp_0.7.dfsg-11.diff.gz;
|
||||||
sha256 = "0vannjp0wxvk10xxlr3hirgf0g57n9dr4vhmsyfd8x4cwgxwfgsa";
|
sha256 = "07g4qbmp0lnscg2dkj6nsj657jaghibvfysdm1cdxcn215n3zwqd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
debianPatch = a.runCommand "atftp-0.7.dfsg-11" {} ''
|
||||||
|
gunzip < "${debianPatchGz}" > "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [debianPatch];
|
patches = [debianPatch];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue