diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-08 20:52:13 -0500 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-03-30 03:05:05 -0400 |
commit | 4c0d7da1837356047aabfed4661daf4307821b75 (patch) | |
tree | acc8f6a873c1bfa5f31f4beee022b7818fd56abb /pkgs/servers/coturn | |
parent | da79d1f01f6bd70833543cab5308d2439c429f9e (diff) |
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.
Diffstat (limited to 'pkgs/servers/coturn')
-rw-r--r-- | pkgs/servers/coturn/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index 8dc062b75043..ab14ee92a24c 100644 --- a/pkgs/servers/coturn/default.nix +++ b/pkgs/servers/coturn/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, openssl, libevent }: -with { inherit (stdenv.lib) optional; }; +let inherit (stdenv.lib) optional; in stdenv.mkDerivation rec { name = "coturn-${version}"; |