about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 19:36:12 +0000
committervolth <volth@volth.com>2018-07-20 19:38:19 +0000
commit6d2857a311a6586860cb0c70778b035c92d9c88c (patch)
tree80e0994b0ef711f6fd8b415f7acbd94ac420d909 /pkgs/development/compilers
parent1a6af9f88ec2405334a9fd6a977ccbcb53472305 (diff)
downloadnixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar.gz
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar.bz2
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar.lz
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar.xz
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.tar.zst
nixlib-6d2857a311a6586860cb0c70778b035c92d9c88c.zip
[bot] treewide: remove unused 'inherit' in let blocks
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/go/1.10.nix2
-rw-r--r--pkgs/development/compilers/go/1.9.nix2
-rw-r--r--pkgs/development/compilers/ocaml/ber-metaocaml-104.nix2
-rw-r--r--pkgs/development/compilers/rust/binaryBuild.nix3
4 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/compilers/go/1.10.nix b/pkgs/development/compilers/go/1.10.nix
index b4fa005c3de8..0958bdeb0c1f 100644
--- a/pkgs/development/compilers/go/1.10.nix
+++ b/pkgs/development/compilers/go/1.10.nix
@@ -6,7 +6,7 @@
 
 let
 
-  inherit (stdenv.lib) optional optionals optionalString;
+  inherit (stdenv.lib) optionals optionalString;
 
   clangHack = writeScriptBin "clang" ''
     #!${stdenv.shell}
diff --git a/pkgs/development/compilers/go/1.9.nix b/pkgs/development/compilers/go/1.9.nix
index 8ef528e2c92a..6acedecb2116 100644
--- a/pkgs/development/compilers/go/1.9.nix
+++ b/pkgs/development/compilers/go/1.9.nix
@@ -6,7 +6,7 @@
 
 let
 
-  inherit (stdenv.lib) optional optionals optionalString;
+  inherit (stdenv.lib) optionals optionalString;
 
   clangHack = writeScriptBin "clang" ''
     #!${stdenv.shell}
diff --git a/pkgs/development/compilers/ocaml/ber-metaocaml-104.nix b/pkgs/development/compilers/ocaml/ber-metaocaml-104.nix
index e084a2dcf94b..e6c688940368 100644
--- a/pkgs/development/compilers/ocaml/ber-metaocaml-104.nix
+++ b/pkgs/development/compilers/ocaml/ber-metaocaml-104.nix
@@ -2,7 +2,7 @@
 
 let
    useX11 = stdenv.isi686 || stdenv.isx86_64;
-   inherit (stdenv.lib) optionals optionalString;
+   inherit (stdenv.lib) optionals;
 in
 
 stdenv.mkDerivation rec {
diff --git a/pkgs/development/compilers/rust/binaryBuild.nix b/pkgs/development/compilers/rust/binaryBuild.nix
index 4c3c5d008f06..dbfc14e30efa 100644
--- a/pkgs/development/compilers/rust/binaryBuild.nix
+++ b/pkgs/development/compilers/rust/binaryBuild.nix
@@ -6,8 +6,7 @@
 }:
 
 let
-  inherit (stdenv.lib) getLib optionalString;
-  inherit (darwin) libiconv;
+  inherit (stdenv.lib) optionalString;
   inherit (darwin.apple_sdk.frameworks) Security;
 
   bootstrapping = versionType == "bootstrap";