treewide: remove unused variables (#63177)
* treewide: remove unused variables * making ofborg happy
This commit is contained in:
@@ -119,7 +119,6 @@ let # packageJSON=./package.json;
|
||||
|
||||
|
||||
cljdeps = import ./deps.nix { inherit pkgs; };
|
||||
cljpaths = cljdeps.makePaths {};
|
||||
classp = cljdeps.makeClasspaths {
|
||||
extraClasspaths=["src/js" "src/cljs/bundled" "src/cljs/snapshot"];
|
||||
};
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Generic builder for lua packages
|
||||
{ lib
|
||||
, lua
|
||||
, stdenv
|
||||
, wrapLua
|
||||
# Whether the derivation provides a lua module or not.
|
||||
, toLuaModule
|
||||
|
||||
@@ -59,7 +59,7 @@ in rec {
|
||||
|
||||
luajit_2_1 = import ../luajit/2.1.nix {
|
||||
self = luajit_2_1;
|
||||
inherit callPackage lib;
|
||||
inherit callPackage;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
, extraOutputsToInstall ? []
|
||||
, postBuild ? ""
|
||||
, ignoreCollisions ? false
|
||||
, lib
|
||||
, requiredLuaModules
|
||||
, makeWrapperArgs ? []
|
||||
}:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ self, callPackage, lib }:
|
||||
{ self, callPackage }:
|
||||
callPackage ./default.nix {
|
||||
inherit self;
|
||||
version = "2.1.0-beta3";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchurl, buildPackages
|
||||
{ stdenv, fetchurl, buildPackages
|
||||
, name ? "luajit-${version}"
|
||||
, isStable
|
||||
, sha256
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
, extraOutputsToInstall ? []
|
||||
, postBuild ? ""
|
||||
, ignoreCollisions ? false
|
||||
, lib
|
||||
, requiredPerlModules
|
||||
, makeWrapperArgs ? []
|
||||
}:
|
||||
|
||||
# Create a perl executable that knows about additional packages.
|
||||
|
||||
@@ -23,7 +23,7 @@ let
|
||||
common = import ./build-python-package-common.nix { inherit python; };
|
||||
mkPythonDerivation = import ./mk-python-derivation.nix {
|
||||
inherit lib config python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook;
|
||||
inherit toPythonModule namePrefix writeScript update-python-libraries;
|
||||
inherit toPythonModule namePrefix update-python-libraries;
|
||||
};
|
||||
in
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
, sqlite
|
||||
, tcl ? null, tk ? null, tix ? null, xlibsWrapper ? null, libX11 ? null, x11Support ? false
|
||||
, zlib
|
||||
, callPackage
|
||||
, self
|
||||
, CF, configd, coreutils
|
||||
, python-setup-hook
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
, sqlite
|
||||
, tcl ? null, tk ? null, tix ? null, libX11 ? null, xorgproto ? null, x11Support ? false
|
||||
, zlib
|
||||
, callPackage
|
||||
, self
|
||||
, CF, configd
|
||||
, python-setup-hook
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
# Whether the derivation provides a Python module or not.
|
||||
, toPythonModule
|
||||
, namePrefix
|
||||
, writeScript
|
||||
, update-python-libraries
|
||||
}:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, substituteAll, fetchurl
|
||||
, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
|
||||
, sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11
|
||||
, callPackage, self, gdbm, db, lzma
|
||||
, self, gdbm, db, lzma
|
||||
, python-setup-hook
|
||||
# For the Python package set
|
||||
, packageOverrides ? (self: super: {})
|
||||
|
||||
@@ -41,8 +41,6 @@ let
|
||||
|
||||
majorVersion = substring 0 1 pythonVersion;
|
||||
|
||||
setupHook = python-setup-hook sitePackages;
|
||||
|
||||
deps = [
|
||||
bzip2
|
||||
zlib
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeFontsConf, makeWrapper
|
||||
{ stdenv, fetchurl, makeFontsConf
|
||||
, cacert
|
||||
, cairo, coreutils, fontconfig, freefont_ttf
|
||||
, glib, gmp
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPackages, lib
|
||||
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
|
||||
, fetchurl, fetchFromSavannah, fetchFromGitHub
|
||||
, zlib, openssl, gdbm, ncurses, readline, groff, libyaml, libffi, autoreconfHook, bison
|
||||
, autoconf, libiconv, libobjc, libunwind, Foundation
|
||||
, buildEnv, bundler, bundix
|
||||
@@ -11,7 +11,7 @@ let
|
||||
opString = lib.optionalString;
|
||||
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
|
||||
config = import ./config.nix { inherit fetchFromSavannah; };
|
||||
rubygems = import ./rubygems { inherit stdenv lib fetchurl fetchpatch; };
|
||||
rubygems = import ./rubygems { inherit stdenv lib fetchurl; };
|
||||
|
||||
# Contains the ruby version heuristics
|
||||
rubyVersion = import ./ruby-version.nix { inherit lib; };
|
||||
@@ -32,7 +32,7 @@ let
|
||||
};
|
||||
self = lib.makeOverridable (
|
||||
{ stdenv, buildPackages, lib
|
||||
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
|
||||
, fetchurl, fetchFromSavannah, fetchFromGitHub
|
||||
, useRailsExpress ? true
|
||||
, zlib, zlibSupport ? true
|
||||
, openssl, opensslSupport ? true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchurl, fetchpatch }:
|
||||
{ stdenv, lib, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rubygems";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip, which, readline, icu, zlib, nspr, buildPackages }:
|
||||
{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, zip, which, readline, icu, zlib, nspr, buildPackages }:
|
||||
|
||||
let
|
||||
version = "52.9.0";
|
||||
|
||||
Reference in New Issue
Block a user