about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-07-21 11:13:36 +0200
committerGitHub <noreply@github.com>2018-07-21 11:13:36 +0200
commit251a0a9a861a88b17c44fbec1c2b12402837cfca (patch)
tree5d2ad3999e5f3479f6be84e8b76105d7cf6dab22 /pkgs/development/compilers
parent7db4c3617ff4e7a0d88320952e320599e75b39db (diff)
parent6d2857a311a6586860cb0c70778b035c92d9c88c (diff)
downloadnixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar.gz
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar.bz2
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar.lz
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar.xz
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.tar.zst
nixlib-251a0a9a861a88b17c44fbec1c2b12402837cfca.zip
Merge pull request #43860 from volth/unused2
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";