diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-08-14 02:47:59 +0300 |
|---|---|---|
| committer | Artturin <Artturin@artturin.com> | 2023-08-14 02:50:32 +0300 |
| commit | a1fdbae706c846f01c31bbe02cb8246fa348b480 (patch) | |
| tree | a6b5eca09c67592a15c211cfc3f3d25f225166f5 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | b5f77af42cf760e6d4b44015c6e7bb36938e56ab (diff) | |
lib.customisation: add uncurried form of makeScopeWithSplicing
Deeply-curried functions are pretty error-prone in untyped languages
like Nix. This is a particularly bad case because
`top-level/splice.nix` *also* declares a makeScopeWithSplicing, but
it takes *two fewer arguments*.
Let's add a version that uses attrset-passing form, to provide some
minimal level of sanity-checking.
This also provides defaults for keep and extra (these are often
unneeded by the user).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
