treewide: remove unused variables (#63177)

* treewide: remove unused variables

* making ofborg happy
This commit is contained in:
volth
2019-06-16 19:59:06 +00:00
committed by Alyssa Ross
parent ccee4117be
commit f3282c8d1e
765 changed files with 661 additions and 959 deletions

View File

@@ -96,7 +96,7 @@ assert stdenv.hostPlatform.isWindows -> enableStaticLibraries == false;
let
inherit (stdenv.lib) optional optionals optionalString versionOlder versionAtLeast
concatStringsSep enableFeature optionalAttrs toUpper;
concatStringsSep enableFeature optionalAttrs;
isGhcjs = ghc.isGhcjs or false;
isHaLVM = ghc.isHaLVM or false;

View File

@@ -187,7 +187,7 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
# for any version that has been released on hackage as opposed to only
# versions released before whatever version of all-cabal-hashes you happen
# to be currently using.
callHackageDirect = {pkg, ver, sha256}@args:
callHackageDirect = {pkg, ver, sha256}:
let pkgver = "${pkg}-${ver}";
in self.callCabal2nix pkg (pkgs.fetchzip {
url = "mirror://hackage/${pkgver}/${pkgver}.tar.gz";