diff options
| author | Alyssa Ross <hi@alyssa.is> | 2021-01-24 23:21:34 +0000 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2021-02-02 17:14:29 +0000 |
| commit | 8bad6906036d4f29d32f844a6914a3c7c97777fe (patch) | |
| tree | 1467b44f8faa87f6573dbcca5fb4a1b5356b1b50 /pkgs/development/python-modules/rangehttpserver | |
| parent | cfa16434c2acef56ec2f59760a8eb8d69265dfc7 (diff) | |
autoreconfHook: make overridable
Some packages have specific autotools requirements that don't apply to
any other packages. We want to be able to use autoreconfHook for
these packages with the required autotools versions, but we don't want
to have to makeSetupHook for each one, or have a top-level attribute
for every combination.
So, use callPackage around the makeSetupHook call so that the
autotools used by autoreconfHook can be overridden. This way, a
custom autoreconfHook can be passed to a package like this:
autoreconfHook = with buildPackages;
autoreconfHook.override { automake = automake115x; };
And we can simplify the definitions of our existing autoreconfHook264
and autoreconfHook269 attributes.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
