Unverified Commit 18e82c45 authored by Michael Daniels's avatar Michael Daniels
Browse files

lib: remove unused let bindings and args@{} uses

parent 3e84d44f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -123,7 +123,6 @@ let
    pathExists
    seq
    typeOf
    nixVersion
    ;

  inherit (lib.lists)
@@ -138,7 +137,6 @@ let

  inherit (lib.strings)
    isStringLike
    versionOlder
    ;

  inherit (lib.filesystem)
+0 −1
Original line number Diff line number Diff line
@@ -371,7 +371,6 @@ in
    let
      inherit (lib)
        concatMapAttrs
        id
        makeScope
        recurseIntoAttrs
        removeSuffix
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ let
    isString
    match
    typeOf
    elemAt
    ;

in
+0 −1
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ let
  */
  ipv6Bits = 128;
  ipv6Pieces = 8; # 'x:x:x:x:x:x:x:x'
  ipv6PieceBits = 16; # One piece in range from 0 to 0xffff.
  ipv6PieceMaxValue = 65535; # 2^16 - 1
in
let
+1 −1
Original line number Diff line number Diff line
@@ -468,7 +468,7 @@ rec {
    : 3\. Function argument
  */
  mergeUniqueOption =
    args@{
    {
      message,
      # WARNING: the default merge function assumes that the definition is a valid (option) value. You MUST pass a merge function if the return value needs to be
      #   - type checked beyond what .check does (which should be very little; only on the value head; not attribute values, etc)
Loading