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:
@@ -17,7 +17,7 @@
|
||||
|
||||
assert faacSupport -> enableUnfree;
|
||||
|
||||
with { inherit (stdenv.lib) optional optionals hasPrefix; };
|
||||
let inherit (stdenv.lib) optional optionals hasPrefix; in
|
||||
|
||||
/* ToDo:
|
||||
- more deps, inspiration: http://packages.ubuntu.com/raring/libav-tools
|
||||
|
||||
Reference in New Issue
Block a user