diff options
author | volth <volth@volth.com> | 2018-07-21 00:44:44 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-07-21 02:48:04 +0000 |
commit | 52f53c69ce6dbc5538f7e4cd22f9d93baf1f64a2 (patch) | |
tree | 2519a24bfee83cad4268e77ac180c84cb4036ed7 /pkgs/build-support/fetchdocker | |
parent | 1a6af9f88ec2405334a9fd6a977ccbcb53472305 (diff) |
pkgs/*: remove unreferenced function arguments
Diffstat (limited to 'pkgs/build-support/fetchdocker')
-rw-r--r-- | pkgs/build-support/fetchdocker/credentials.nix | 2 | ||||
-rw-r--r-- | pkgs/build-support/fetchdocker/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchdocker/credentials.nix b/pkgs/build-support/fetchdocker/credentials.nix index c01288dbf53a0..001693501ccb0 100644 --- a/pkgs/build-support/fetchdocker/credentials.nix +++ b/pkgs/build-support/fetchdocker/credentials.nix @@ -32,7 +32,7 @@ let pathParts = (builtins.filter - ({path, prefix}: "DOCKER_CREDENTIALS" == prefix) + ({prefix}: "DOCKER_CREDENTIALS" == prefix) builtins.nixPath); in if (pathParts != []) then (builtins.head pathParts).path else "" diff --git a/pkgs/build-support/fetchdocker/default.nix b/pkgs/build-support/fetchdocker/default.nix index ae3ae4185e053..3556df32d926d 100644 --- a/pkgs/build-support/fetchdocker/default.nix +++ b/pkgs/build-support/fetchdocker/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, coreutils, bash, gnutar, jq, writeText }: +{ stdenv, lib, coreutils, bash, gnutar, writeText }: let stripScheme = builtins.replaceStrings [ "https://" "http://" ] [ "" "" ]; |