summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/codeblocks
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2017-02-08 20:52:13 -0500
committerJohn Ericson <Ericson2314@Yahoo.com>2017-03-30 03:05:05 -0400
commit4c0d7da1837356047aabfed4661daf4307821b75 (patch)
treeacc8f6a873c1bfa5f31f4beee022b7818fd56abb /pkgs/applications/editors/codeblocks
parentda79d1f01f6bd70833543cab5308d2439c429f9e (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/applications/editors/codeblocks')
-rw-r--r--pkgs/applications/editors/codeblocks/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/applications/editors/codeblocks/default.nix b/pkgs/applications/editors/codeblocks/default.nix
index 8ee08f576556..20c2623e034c 100644
--- a/pkgs/applications/editors/codeblocks/default.nix
+++ b/pkgs/applications/editors/codeblocks/default.nix
@@ -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";