Reduce size of tradcpp derivation.
Generate configure using autoconf instead of including it in the patch.
This commit is contained in:
parent
d75a91ef1e
commit
93343fbb33
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, autoconf }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "tradcpp-0.4";
|
name = "tradcpp-0.4";
|
||||||
@ -9,8 +9,9 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# tradcpp only comes with BSD-make Makefile; the patch adds configure support
|
# tradcpp only comes with BSD-make Makefile; the patch adds configure support
|
||||||
|
buildInputs = [ autoconf ];
|
||||||
|
preConfigure = "autoconf";
|
||||||
patches = [ ./tradcpp-configure.patch ];
|
patches = [ ./tradcpp-configure.patch ];
|
||||||
postPatch = "chmod +x configure";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A traditional (K&R-style) C macro preprocessor";
|
description = "A traditional (K&R-style) C macro preprocessor";
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user