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:
@@ -4,8 +4,6 @@
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
with { inherit (stdenv.lib) optionalString optional optionals; };
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${stdenv.lib.optionalString contribPlugins "full-"}${version}";
|
||||
version = "16.01";
|
||||
|
||||
Reference in New Issue
Block a user