Get rid of all with { inherit... } and just used let inherit...

The old forms presumably predates, or were made in ignorance of,
`let inherit`. This way is better style as the scoping as more lexical,
something which Nix can (or might already!) take advantage of.
This commit is contained in:
John Ericson
2017-03-30 03:05:05 -04:00
parent da79d1f01f
commit 4c0d7da183
19 changed files with 22 additions and 24 deletions
@@ -13,7 +13,7 @@ assert enableAsioLib -> boost != null;
assert enableGetAssets -> libxml2 != null;
assert enableJemalloc -> jemalloc != null;
with { inherit (stdenv.lib) optional; };
let inherit (stdenv.lib) optional; in
stdenv.mkDerivation rec {
name = "nghttp2-${version}";