Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

all-packages: Use callPackage where possible

+409 -726
+4 -1
pkgs/applications/editors/vim/configurable.nix
··· 1 1 # TODO tidy up eg The patchelf code is patching gvim even if you don't build it.. 2 2 # but I have gvim with python support now :) - Marc 3 - args@{pkgs, source ? "default", ...}: with args; 3 + args@{pkgs, source ? "default", fetchurl, fetchhg, stdenv, ncurses, pkgconfig, gettext 4 + , composableDerivation, lib, config, glib, gtk, python, perl, tcl, ruby 5 + , libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu 6 + , libICE, ... }: with args; 4 7 5 8 6 9 let inherit (args.composableDerivation) composableDerivation edf;
+4 -1
pkgs/applications/editors/vim/qvim.nix
··· 1 - args@{...}: with args; 1 + args@{ fetchgit, stdenv, ncurses, pkgconfig, gettext 2 + , composableDerivation, lib, config, python, perl, tcl, ruby, qt4 3 + , libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu 4 + , libICE, ... }: with args; 2 5 3 6 let tag = "20140827"; 4 7 sha256 = "02adf2212872db3c5d133642d2c12fbfc28b506e4c0c42552e3d079756f63f65";
+1 -1
pkgs/applications/graphics/xaos/default.nix
··· 1 - a : 1 + a @ { libXt, libX11, libXext, xextproto, xproto, gsl, aalib, zlib, intltool, gettext, perl, ... }: 2 2 let 3 3 fetchurl = a.fetchurl; 4 4
+1 -1
pkgs/applications/misc/gphoto2/gphotofs.nix
··· 1 - a : 1 + a @ { libgphoto2, fuse, pkgconfig, glib, libtool, ... } : 2 2 let 3 3 fetchurl = a.fetchurl; 4 4 s = import ./src-info-for-gphotofs.nix;
+11 -4
pkgs/applications/misc/grass/default.nix
··· 1 - { config, ... }@a: 1 + { config, libXmu, libXext, libXp, libX11, libXt, libSM, libICE, libXpm 2 + , libXaw, libXrender 3 + , composableDerivation, stdenv, fetchurl 4 + , lib, flex, bison, cairo, fontconfig 5 + , gdal, zlib, ncurses, gdbm, proj, pkgconfig, swig 6 + , blas, liblapack, libjpeg, libpng, mysql, unixODBC, mesa, postgresql, python 7 + , readline, sqlite, tcl, tk, libtiff, freetype, makeWrapper, wxGTK, ffmpeg, fftw 8 + , wxPython, motif, opendwg }@a: 2 9 3 10 # You can set gui by exporting GRASS_GUI=.. 4 11 # see http://grass.itc.it/gdp/html_grass64/g.gui.html ··· 28 35 name = "grass-6.4.0RC6"; 29 36 30 37 buildInputs = [ 31 - # gentoos package depends on gmath ? 38 + # gentoos package depends on gmath ? 32 39 a.pkgconfig 33 40 a.flex a.bison a.libXmu a.libXext a.libXp a.libX11 a.libXt a.libSM a.libICE 34 41 a.libXpm a.libXaw a.flex a.bison a.gdbm ··· 72 79 configureFlags = [ "--with-python=${a.python}/bin/python-config" ]; 73 80 buildInputs = [a.python a.swig]; 74 81 }; 75 - 82 + 76 83 } 77 84 // edf { name = "_64bit"; feat = "64bit"; } 78 85 // wwfp a.ncurses { name = "curses"; } ··· 119 126 // wwfp a.unixODBC { name = "odbc"; } 120 127 // wwfp a.fftw { name = "fftw"; } 121 128 // wwf { 122 - name = "blas"; 129 + name = "blas"; 123 130 enable.configureFlags = [ "--with-blas-libs=${a.blas}/lib" ]; 124 131 } 125 132 // wwf {
+12 -8
pkgs/applications/networking/instant-messengers/carrier/2.5.0.nix
··· 1 - args : with args; 1 + args @ { fetchurl, stdenv, pkgconfig, perl, perlXMLParser, libxml2, openssl, nss 2 + , gtkspell, aspell, gettext, ncurses, avahi, dbus, dbus_glib, python 3 + , libtool, automake, autoconf, gstreamer 4 + , gtk, glib 5 + , libXScrnSaver, scrnsaverproto, libX11, xproto, kbproto, ... }: with args; 2 6 /* 3 7 arguments: all buildInputs 4 - optional: purple2Source: purple-2 source - place to copy libpurple from 8 + optional: purple2Source: purple-2 source - place to copy libpurple from 5 9 (to use a fresher pidgin build) 6 10 */ 7 - let 8 - externalPurple2 = (lib.attrByPath ["purple2Source"] null args) != null; 11 + let 12 + externalPurple2 = (lib.attrByPath ["purple2Source"] null args) != null; 9 13 in 10 14 rec { 11 15 src = fetchurl { ··· 16 20 buildInputs = [gtkspell aspell 17 21 gstreamer startupnotification 18 22 libxml2 openssl nss 19 - libXScrnSaver ncurses scrnsaverproto 23 + libXScrnSaver ncurses scrnsaverproto 20 24 libX11 xproto kbproto GConf avahi 21 - dbus dbus_glib glib python 25 + dbus dbus_glib glib python 22 26 autoconf libtool automake]; 23 27 24 28 propagatedBuildInputs = [ ··· 38 42 phaseNames = ["doConfigure" "preBuild" "doMakeInstall"] 39 43 ++ (lib.optional externalPurple2 "postInstall") 40 44 ; 41 - 45 + 42 46 name = "carrier-2.5.0"; 43 47 meta = { 44 48 description = "PidginIM GUI fork with user-friendly development model"; 45 - homepage = http://funpidgin.sf.net; 49 + homepage = http://funpidgin.sf.net; 46 50 }; 47 51 } // (if externalPurple2 then { 48 52 postInstall = fullDepEntry (''
+2 -2
pkgs/applications/science/geometry/drgeo/default.nix
··· 1 - args : with args; 1 + args @ { libxml2, perl, intltool, libtool, pkgconfig, gtk, ... } : with args; 2 2 let version = lib.attrByPath ["version"] "1.1.0" args; in 3 3 rec { 4 4 src = fetchurl { ··· 17 17 doPreBuild = fullDepEntry ('' 18 18 cp drgeo.desktop.in drgeo.desktop 19 19 '') ["minInit" "doUnpack"]; 20 - 20 + 21 21 name = "drgeo-" + version; 22 22 meta = { 23 23 description = "Interactive geometry program";
+8 -8
pkgs/applications/science/math/content/default.nix
··· 1 - a : 2 - let 1 + a @ { mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, libXcursor, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = "1.5"; 5 + version = "1.5"; 6 6 buildInputs = with a; [ 7 - mesa lesstif libX11 libXaw xproto libXt libSM libICE 7 + mesa lesstif libX11 libXaw xproto libXt libSM libICE 8 8 libXmu libXext libXcursor 9 9 ]; 10 10 in ··· 28 28 configureFlags = []; 29 29 30 30 /* doConfigure should be removed if not needed */ 31 - phaseNames = ["unpackTarballs" 31 + phaseNames = ["unpackTarballs" 32 32 "setPlatform" "extraVars" 33 - "buildVibrant" "buildContent" 33 + "buildVibrant" "buildContent" 34 34 "install"]; 35 35 36 36 unpackTarballs = a.fullDepEntry ('' ··· 42 42 sed -e s/SGI=/SGI=no/ -i content/makefile_v 43 43 '') ["minInit"]; 44 44 45 - platformTLAContent = if a.stdenv.isLinux then "LIN" else 45 + platformTLAContent = if a.stdenv.isLinux then "LIN" else 46 46 throw "Three-letter code for the platform is not known"; 47 47 48 - platformTLAVibrant = if a.stdenv.isLinux then "lnx" else 48 + platformTLAVibrant = if a.stdenv.isLinux then "lnx" else 49 49 throw "Three-letter code for the platform is not known"; 50 50 51 51 setPlatform = a.fullDepEntry (''
+1 -1
pkgs/applications/version-management/git-and-tools/default.nix
··· 1 1 /* moving all git tools into one attribute set because git is unlikely to be 2 2 * referenced by other packages and you can get a fast overview. 3 3 */ 4 - args: with args; with pkgs; 4 + args @ {pkgs}: with args; with pkgs; 5 5 let 6 6 inherit (pkgs) stdenv fetchgit fetchurl subversion; 7 7
+2 -2
pkgs/applications/version-management/monotone-viz/mtn-head.nix
··· 1 - args : with args; 1 + args @ { graphviz, pkgconfig, autoconf, automake, libtool, glib, gtk, ... }: with args; 2 2 rec { 3 3 srcDrv = fetchmtn { 4 4 name = "monotone-viz-mtn-checkout"; ··· 9 9 }; 10 10 src = srcDrv + "/"; 11 11 12 - buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib 12 + buildInputs = [ocaml lablgtk libgnomecanvas gtk graphviz glib 13 13 pkgconfig autoconf automake libtool]; 14 14 configureFlags = ["--with-lablgtk-dir=$(echo ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2)"]; 15 15
+3 -3
pkgs/applications/version-management/tailor/default.nix
··· 1 - args : with args; 1 + args @ { makeWrapper, python, ... }: with args; 2 2 let version = if args ? version then args.version else "0.9.35"; in 3 3 rec { 4 4 src = fetchurl { ··· 14 14 15 15 /* doConfigure should be specified separately */ 16 16 phaseNames = ["installPythonPackage" "wrapBinContentsPython"]; 17 - 17 + 18 18 name = "tailor-" + version; 19 19 meta = { 20 20 description = "Version control tools integration tool"; 21 21 }; 22 22 } 23 - 23 +
+1 -2
pkgs/applications/version-management/viewmtn/0.10.nix
··· 1 - 2 - args : with args; 1 + args @ { monotone, cheetahTemplate, highlight, ctags, makeWrapper, graphviz, which, python, ... }: with args; 3 2 rec { 4 3 src = fetchurl { 5 4 url = http://viewmtn.1erlei.de/downloads/viewmtn-0.10.tgz;
+10 -10
pkgs/build-support/builder-defs/builder-defs.nix
··· 1 - args: with args; with stringsWithDeps; with lib; 1 + args @ {stringsWithDeps, lib, stdenv, writeScript, fetchurl, fetchmtn, fetchgit, ...}: with args; with stringsWithDeps; with lib; 2 2 let inherit (builtins) head tail trace; in 3 3 (rec 4 4 { 5 - inherit writeScript; 5 + inherit writeScript; 6 6 7 7 src = attrByPath ["src"] "" args; 8 8 9 9 addSbinPath = attrByPath ["addSbinPath"] false args; 10 10 11 11 forceShare = if args ? forceShare then args.forceShare else ["man" "doc" "info"]; 12 - forceCopy = ["COPYING" "LICENSE" "DISTRIBUTION" "LEGAL" 13 - "README" "AUTHORS" "ChangeLog" "CHANGES" "LICENCE" "COPYRIGHT"] ++ 14 - (optional (attrByPath ["forceCopyDoc"] true args) "doc"); 12 + forceCopy = ["COPYING" "LICENSE" "DISTRIBUTION" "LEGAL" 13 + "README" "AUTHORS" "ChangeLog" "CHANGES" "LICENCE" "COPYRIGHT"] ++ 14 + (optional (attrByPath ["forceCopyDoc"] true args) "doc"); 15 15 16 16 hasSuffixHack = a: b: hasSuffix (a+(substring 0 0 b)) ((substring 0 0 a)+b); 17 - 18 - archiveType = s: 17 + 18 + archiveType = s: 19 19 (if hasSuffixHack ".tar" s then "tar" 20 - else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz" 21 - else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) || 20 + else if (hasSuffixHack ".tar.gz" s) || (hasSuffixHack ".tgz" s) then "tgz" 21 + else if (hasSuffixHack ".tar.bz2" s) || (hasSuffixHack ".tbz2" s) || 22 22 (hasSuffixHack ".tbz" s) then "tbz2" 23 - else if hasSuffixHack ".tar.Z" s then "tZ" 23 + else if hasSuffixHack ".tar.Z" s then "tZ" 24 24 else if hasSuffixHack ".tar.lzma" s then "tar.lzma" 25 25 else if hasSuffixHack ".tar.xz" s then "tar.xz" 26 26 else if hasSuffixHack ".rar" s then "rar"
+1 -1
pkgs/build-support/emacs/trivial.nix
··· 1 1 # trivial builder for Emacs packages 2 2 3 - { lib, ... }@envargs: 3 + { lib, stdenv, texinfo, ... }@envargs: 4 4 5 5 with lib; 6 6
+2 -1
pkgs/data/fonts/fontWrap/default.nix
··· 1 - args : with args; 1 + args @ { fetchurl, stdenv, builderDefs, paths, mkfontdir, mkfontscale }: 2 + with args; 2 3 let localDefs = builderDefs.passthru.function { 3 4 src =""; /* put a fetchurl here */ 4 5 buildInputs = [mkfontdir mkfontscale];
+1 -1
pkgs/data/fonts/libertine/default.nix
··· 1 - args: with args; rec { 1 + args @ { fetchurl, fontforge, lib, ... }: with args; rec { 2 2 name = "linux-libertine-5.3.0"; 3 3 4 4 src = fetchurl {
+8 -6
pkgs/development/compilers/gcl/default.nix
··· 1 - a : 2 - let 1 + a @ { mpfr, m4, binutils, fetchcvs, emacs, zlib, which 2 + , texinfo, libX11, xproto, inputproto, libXi 3 + , libXext, xextproto, libXt, libXaw, libXmu, stdenv, ... } : 4 + let 3 5 buildInputs = with a; [ 4 6 mpfr m4 binutils emacs gmp 5 - libX11 xproto inputproto libXi 7 + libX11 xproto inputproto libXi 6 8 libXext xextproto libXt libXaw libXmu 7 9 zlib which texinfo texLive 8 - ]; 10 + ]; 9 11 in 10 12 11 13 ( ··· 40 42 '') ["minInit" "doUnpack" "addInputs"]; 41 43 42 44 /* doConfigure should be removed if not needed */ 43 - phaseNames = ["setVars" "doUnpack" "preBuild" 45 + phaseNames = ["setVars" "doUnpack" "preBuild" 44 46 "doConfigure" "doMakeInstall"]; 45 47 }) // { 46 48 meta = { ··· 48 50 maintainers = [ 49 51 a.lib.maintainers.raskin 50 52 ]; 51 - platforms = with a.lib.platforms; 53 + platforms = with a.lib.platforms; 52 54 linux; 53 55 }; 54 56 }
+2 -2
pkgs/development/interpreters/ruby/rubygems.nix
··· 1 - args : with args; 1 + args @ { makeWrapper, ruby, ... }: with args; 2 2 3 3 rec { 4 4 name = "rubygems-" + version; ··· 23 23 24 24 /* doConfigure should be specified separately */ 25 25 phaseNames = ["doPatch" "doInstall"]; 26 - 26 + 27 27 meta = { 28 28 description = "Ruby gems package collection"; 29 29 longDescription = ''
+3 -3
pkgs/development/libraries/box2d/default.nix
··· 3 3 , inputproto, libXi, fetchsvn, pkgconfig 4 4 , ...}: 5 5 builderDefsPackage 6 - (a : 7 - let 8 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 6 + (a : 7 + let 8 + helperArgNames = ["stdenv" "fetchsvn" "builderDefsPackage"] ++ 9 9 []; 10 10 11 11 buildInputs = map (n: builtins.getAttr n x)
+5 -5
pkgs/development/libraries/ncbi/default.nix
··· 1 - a : 2 - let 1 + a @ { tcsh, mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, ... }: 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = "20090809"; 5 + version = "20090809"; 6 6 buildInputs = with a; [ 7 - tcsh libX11 libXaw lesstif xproto mesa libXt 8 - libSM libICE libXmu libXext 7 + tcsh libX11 libXaw lesstif xproto mesa libXt 8 + libSM libICE libXmu libXext 9 9 ]; 10 10 in 11 11 rec {
+5 -5
pkgs/development/libraries/unixODBCDrivers/default.nix
··· 1 - args : with args; 1 + {fetchurl, stdenv, unixODBC, glibc, libtool, openssl, zlib, postgresql, mysql, sqlite}: 2 2 # each attr contains the name deriv referencing the derivation and ini which 3 3 # evaluates to a string which can be appended to the global unix odbc ini file 4 4 # to register the driver ··· 9 9 deriv = stdenv.mkDerivation { 10 10 name = "unix-odbc-pg-odbcng-0.90.101"; 11 11 buildInputs = [ unixODBC glibc libtool postgresql ]; 12 - # added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose' 12 + # added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose' 13 13 preConfigure=" 14 14 export CPPFLAGS=-I${unixODBC}/include 15 15 export LDFLAGS='-L${unixODBC}/lib -lltdl' ··· 37 37 export CPPFLAGS=-I${unixODBC}/include 38 38 export LDFLAGS='-L${unixODBC}/lib -lltdl' 39 39 "; 40 - # added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose' 40 + # added -ltdl to resolve missing references `dlsym' `dlerror' `dlopen' `dlclose' 41 41 src = fetchurl { 42 42 url = "http://ftp.postgresql.org/pub/odbc/versions/src/${name}.tar.gz"; 43 43 sha256 = "0mh10chkmlppidnmvgbp47v5jnphsrls28zwbvyk2crcn8gdx9q1"; ··· 48 48 license = "LGPL"; 49 49 }; 50 50 }; 51 - ini = 51 + ini = 52 52 "[PostgreSQL]\n" + 53 53 "Description = official PostgreSQL driver for Linux & Win32\n" + 54 54 "Driver = ${deriv}/lib/psqlodbcw.so\n" + ··· 97 97 mv "$out"/*.la "$out/lib" 98 98 ''; 99 99 100 - meta = { 100 + meta = { 101 101 description = "ODBC driver for SQLite"; 102 102 homepage = http://www.ch-werner.de/sqliteodbc; 103 103 license = stdenv.lib.licenses.bsd2;
+4 -4
pkgs/development/python-modules/irclib/default.nix
··· 1 - a : 2 - let 1 + a @ {python, ...} : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = a.lib.attrByPath ["version"] "0.4.8" a; 5 + version = a.lib.attrByPath ["version"] "0.4.8" a; 6 6 buildInputs = with a; [ 7 7 python 8 8 ]; ··· 24 24 25 25 /* doConfigure should be removed if not needed */ 26 26 phaseNames = ["doPatch" "installPythonPackage"]; 27 - 27 + 28 28 name = "python-irclib-" + version; 29 29 meta = { 30 30 description = "Python IRC library";
+3 -3
pkgs/development/python-modules/libsexy/default.nix
··· 1 - a : 2 - let 1 + a @ { python, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = a.lib.attrByPath ["version"] "0.1.9" a; 5 + version = a.lib.attrByPath ["version"] "0.1.9" a; 6 6 buildInputs = with a; [ 7 7 pkgconfig pygtk 8 8 ];
+4 -4
pkgs/development/python-modules/xmpppy/default.nix
··· 1 - a : 2 - let 1 + a @ {python, setuptools, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = a.lib.attrByPath ["version"] "0.5.0rc1" a; 5 + version = a.lib.attrByPath ["version"] "0.5.0rc1" a; 6 6 buildInputs = with a; [ 7 7 python setuptools 8 8 ]; ··· 22 22 mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out) 23 23 export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out) 24 24 '') ["defEnsureDir" "addInputs"]; 25 - 25 + 26 26 name = "xmpp.py-" + version; 27 27 meta = { 28 28 description = "XMPP python library";
+3 -3
pkgs/games/jamp/default.nix
··· 1 - a : 2 - let 1 + a @ { mesa, SDL, SDL_image, SDL_mixer, ... } : 2 + let 3 3 s = import ./src-for-default.nix; 4 4 buildInputs = with a; [ 5 5 mesa SDL SDL_mixer SDL_image ··· 21 21 22 22 /* doConfigure should be removed if not needed */ 23 23 phaseNames = ["preBuild" "doMakeInstall"]; 24 - 24 + 25 25 meta = { 26 26 description = "A physics-based game"; 27 27 maintainers = [ a.lib.maintainers.raskin ];
+5 -5
pkgs/games/lincity/default.nix
··· 1 - args : with args; 2 - let 3 - version = lib.attrByPath ["version"] "1.12.1" args; 4 - sha256 = lib.attrByPath ["sha256"] 1 + args @ { libX11, libXext, xextproto, libICE, libSM, xproto, libpng, zlib, ... }: with args; 2 + let 3 + version = lib.attrByPath ["version"] "1.12.1" args; 4 + sha256 = lib.attrByPath ["sha256"] 5 5 "0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj" args; 6 6 pkgName = "lincity"; 7 7 in ··· 17 17 18 18 /* doConfigure should be specified separately */ 19 19 phaseNames = ["doConfigure" "doMakeInstall"]; 20 - 20 + 21 21 name = "${pkgName}-" + version; 22 22 meta = { 23 23 description = "City simulation game";
+10 -5
pkgs/games/liquidwar/default.nix
··· 1 - a : 2 - let 1 + a @ { xproto, libX11, libXrender 2 + , gmp, mesa, libjpeg, libpng 3 + , expat, gettext, perl 4 + , SDL, SDL_image, SDL_mixer, SDL_ttf 5 + , curl, sqlite 6 + , libogg, libvorbis, libcaca, csound, cunit, ... } : 7 + let 3 8 buildInputs = with a; [ 4 9 xproto libX11 gmp guile 5 10 mesa libjpeg libpng 6 11 expat gettext perl 7 12 SDL SDL_image SDL_mixer SDL_ttf 8 - curl sqlite 13 + curl sqlite 9 14 libogg libvorbis csound 10 15 libXrender libcaca cunit 11 16 ]; ··· 27 32 setVars = a.noDepEntry ('' 28 33 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL" 29 34 ''); 30 - 35 + 31 36 meta = { 32 37 description = "Quick tactics game"; 33 38 maintainers = [ 34 39 a.lib.maintainers.raskin 35 40 ]; 36 - platforms = with a.lib.platforms; 41 + platforms = with a.lib.platforms; 37 42 linux; 38 43 homepage = "http://www.gnu.org/software/liquidwar6/"; 39 44 version = "0.6.3902";
+1 -1
pkgs/games/xsokoban/default.nix
··· 1 - a : 1 + a @ {libX11, xproto, libXpm, libXt, ...} : 2 2 let 3 3 fetchurl = a.fetchurl; 4 4
+1 -1
pkgs/games/zangband/default.nix
··· 1 - a : 1 + a @ { ncurses, flex, bison, autoconf, automake, m4, coreutils, ... } : 2 2 let 3 3 fetchurl = a.fetchurl; 4 4
+2 -2
pkgs/misc/emulators/wine/default.nix
··· 6 6 # }; 7 7 # Make additional configurations on demand: 8 8 # wine.override { wineBuild = "wine32"; wineRelease = "staging"; }; 9 - { lib, pkgs, system, callPackage, 9 + { lib, pkgs, system, callPackage, wineUnstable, 10 10 wineRelease ? "stable", 11 11 wineBuild ? (if system == "x86_64-linux" then "wineWow" else "wine32"), 12 12 libtxc_dxtn_Name ? "libtxc_dxtn_s2tc" }: ··· 14 14 if wineRelease == "staging" then 15 15 callPackage ./staging.nix { 16 16 inherit libtxc_dxtn_Name; 17 - wine = lib.getAttr wineBuild (callPackage ./packages.nix { wineRelease = "unstable"; }); 17 + wine = wineUnstable; 18 18 } 19 19 else 20 20 lib.getAttr wineBuild (callPackage ./packages.nix {
+4 -4
pkgs/os-specific/linux/directvnc/default.nix
··· 1 - a : 2 - let 1 + a @ { libjpeg, pkgconfig, zlib, directfb, xproto, ... } : 2 + let 3 3 s = import ./src-for-default.nix; 4 4 buildInputs = with a; [ 5 5 directfb zlib libjpeg pkgconfig xproto ··· 14 14 15 15 /* doConfigure should be removed if not needed */ 16 16 phaseNames = ["doConfigure" "doMakeInstall"]; 17 - 17 + 18 18 meta = { 19 19 description = "DirectFB VNC client"; 20 20 maintainers = [ 21 21 a.lib.maintainers.raskin 22 22 ]; 23 - platforms = with a.lib.platforms; 23 + platforms = with a.lib.platforms; 24 24 linux; 25 25 }; 26 26 }
+1 -1
pkgs/os-specific/linux/kernel/linux-3.10.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "3.10.87";
+1 -1
pkgs/os-specific/linux/kernel/linux-3.12.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "3.12.47";
+1 -1
pkgs/os-specific/linux/kernel/linux-3.14.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "3.14.51";
+1 -1
pkgs/os-specific/linux/kernel/linux-3.18.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "3.18.21";
+1 -1
pkgs/os-specific/linux/kernel/linux-4.1.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "4.1.6";
+1 -1
pkgs/os-specific/linux/kernel/linux-4.2.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "4.2";
+1 -1
pkgs/os-specific/linux/kernel/linux-rpi.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 let 4 4
+1 -1
pkgs/os-specific/linux/kernel/linux-testing.nix
··· 1 - { stdenv, fetchurl, ... } @ args: 1 + { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 4 version = "4.2-rc5";
+3 -1
pkgs/servers/squid/squids.nix
··· 1 - args: with args; 1 + args @ { fetchurl, stdenv, perl, lib, composableDerivation 2 + , openldap, pam, db, cyrus_sasl, kerberos, libcap, expat, libxml2, libtool 3 + , openssl, ... }: with args; 2 4 let edf = composableDerivation.edf; in 3 5 rec { 4 6 squid30 = composableDerivation.composableDerivation {} {
+4 -1
pkgs/servers/x11/xorg/default.nix
··· 1 1 # THIS IS A GENERATED FILE. DO NOT EDIT! 2 - args: with args; 2 + args @ { clangStdenv, fetchurl, fetchgit, fetchpatch, stdenv, pkgconfig, intltool, freetype, fontconfig 3 + , libxslt, expat, libpng, zlib, perl, mesa_drivers, spice_protocol 4 + , dbus, libuuid, openssl, gperf, m4, libevdev, tradcpp, libinput, mcpp, makeWrapper, autoreconfHook 5 + , autoconf, automake, libtool, xmlto, asciidoc, flex, bison, python, mtdev, pixman, ... }: with args; 3 6 4 7 let 5 8
+4 -1
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl
··· 229 229 print OUT ""; 230 230 print OUT <<EOF; 231 231 # THIS IS A GENERATED FILE. DO NOT EDIT! 232 - args: with args; 232 + args @ { clangStdenv, fetchurl, fetchgit, fetchpatch, stdenv, pkgconfig, intltool, freetype, fontconfig 233 + , libxslt, expat, libpng, zlib, perl, mesa_drivers, spice_protocol 234 + , dbus, libuuid, openssl, gperf, m4, libevdev, tradcpp, libinput, mcpp, makeWrapper, autoreconfHook 235 + , autoconf, automake, libtool, xmlto, asciidoc, flex, bison, python, mtdev, pixman, ... }: with args; 233 236 234 237 let 235 238
+4 -4
pkgs/servers/xmpp/pyIRCt/default.nix
··· 1 - a : 2 - let 1 + a @ { xmpppy, pythonIRClib, python, makeWrapper, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = a.lib.attrByPath ["version"] "0.4" a; 5 + version = a.lib.attrByPath ["version"] "0.4" a; 6 6 buildInputs = with a; [ 7 7 xmpppy pythonIRClib python makeWrapper 8 8 ]; ··· 30 30 echo "./irc.py \"$@\"" >> $out/bin/pyIRCt 31 31 chmod a+rx $out/bin/pyIRCt $out/share/${name}/irc.py 32 32 '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; 33 - 33 + 34 34 name = "pyIRCt-" + version; 35 35 meta = { 36 36 description = "IRC transport module for XMPP";
+3 -3
pkgs/servers/xmpp/pyMAILt/default.nix
··· 1 - a : 2 - let 1 + a @ { xmpppy, python, makeWrapper, fetchcvs, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 5 buildInputs = with a; [ ··· 32 32 echo "./mail.py \"$@\"" >> $out/bin/pyMAILt 33 33 chmod a+rx $out/bin/pyMAILt $out/share/${name}/mail.py 34 34 '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; 35 - 35 + 36 36 name = "pyMAILt-20090101"; 37 37 meta = { 38 38 description = "Email transport module for XMPP";
+3 -3
pkgs/tools/admin/webdruid/default.nix
··· 1 - a : 2 - let 1 + a @ { zlib, libpng, freetype, gd, which, libxml2, geoip, ... } : 2 + let 3 3 s = import ./src-for-default.nix; 4 4 buildInputs = with a; [ 5 5 zlib libpng freetype gd which libxml2 ··· 15 15 16 16 /* doConfigure should be removed if not needed */ 17 17 phaseNames = ["doConfigure" "doMakeInstall" "doLinks"]; 18 - 18 + 19 19 doLinks = a.fullDepEntry ('' 20 20 ln -s shared_en.xsl $out/share/webdruid/classic/shared.xsl 21 21 '') ["minInit"];
+3 -3
pkgs/tools/graphics/cuneiform/default.nix
··· 1 - a : 2 - let 1 + a @ { cmake, patchelf, imagemagick, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 5 version = "1.1.0"; ··· 27 27 export NIX_LDFLAGS="$NIX_LDFLAGS -ldl -L$out/lib" 28 28 cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=$out -DDL_LIB=${libc}/lib 29 29 '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; 30 - 30 + 31 31 needLib64 = a.stdenv.system == "x86_64-linux"; 32 32 33 33 postInstall = a.fullDepEntry(''
+3 -3
pkgs/tools/misc/gnokii/default.nix
··· 1 - a : 2 - let 1 + a @ { intltool, perl, gettext, libusb, pkgconfig, bluez, readline, pcsclite, libical, gtk, glib, libXpm, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - s = import ./src-for-default.nix; 5 + s = import ./src-for-default.nix; 6 6 buildInputs = with a; [ 7 7 perl intltool gettext libusb 8 8 glib gtk pkgconfig bluez readline
+3 -3
pkgs/tools/networking/gvpe/default.nix
··· 1 - a : 2 - let 1 + a @ { openssl, gmp, nettools, iproute, zlib, ... } : 2 + let 3 3 s = import ./src-for-default.nix; 4 4 buildInputs = with a; [ 5 5 openssl gmp zlib ··· 22 22 sed -e 's@"/sbin/ifconfig.*"@"${a.iproute}/sbin/ip link set $IFNAME address $MAC mtu $MTU"@' -i src/device-linux.C 23 23 sed -e 's@/sbin/ifconfig@${a.nettools}/sbin/ifconfig@g' -i src/device-*.C 24 24 '') ["minInit" "doUnpack"]; 25 - 25 + 26 26 meta = { 27 27 description = "A proteted multinode virtual network"; 28 28 maintainers = [
+3 -3
pkgs/tools/networking/rp-pppoe/default.nix
··· 1 - a : 2 - let 1 + a @ {ppp, ...} : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 5 version = a.lib.attrByPath ["version"] "3.11" a; 6 6 buildInputs = with a; [ 7 - ppp 7 + ppp 8 8 ]; 9 9 in 10 10 rec {
+2 -2
pkgs/tools/security/bmrsa/11.nix
··· 1 - args : 2 - let 1 + args @ {unzip, ... } : 2 + let 3 3 lib = args.lib; 4 4 fetchurl = args.fetchurl; 5 5 fullDepEntry = args.fullDepEntry;
+2 -2
pkgs/tools/security/metasploit/3.1.nix
··· 1 - args : with args; 1 + args @ { makeWrapper, ... }: with args; 2 2 rec { 3 3 src = fetchurl { 4 4 url = http://www.packetstormsecurity.nl/UNIX/utilities/framework-3.1.tar.gz; ··· 21 21 22 22 /* doConfigure should be specified separately */ 23 23 phaseNames = ["doInstall" (doPatchShebangs "$out/share/msf")]; 24 - 24 + 25 25 name = "metasploit-framework-3.1"; 26 26 meta = { 27 27 description = "Metasploit Framework - a collection of exploits";
+4 -4
pkgs/tools/system/setserial/default.nix
··· 1 - a : 2 - let 1 + a @ { groff, ... } : 2 + let 3 3 fetchurl = a.fetchurl; 4 4 5 - version = a.lib.attrByPath ["version"] "2.17" a; 5 + version = a.lib.attrByPath ["version"] "2.17" a; 6 6 buildInputs = with a; [ 7 7 groff 8 8 ]; ··· 26 26 '') ["minInit" "doUnpack" "doConfigure"]; 27 27 28 28 neededDirs = ["$out/bin" "$out/share/man/man8"]; 29 - 29 + 30 30 name = "setserial-" + version; 31 31 meta = { 32 32 description = "Serial port configuration utility";
+4 -4
pkgs/tools/system/vbetool/default.nix
··· 1 - a : 2 - let 1 + a @ {pciutils, libx86, zlib, ...} : 2 + let 3 3 s = import ./src-for-default.nix; 4 4 buildInputs = with a; [ 5 5 libx86 pciutils zlib ··· 19 19 sed -e 's@$(libdir)/libpci.a@${a.pciutils}/lib/libpci.so@' -i Makefile.in 20 20 export NIX_LDFLAGS="$NIX_LDFLAGS -lpci" 21 21 '') ["doUnpack" "minInit"]; 22 - 22 + 23 23 meta = { 24 24 description = "Video BIOS execution tool"; 25 25 maintainers = [ 26 26 a.lib.maintainers.raskin 27 27 ]; 28 - platforms = with a.lib.platforms; 28 + platforms = with a.lib.platforms; 29 29 linux; 30 30 }; 31 31 }
+1 -1
pkgs/tools/typesetting/tex/texlive/aggregate.nix
··· 1 - args : with args; 1 + args @ {poppler, perl, makeWrapper, ... }: with args; 2 2 rec { 3 3 name = "TeXLive-linkdir"; 4 4
+1 -1
pkgs/tools/typesetting/tex/texlive/beamer.nix
··· 1 - args: with args; 1 + args @ {texLiveLatexXColor, texLivePGF, texLive, ...}: with args; 2 2 rec { 3 3 name = "texlive-beamer-2013"; 4 4 src = fetchurl {
+2 -2
pkgs/tools/typesetting/tex/texlive/cm-super.nix
··· 1 - args: with args; 1 + args @ {texLive, ...}: with args; 2 2 rec { 3 3 name = "texlive-cm-super-2009"; 4 4 src = fetchurl { ··· 29 29 description = "Extra components for TeXLive: CM-Super fonts"; 30 30 maintainers = [ args.lib.maintainers.raskin ]; 31 31 32 - # Actually, arch-independent.. 32 + # Actually, arch-independent.. 33 33 hydraPlatforms = []; 34 34 }; 35 35 }
+2 -2
pkgs/tools/typesetting/tex/texlive/context.nix
··· 1 - args: with args; 1 + args @ { texLive, ... }: with args; 2 2 rec { 3 3 name = "context-2014.05.21"; 4 4 src = fetchurl { ··· 22 22 }; 23 23 24 24 } 25 - 25 +
+8 -1
pkgs/tools/typesetting/tex/texlive/default.nix
··· 1 - args : with args; 1 + args @ { 2 + builderDefs, zlib, bzip2, ncurses, libpng, ed, lesstif, ruby, potrace 3 + , gd, t1lib, freetype, icu, perl, expat, curl, xz, pkgconfig, zziplib, texinfo 4 + , libjpeg, bison, python, fontconfig, flex, poppler, libpaper, graphite2 5 + , makeWrapper, gmp, mpfr, xpdf, config 6 + , libXaw, libX11, xproto, libXt, libXpm 7 + , libXmu, libXext, xextproto, libSM, libICE 8 + , ... }: with args; 2 9 3 10 rec { 4 11 src = assert config.allowTexliveBuilds or true; fetchurl {
+1 -1
pkgs/tools/typesetting/tex/texlive/extra.nix
··· 1 - args: with args; 1 + args @ { texLive, xz, ... }: with args; 2 2 rec { 3 3 name = "texlive-extra-2014"; 4 4 version = "2014.20141024";
+1 -1
pkgs/tools/typesetting/tex/texlive/moderncv.nix
··· 1 - args: with args; 1 + args @ {texLive, unzip, ...}: with args; 2 2 rec { 3 3 version = "1.5.1"; 4 4 name = "moderncv-${version}";
+1 -1
pkgs/tools/typesetting/tex/texlive/moderntimeline.nix
··· 1 - args: with args; 1 + args @ {texLive, unzip, ...}: with args; 2 2 rec { 3 3 version = "0.9"; 4 4 name = "moderntimeline-${version}";
+1 -1
pkgs/tools/typesetting/tex/texlive/xcolor.nix
··· 1 - args: with args; 1 + args @ {texLive, ... }: with args; 2 2 rec { 3 3 name = "texlive-latex-xcolor-2007"; 4 4 src = fetchurl {
+6 -4
pkgs/tools/video/vncrec/default.nix
··· 1 - a : 2 - let 1 + a @ {imake, libX11, xproto, gccmakedep, libXt 2 + , libXmu, libXaw, libXext, xextproto, libSM, libICE, libXpm 3 + , libXp, ...} : 4 + let 3 5 fetchurl = a.fetchurl; 4 6 5 7 buildInputs = with a; [ 6 8 libX11 xproto imake gccmakedep libXt libXmu libXaw 7 - libXext xextproto libSM libICE libXpm libXp 9 + libXext xextproto libSM libICE libXpm libXp 8 10 ]; 9 11 in 10 12 rec { ··· 29 31 doXMKMF = a.fullDepEntry ('' 30 32 xmkmf 31 33 '') ["doUnpack" "minInit" "addInputs"]; 32 - 34 + 33 35 name = "vncrec-0.2"; # version taken from Arch AUR 34 36 meta = { 35 37 description = "VNC recorder";
+208 -566
pkgs/top-level/all-packages.nix
··· 203 203 # inside the set for derivations. 204 204 recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; }; 205 205 206 - builderDefs = lib.composedArgsAndFun (import ../build-support/builder-defs/builder-defs.nix) { 207 - inherit stringsWithDeps lib stdenv writeScript 208 - fetchurl fetchmtn fetchgit; 209 - }; 206 + builderDefs = lib.composedArgsAndFun (callPackage ../build-support/builder-defs/builder-defs.nix) {}; 210 207 211 208 builderDefsPackage = builderDefs.builderDefsPackage builderDefs; 212 209 ··· 265 262 266 263 ### BUILD SUPPORT 267 264 268 - attrSetToDir = arg: import ../build-support/upstream-updater/attrset-to-dir.nix { 269 - inherit writeTextFile stdenv lib; 265 + attrSetToDir = arg: callPackage ../build-support/upstream-updater/attrset-to-dir.nix { 270 266 theAttrSet = arg; 271 267 }; 272 268 ··· 276 272 { substitutions = { inherit autoconf automake libtool gettext; }; } 277 273 ../build-support/setup-hooks/autoreconf.sh; 278 274 279 - buildEnv = import ../build-support/buildenv { 280 - inherit (pkgs) runCommand perl; 281 - }; 275 + buildEnv = callPackage ../build-support/buildenv {}; 282 276 283 277 buildFHSEnv = callPackage ../build-support/build-fhs-chrootenv/env.nix { 284 278 nixpkgs = pkgs; ··· 301 295 302 296 buildMaven = callPackage ../build-support/build-maven.nix {}; 303 297 304 - dotnetenv = import ../build-support/dotnetenv { 305 - inherit stdenv; 298 + dotnetenv = callPackage ../build-support/dotnetenv { 306 299 dotnetfx = dotnetfx40; 307 300 }; 308 301 309 - dotnetbuildhelpers = import ../build-support/dotnetbuildhelpers { 310 - inherit mono helperFunctions pkgconfig; 302 + dotnetbuildhelpers = callPackage ../build-support/dotnetbuildhelpers { 303 + inherit helperFunctions; 311 304 }; 312 305 313 306 scatterOutputHook = makeSetupHook {} ../build-support/setup-hooks/scatter_output.sh; ··· 316 309 vs = vs90wrapper; 317 310 }; 318 311 319 - fetchadc = import ../build-support/fetchadc { 320 - inherit curl stdenv; 312 + fetchadc = callPackage ../build-support/fetchadc { 321 313 adc_user = if config ? adc_user 322 314 then config.adc_user 323 315 else throw "You need an adc_user attribute in your config to download files from Apple Developer Connection"; ··· 326 318 else throw "You need an adc_pass attribute in your config to download files from Apple Developer Connection"; 327 319 }; 328 320 329 - fetchbower = import ../build-support/fetchbower { 330 - inherit stdenv git; 321 + fetchbower = callPackage ../build-support/fetchbower { 331 322 inherit (nodePackages) fetch-bower; 332 323 }; 333 324 334 - fetchbzr = import ../build-support/fetchbzr { 335 - inherit stdenv bazaar; 336 - }; 325 + fetchbzr = callPackage ../build-support/fetchbzr { }; 337 326 338 - fetchcvs = import ../build-support/fetchcvs { 339 - inherit stdenv cvs; 340 - }; 327 + fetchcvs = callPackage ../build-support/fetchcvs { }; 341 328 342 - fetchdarcs = import ../build-support/fetchdarcs { 343 - inherit stdenv darcs nix; 344 - }; 329 + fetchdarcs = callPackage ../build-support/fetchdarcs { }; 345 330 346 - fetchgit = import ../build-support/fetchgit { 347 - inherit stdenv cacert; 331 + fetchgit = callPackage ../build-support/fetchgit { 348 332 git = gitMinimal; 349 333 }; 350 334 351 - fetchgitPrivate = import ../build-support/fetchgit/private.nix { 352 - inherit fetchgit writeScript openssh stdenv; 353 - }; 335 + fetchgitPrivate = callPackage ../build-support/fetchgit/private.nix { }; 354 336 355 337 fetchgitrevision = import ../build-support/fetchgitrevision runCommand git; 356 338 357 - fetchgitLocal = import ../build-support/fetchgitlocal { 358 - inherit runCommand git nix; 359 - }; 339 + fetchgitLocal = callPackage ../build-support/fetchgitlocal { }; 360 340 361 341 fetchmtn = callPackage ../build-support/fetchmtn (config.fetchmtn or {}); 362 342 ··· 364 344 365 345 fetchpatch = callPackage ../build-support/fetchpatch { }; 366 346 367 - fetchsvn = import ../build-support/fetchsvn { 368 - inherit stdenv subversion openssh; 347 + fetchsvn = callPackage ../build-support/fetchsvn { 369 348 sshSupport = true; 370 349 }; 371 350 372 351 fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion; 373 352 374 - fetchsvnssh = import ../build-support/fetchsvnssh { 375 - inherit stdenv subversion openssh expect; 353 + fetchsvnssh = callPackage ../build-support/fetchsvnssh { 376 354 sshSupport = true; 377 355 }; 378 356 379 - fetchhg = import ../build-support/fetchhg { 380 - inherit stdenv mercurial nix; 381 - }; 357 + fetchhg = callPackage ../build-support/fetchhg { }; 382 358 383 359 # `fetchurl' downloads a file from the network. 384 360 fetchurl = import ../build-support/fetchurl { ··· 392 368 # linked curl in the case of stdenv-linux). 393 369 fetchurlBoot = stdenv.fetchurlBoot; 394 370 395 - fetchzip = import ../build-support/fetchzip { inherit lib fetchurl unzip; }; 371 + fetchzip = callPackage ../build-support/fetchzip { }; 396 372 397 373 fetchFromGitHub = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip { 398 374 inherit name sha256; ··· 434 410 meta.homepage = "http://repo.or.cz/${repo}.git/"; 435 411 }; 436 412 437 - fetchNuGet = import ../build-support/fetchnuget { inherit stdenv fetchurl buildDotnetPackage unzip; }; 438 - buildDotnetPackage = import ../build-support/build-dotnet-package { inherit stdenv lib makeWrapper mono pkgconfig dotnetbuildhelpers; }; 413 + fetchNuGet = callPackage ../build-support/fetchnuget { }; 414 + buildDotnetPackage = callPackage ../build-support/build-dotnet-package { }; 439 415 440 416 resolveMirrorURLs = {url}: fetchurl { 441 417 showURLs = true; ··· 444 420 445 421 libredirect = callPackage ../build-support/libredirect { }; 446 422 447 - makeDesktopItem = import ../build-support/make-desktopitem { 448 - inherit stdenv; 449 - }; 423 + makeDesktopItem = callPackage ../build-support/make-desktopitem { }; 450 424 451 - makeAutostartItem = import ../build-support/make-startupitem { 452 - inherit stdenv; 453 - inherit lib; 454 - }; 425 + makeAutostartItem = callPackage ../build-support/make-startupitem { }; 455 426 456 427 makeInitrd = { contents, compressor ? "gzip -9n", prepend ? [ ] }: 457 - import ../build-support/kernel/make-initrd.nix { 458 - inherit stdenv perl perlArchiveCpio cpio contents ubootChooser compressor prepend; 459 - }; 428 + callPackage ../build-support/kernel/make-initrd.nix { }; 460 429 461 430 makeWrapper = makeSetupHook { } ../build-support/setup-hooks/make-wrapper.sh; 462 431 463 432 makeModulesClosure = { kernel, rootModules, allowMissing ? false }: 464 - import ../build-support/kernel/modules-closure.nix { 465 - inherit stdenv kmod kernel nukeReferences rootModules allowMissing; 433 + callPackage ../build-support/kernel/modules-closure.nix { 434 + inherit kernel rootModules allowMissing; 466 435 }; 467 436 468 437 pathsFromGraph = ../build-support/kernel/paths-from-graph.pl; 469 438 470 - srcOnly = args: (import ../build-support/src-only) ({inherit stdenv; } // args); 439 + srcOnly = args: callPackage ../build-support/src-only args; 471 440 472 - substituteAll = import ../build-support/substitute/substitute-all.nix { 473 - inherit stdenv; 474 - }; 441 + substituteAll = callPackage ../build-support/substitute/substitute-all.nix { }; 475 442 476 - substituteAllFiles = import ../build-support/substitute-files/substitute-all-files.nix { 477 - inherit stdenv; 478 - }; 443 + substituteAllFiles = callPackage ../build-support/substitute-files/substitute-all-files.nix { }; 479 444 480 - replaceDependency = import ../build-support/replace-dependency.nix { 481 - inherit runCommand nix lib; 482 - }; 445 + replaceDependency = callPackage ../build-support/replace-dependency.nix { }; 483 446 484 447 nukeReferences = callPackage ../build-support/nuke-references/default.nix { }; 485 448 486 - vmTools = import ../build-support/vm/default.nix { 487 - inherit pkgs; 488 - }; 449 + vmTools = callPackage ../build-support/vm/default.nix { }; 489 450 490 - releaseTools = import ../build-support/release/default.nix { 491 - inherit pkgs; 492 - }; 451 + releaseTools = callPackage ../build-support/release/default.nix { }; 493 452 494 - composableDerivation = (import ../../lib/composable-derivation.nix) { 495 - inherit pkgs lib; 496 - }; 453 + composableDerivation = callPackage ../../lib/composable-derivation.nix { }; 497 454 498 455 platforms = import ./platforms.nix; 499 456 ··· 605 562 606 563 arp-scan = callPackage ../tools/misc/arp-scan { }; 607 564 608 - artyFX = callPackage ../applications/audio/artyFX { 609 - inherit (xlibs) libpthreadstubs; 610 - }; 565 + artyFX = callPackage ../applications/audio/artyFX {}; 611 566 612 567 ascii = callPackage ../tools/text/ascii { }; 613 568 ··· 645 600 client = true; 646 601 }); 647 602 648 - androidenv = import ../development/mobile/androidenv { 649 - inherit pkgs; 603 + androidenv = callPackage ../development/mobile/androidenv { 650 604 pkgs_i686 = pkgsi686Linux; 651 605 }; 652 606 ··· 672 626 xcodeenv = callPackage ../development/mobile/xcodeenv { }; 673 627 674 628 titaniumenv = callPackage ../development/mobile/titaniumenv { 675 - inherit pkgs; 676 629 pkgs_i686 = pkgsi686Linux; 677 630 }; 678 631 ··· 689 642 690 643 autojump = callPackage ../tools/misc/autojump { }; 691 644 692 - autorandr = callPackage ../tools/misc/autorandr { 693 - inherit (xorg) xrandr xdpyinfo; 694 - }; 645 + autorandr = callPackage ../tools/misc/autorandr {}; 695 646 696 647 avahi = callPackage ../development/libraries/avahi { 697 648 qt4Support = config.avahi.qt4Support or false; ··· 1011 962 inherit (pythonPackages) notify; 1012 963 }; 1013 964 1014 - bmrsa = builderDefsPackage (import ../tools/security/bmrsa/11.nix) { 1015 - inherit unzip; 1016 - }; 965 + bmrsa = builderDefsPackage (callPackage ../tools/security/bmrsa/11.nix) { }; 1017 966 1018 967 bogofilter = callPackage ../tools/misc/bogofilter { }; 1019 968 ··· 1074 1023 ceph-dev = lowPrio (callPackage ../tools/filesystems/ceph/dev.nix { }); 1075 1024 ceph-git = lowPrio (callPackage ../tools/filesystems/ceph/git.nix { }); 1076 1025 1077 - cfdg = builderDefsPackage ../tools/graphics/cfdg { 1078 - inherit libpng bison flex ffmpeg; 1079 - }; 1026 + cfdg = builderDefsPackage (callPackage ../tools/graphics/cfdg) {}; 1080 1027 1081 1028 checkinstall = callPackage ../tools/package-management/checkinstall { }; 1082 1029 ··· 1199 1146 1200 1147 cron = callPackage ../tools/system/cron { }; 1201 1148 1202 - cudatoolkit5 = import ../development/compilers/cudatoolkit/5.5.nix { 1203 - inherit callPackage; 1149 + cudatoolkit5 = callPackage ../development/compilers/cudatoolkit/5.5.nix { 1204 1150 python = python26; 1205 1151 }; 1206 1152 1207 - cudatoolkit6 = import ../development/compilers/cudatoolkit/6.0.nix { 1208 - inherit callPackage; 1153 + cudatoolkit6 = callPackage ../development/compilers/cudatoolkit/6.0.nix { 1209 1154 python = python26; 1210 1155 }; 1211 1156 1212 - cudatoolkit65 = import ../development/compilers/cudatoolkit/6.5.nix { 1213 - inherit callPackage; 1214 - }; 1157 + cudatoolkit65 = callPackage ../development/compilers/cudatoolkit/6.5.nix { }; 1215 1158 1216 - cudatoolkit7 = import ../development/compilers/cudatoolkit/7.0.nix { 1217 - inherit callPackage; 1218 - }; 1159 + cudatoolkit7 = callPackage ../development/compilers/cudatoolkit/7.0.nix { }; 1219 1160 1220 1161 cudatoolkit = cudatoolkit7; 1221 1162 ··· 1323 1264 1324 1265 dir2opus = callPackage ../tools/audio/dir2opus { 1325 1266 inherit (pythonPackages) mutagen python wrapPython; 1326 - inherit opusTools; 1327 1267 }; 1328 1268 1329 1269 wgetpaste = callPackage ../tools/text/wgetpaste { }; ··· 1396 1336 1397 1337 ecryptfs = callPackage ../tools/security/ecryptfs { }; 1398 1338 1399 - editres = callPackage ../tools/graphics/editres { 1400 - inherit (xlibs) libXt libXaw; 1401 - inherit (xorg) utilmacros; 1402 - }; 1339 + editres = callPackage ../tools/graphics/editres { }; 1403 1340 1404 1341 edk2 = callPackage ../development/compilers/edk2 { }; 1405 1342 ··· 1655 1592 1656 1593 gnaural = callPackage ../applications/audio/gnaural { }; 1657 1594 1658 - gnokii = builderDefsPackage (import ../tools/misc/gnokii) { 1659 - inherit intltool perl gettext libusb pkgconfig bluez readline pcsclite 1660 - libical gtk glib; 1661 - inherit (xorg) libXpm; 1662 - }; 1595 + gnokii = builderDefsPackage (callPackage ../tools/misc/gnokii) { }; 1663 1596 1664 1597 gnuapl = callPackage ../development/interpreters/gnu-apl { }; 1665 1598 ··· 1821 1754 1822 1755 gupnptools = callPackage ../tools/networking/gupnp-tools {}; 1823 1756 1824 - gvpe = builderDefsPackage ../tools/networking/gvpe { 1825 - inherit openssl gmp nettools iproute zlib; 1826 - }; 1757 + gvpe = builderDefsPackage (callPackage ../tools/networking/gvpe) {}; 1827 1758 1828 1759 gvolicon = callPackage ../tools/audio/gvolicon {}; 1829 1760 ··· 2301 2232 2302 2233 mscgen = callPackage ../tools/graphics/mscgen { }; 2303 2234 2304 - msf = builderDefsPackage (import ../tools/security/metasploit/3.1.nix) { 2305 - inherit ruby makeWrapper; 2306 - }; 2235 + msf = builderDefsPackage (callPackage ../tools/security/metasploit/3.1.nix) { }; 2307 2236 2308 2237 mssys = callPackage ../tools/misc/mssys { }; 2309 2238 ··· 2393 2322 2394 2323 newsbeuter-dev = callPackage ../applications/networking/feedreaders/newsbeuter/dev.nix { }; 2395 2324 2396 - ngrep = callPackage ../tools/networking/ngrep { 2397 - inherit gnumake3; 2398 - }; 2325 + ngrep = callPackage ../tools/networking/ngrep { }; 2399 2326 2400 2327 ngrok = goPackages.ngrok.bin // { outputs = [ "bin" ]; }; 2401 2328 ··· 2410 2337 pnmixer = callPackage ../tools/audio/pnmixer { }; 2411 2338 2412 2339 pwsafe = callPackage ../applications/misc/pwsafe { 2413 - inherit (xlibs) libXt libXtst libXi xextproto; 2414 2340 wxGTK = wxGTK30; 2415 2341 }; 2416 2342 ··· 2785 2711 2786 2712 pythonDBus = dbus_python; 2787 2713 2788 - pythonIRClib = builderDefsPackage (import ../development/python-modules/irclib) { 2789 - inherit python; 2790 - }; 2714 + pythonIRClib = builderDefsPackage (callPackage ../development/python-modules/irclib) { }; 2791 2715 2792 - pythonSexy = builderDefsPackage (import ../development/python-modules/libsexy) { 2793 - inherit python libsexy pkgconfig libxml2 pygtk pango gtk glib; 2794 - }; 2716 + pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { }; 2795 2717 2796 2718 pytrainer = callPackage ../applications/misc/pytrainer { }; 2797 2719 ··· 2913 2835 2914 2836 rosegarden = callPackage ../applications/audio/rosegarden { }; 2915 2837 2916 - rpPPPoE = builderDefsPackage (import ../tools/networking/rp-pppoe) { 2917 - inherit ppp; 2918 - }; 2838 + rpPPPoE = builderDefsPackage (callPackage ../tools/networking/rp-pppoe) { }; 2919 2839 2920 2840 rpm = callPackage ../tools/package-management/rpm { }; 2921 2841 ··· 2985 2905 2986 2906 seccure = callPackage ../tools/security/seccure { }; 2987 2907 2988 - setserial = builderDefsPackage (import ../tools/system/setserial) { 2989 - inherit groff; 2990 - }; 2908 + setserial = builderDefsPackage (callPackage ../tools/system/setserial) { }; 2991 2909 2992 2910 seqdiag = pythonPackages.seqdiag; 2993 2911 ··· 3312 3230 3313 3231 vidalia = callPackage ../tools/security/vidalia { }; 3314 3232 3315 - vbetool = builderDefsPackage ../tools/system/vbetool { 3316 - inherit pciutils libx86 zlib; 3317 - }; 3233 + vbetool = builderDefsPackage (callPackage ../tools/system/vbetool) { }; 3318 3234 3319 3235 vde2 = callPackage ../tools/networking/vde2 { }; 3320 3236 ··· 3337 3253 3338 3254 vnc2flv = callPackage ../tools/video/vnc2flv {}; 3339 3255 3340 - vncrec = builderDefsPackage ../tools/video/vncrec { 3341 - inherit (xlibs) imake libX11 xproto gccmakedep libXt 3342 - libXmu libXaw libXext xextproto libSM libICE libXpm 3343 - libXp; 3344 - }; 3256 + vncrec = builderDefsPackage (callPackage ../tools/video/vncrec) {}; 3345 3257 3346 3258 vobcopy = callPackage ../tools/cd-dvd/vobcopy { }; 3347 3259 ··· 3397 3309 tigervnc = callPackage ../tools/admin/tigervnc { 3398 3310 fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc 3399 3311 xorg.fontbhlucidatypewriter75dpi ]; 3400 - inherit (xorg) xorgserver; 3401 3312 fltk = fltk13; 3402 3313 }; 3403 3314 ··· 3412 3323 3413 3324 qfsm = callPackage ../applications/science/electronics/qfsm { }; 3414 3325 3415 - tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { 3416 - inherit (xlibs) libX11 imake xproto gccmakedep; 3417 - }; 3326 + tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { }; 3418 3327 3419 3328 # The newer package is low-priority because it segfaults at startup. 3420 - tkgate2 = lowPrio (callPackage ../applications/science/electronics/tkgate/2.x.nix { 3421 - inherit (xlibs) libX11; 3422 - }); 3329 + tkgate2 = lowPrio (callPackage ../applications/science/electronics/tkgate/2.x.nix { }); 3423 3330 3424 3331 tm = callPackage ../tools/system/tm { }; 3425 3332 ··· 3510 3417 3511 3418 webalizer = callPackage ../tools/networking/webalizer { }; 3512 3419 3513 - webdruid = builderDefsPackage ../tools/admin/webdruid { 3514 - inherit zlib libpng freetype gd which 3515 - libxml2 geoip; 3516 - }; 3420 + webdruid = builderDefsPackage (callPackage ../tools/admin/webdruid) {}; 3517 3421 3518 3422 weighttp = callPackage ../tools/networking/weighttp { }; 3519 3423 ··· 3529 3433 3530 3434 wkhtmltopdf = callPackage ../tools/graphics/wkhtmltopdf { 3531 3435 overrideDerivation = lib.overrideDerivation; 3532 - inherit (xlibs) libX11 libXext libXrender; 3533 3436 }; 3534 3437 3535 3438 wml = callPackage ../development/web/wml { }; ··· 3548 3451 3549 3452 x11_ssh_askpass = callPackage ../tools/networking/x11-ssh-askpass { }; 3550 3453 3551 - xbursttools = assert stdenv ? glibc; import ../tools/misc/xburst-tools { 3552 - inherit stdenv fetchgit autoconf automake confuse pkgconfig libusb libusb1; 3454 + xbursttools = assert stdenv ? glibc; callPackage ../tools/misc/xburst-tools { 3553 3455 # It needs a cross compiler for mipsel to build the firmware it will 3554 3456 # load into the Ben Nanonote 3555 3457 gccCross = ··· 3606 3508 3607 3509 xmltv = callPackage ../tools/misc/xmltv { }; 3608 3510 3609 - xmpppy = builderDefsPackage (import ../development/python-modules/xmpppy) { 3610 - inherit python setuptools; 3611 - }; 3511 + xmpppy = builderDefsPackage (callPackage ../development/python-modules/xmpppy) {}; 3612 3512 3613 3513 xorriso = callPackage ../tools/cd-dvd/xorriso { }; 3614 3514 ··· 3624 3524 3625 3525 xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; }; 3626 3526 3627 - xvkbd = callPackage ../tools/X11/xvkbd { 3628 - inherit (xlibs) libXt libXaw libXtst xextproto libXi libXpm gccmakedep; 3629 - }; 3527 + xvkbd = callPackage ../tools/X11/xvkbd {}; 3630 3528 3631 3529 xwinmosaic = callPackage ../tools/X11/xwinmosaic {}; 3632 3530 ··· 3702 3600 abcPatchable []; 3703 3601 3704 3602 abcPatchable = patches : 3705 - import ../development/compilers/abc/default.nix { 3706 - inherit stdenv fetchurl patches jre apacheAnt; 3603 + callPackage ../development/compilers/abc/default.nix { 3604 + inherit patches; 3707 3605 javaCup = callPackage ../development/libraries/java/cup { }; 3708 3606 }; 3709 3607 ··· 3749 3647 llvmPackages = llvmPackages_34; 3750 3648 }; 3751 3649 3752 - clangUnwrapped = llvm: pkg: callPackage pkg { 3753 - inherit stdenv llvm; 3754 - }; 3650 + clangUnwrapped = llvm: pkg: callPackage pkg { inherit llvm; }; 3755 3651 3756 3652 clangSelf = clangWrapSelf llvmPackagesSelf.clang; 3757 3653 3758 - clangWrapSelf = build: (import ../build-support/cc-wrapper) { 3654 + clangWrapSelf = build: callPackage ../build-support/cc-wrapper { 3759 3655 cc = build; 3760 3656 isClang = true; 3761 3657 stdenv = clangStdenv; 3762 3658 libc = glibc; 3763 - binutils = binutils; 3764 - inherit coreutils zlib; 3765 3659 extraPackages = [ libcxx libcxxabi ]; 3766 3660 nativeTools = false; 3767 3661 nativeLibc = false; ··· 3808 3702 extraBuildCommands = '' 3809 3703 echo "dontMoveLib64=1" >> $out/nix-support/setup-hook 3810 3704 ''; 3811 - in wrapCCWith (import ../build-support/cc-wrapper) glibc_multi extraBuildCommands (gcc.cc.override { 3812 - stdenv = overrideCC stdenv (wrapCCWith (import ../build-support/cc-wrapper) glibc_multi "" gcc.cc); 3705 + in wrapCCWith (callPackage ../build-support/cc-wrapper) glibc_multi extraBuildCommands (gcc.cc.override { 3706 + stdenv = overrideCC stdenv (wrapCCWith (callPackage ../build-support/cc-wrapper) glibc_multi "" gcc.cc); 3813 3707 profiledCompiler = false; 3814 3708 enableMultilib = true; 3815 3709 })) ··· 3869 3763 })); 3870 3764 3871 3765 gcc45 = lowPrio (wrapCC (callPackage ../development/compilers/gcc/4.5 { 3872 - inherit fetchurl stdenv gmp mpfr libmpc libelf zlib perl 3873 - gettext which noSysDirs; 3766 + inherit noSysDirs; 3874 3767 texinfo = texinfo4; 3875 3768 3876 3769 ppl = null; ··· 4001 3894 ppl = null; 4002 3895 }); 4003 3896 4004 - gnatboot = wrapGCC-old (import ../development/compilers/gnatboot { 4005 - inherit fetchurl stdenv; 4006 - }); 3897 + gnatboot = wrapGCC-old (callPackage ../development/compilers/gnatboot {}); 4007 3898 4008 3899 gnu-smalltalk = callPackage ../development/compilers/gnu-smalltalk { 4009 3900 emacsSupport = config.emacsSupport or false; ··· 4039 3930 4040 3931 ghdl_mcode = callPackage ../development/compilers/ghdl { }; 4041 3932 4042 - gcl = builderDefsPackage ../development/compilers/gcl { 4043 - inherit mpfr m4 binutils fetchcvs emacs zlib which 4044 - texinfo; 3933 + gcl = builderDefsPackage (callPackage ../development/compilers/gcl) { 4045 3934 gmp = gmp4; 4046 - inherit (xlibs) libX11 xproto inputproto libXi 4047 - libXext xextproto libXt libXaw libXmu; 4048 - inherit stdenv; 4049 3935 texLive = texLiveAggregationFun { 4050 3936 paths = [ 4051 3937 texLive texLiveExtra ··· 4094 3980 4095 3981 fsharp = callPackage ../development/compilers/fsharp {}; 4096 3982 4097 - dotnetPackages = recurseIntoAttrs (callPackage ./dotnet-packages.nix { inherit stdenv fetchNuGet; }); 3983 + dotnetPackages = recurseIntoAttrs (callPackage ./dotnet-packages.nix {}); 4098 3984 4099 3985 go_1_4 = callPackage ../development/compilers/go/1.4.nix { 4100 3986 inherit (darwin.apple_sdk.frameworks) Security; ··· 4265 4151 4266 4152 mlton = callPackage ../development/compilers/mlton { }; 4267 4153 4268 - mono = callPackage ../development/compilers/mono { 4269 - inherit (xlibs) libX11; 4270 - }; 4154 + mono = callPackage ../development/compilers/mono {}; 4271 4155 4272 4156 monoDLLFixer = callPackage ../build-support/mono-dll-fixer { }; 4273 4157 ··· 4577 4461 4578 4462 ocaml_optcomp = callPackage ../development/ocaml-modules/optcomp { }; 4579 4463 4580 - ocaml_pcre = callPackage ../development/ocaml-modules/pcre { 4581 - inherit pcre; 4582 - }; 4464 + ocaml_pcre = callPackage ../development/ocaml-modules/pcre {}; 4583 4465 4584 4466 pgocaml = callPackage ../development/ocaml-modules/pgocaml {}; 4585 4467 ··· 4865 4747 nativeLibc = stdenv.cc.nativeLibc or false; 4866 4748 nativePrefix = stdenv.cc.nativePrefix or ""; 4867 4749 cc = baseCC; 4868 - libc = libc; 4869 4750 dyld = if stdenv.isDarwin then darwin.dyld else null; 4870 4751 isGNU = baseCC.isGNU or false; 4871 4752 isClang = baseCC.isClang or false; 4872 - inherit stdenv binutils coreutils zlib extraBuildCommands; 4753 + inherit libc extraBuildCommands; 4873 4754 }; 4874 4755 4875 - wrapCC = wrapCCWith (makeOverridable (import ../build-support/cc-wrapper)) stdenv.cc.libc ""; 4756 + wrapCC = wrapCCWith (callPackage ../build-support/cc-wrapper) stdenv.cc.libc ""; 4876 4757 # legacy version, used for gnat bootstrapping 4877 - wrapGCC-old = baseGCC: (makeOverridable (import ../build-support/gcc-wrapper-old)) { 4758 + wrapGCC-old = baseGCC: callPackage ../build-support/gcc-wrapper-old { 4878 4759 nativeTools = stdenv.cc.nativeTools or false; 4879 4760 nativeLibc = stdenv.cc.nativeLibc or false; 4880 4761 nativePrefix = stdenv.cc.nativePrefix or ""; 4881 4762 gcc = baseGCC; 4882 4763 libc = glibc; 4883 - inherit stdenv binutils coreutils zlib; 4884 4764 }; 4885 4765 4886 4766 wrapGCCCross = 4887 4767 {gcc, libc, binutils, cross, shell ? "", name ? "gcc-cross-wrapper"}: 4888 4768 4889 - forceNativeDrv (import ../build-support/gcc-cross-wrapper { 4769 + forceNativeDrv (callPackage ../build-support/gcc-cross-wrapper { 4890 4770 nativeTools = false; 4891 4771 nativeLibc = false; 4892 4772 noLibc = (libc == null); 4893 - inherit stdenv gcc binutils libc shell name cross; 4773 + inherit gcc binutils libc shell name cross; 4894 4774 }); 4895 4775 4896 4776 # prolog ··· 4901 4781 4902 4782 ### DEVELOPMENT / INTERPRETERS 4903 4783 4904 - acl2 = builderDefsPackage ../development/interpreters/acl2 { 4784 + acl2 = builderDefsPackage (callPackage ../development/interpreters/acl2) { 4905 4785 sbcl = sbcl_1_2_0; 4906 4786 }; 4907 4787 ··· 5071 4951 5072 4952 php = php56; 5073 4953 5074 - phpPackages = recurseIntoAttrs (import ./php-packages.nix { 5075 - inherit php pkgs; 5076 - }); 4954 + phpPackages = recurseIntoAttrs (callPackage ./php-packages.nix {}); 5077 4955 5078 - php55Packages = recurseIntoAttrs (import ./php-packages.nix { 5079 - inherit pkgs; 4956 + php55Packages = recurseIntoAttrs (callPackage ./php-packages.nix { 5080 4957 php = php55; 5081 4958 }); 5082 4959 ··· 5097 4974 pure = callPackage ../development/interpreters/pure { 5098 4975 llvm = llvm_35; 5099 4976 }; 5100 - purePackages = recurseIntoAttrs (import ./pure-packages.nix { 5101 - inherit callPackage; 5102 - }); 4977 + purePackages = recurseIntoAttrs (callPackage ./pure-packages.nix {}); 5103 4978 5104 4979 python = python2; 5105 4980 python2 = python27; ··· 5144 5019 5145 5020 python2nix = callPackage ../tools/package-management/python2nix { }; 5146 5021 5147 - pythonDocs = recurseIntoAttrs (import ../development/interpreters/python/docs { 5148 - inherit stdenv fetchurl lib; 5149 - }); 5022 + pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/docs {}); 5150 5023 5151 5024 pypi2nix = python27Packages.pypi2nix; 5152 5025 ··· 5206 5079 ruby_2_1 = ruby_2_1_6; 5207 5080 ruby_2_2 = ruby_2_2_2; 5208 5081 5209 - rubygemsFun = ruby: builderDefsPackage (import ../development/interpreters/ruby/rubygems.nix) { 5210 - inherit ruby makeWrapper; 5082 + rubygemsFun = ruby: builderDefsPackage (callPackage ../development/interpreters/ruby/rubygems.nix) { 5083 + inherit ruby; 5211 5084 }; 5212 5085 rubygems = hiPrio (rubygemsFun ruby); 5213 5086 ··· 5273 5146 5274 5147 avr8burnomat = callPackage ../development/misc/avr8-burn-omat { }; 5275 5148 5276 - sourceFromHead = import ../build-support/source-from-head-fun.nix { 5277 - inherit config; 5278 - }; 5149 + sourceFromHead = callPackage ../build-support/source-from-head-fun.nix {}; 5279 5150 5280 5151 ecj = callPackage ../development/eclipse/ecj { }; 5281 5152 ··· 5308 5179 srecord = callPackage ../development/tools/misc/srecord { }; 5309 5180 5310 5181 windowssdk = ( 5311 - import ../development/misc/windows-sdk { 5312 - inherit fetchurl stdenv cabextract; 5313 - }); 5182 + callPackage ../development/misc/windows-sdk {}); 5314 5183 5315 5184 xidel = callPackage ../tools/text/xidel { }; 5316 5185 ··· 5471 5340 5472 5341 ctags = callPackage ../development/tools/misc/ctags { }; 5473 5342 5474 - ctagsWrapped = import ../development/tools/misc/ctags/wrapped.nix { 5475 - inherit pkgs ctags writeScriptBin; 5476 - }; 5343 + ctagsWrapped = callPackage ../development/tools/misc/ctags/wrapped.nix {}; 5477 5344 5478 5345 ctodo = callPackage ../applications/misc/ctodo { }; 5479 5346 ··· 5658 5525 5659 5526 inotify-tools = callPackage ../development/tools/misc/inotify-tools { }; 5660 5527 5661 - intel-gpu-tools = callPackage ../development/tools/misc/intel-gpu-tools { 5662 - inherit (xorg) libpciaccess dri2proto libX11 libXext libXv libXrandr; 5663 - }; 5528 + intel-gpu-tools = callPackage ../development/tools/misc/intel-gpu-tools {}; 5664 5529 5665 5530 ired = callPackage ../development/tools/analysis/radare/ired.nix { }; 5666 5531 ··· 5978 5843 5979 5844 aspell = callPackage ../development/libraries/aspell { }; 5980 5845 5981 - aspellDicts = recurseIntoAttrs (import ../development/libraries/aspell/dictionaries.nix { 5982 - inherit fetchurl stdenv aspell which; 5983 - }); 5846 + aspellDicts = recurseIntoAttrs (callPackages ../development/libraries/aspell/dictionaries.nix {}); 5984 5847 5985 5848 aterm = aterm25; 5986 5849 ··· 6064 5927 6065 5928 check = callPackage ../development/libraries/check { }; 6066 5929 6067 - chipmunk = callPackage ../development/libraries/chipmunk { 6068 - inherit (xlibs) libX11 xproto inputproto libXi libXmu; 6069 - }; 5930 + chipmunk = callPackage ../development/libraries/chipmunk {}; 6070 5931 6071 5932 chmlib = callPackage ../development/libraries/chmlib { }; 6072 5933 ··· 6198 6059 6199 6060 enginepkcs11 = callPackage ../development/libraries/enginepkcs11 { }; 6200 6061 6201 - epoxy = callPackage ../development/libraries/epoxy { 6202 - inherit (xorg) utilmacros libX11; 6203 - }; 6062 + epoxy = callPackage ../development/libraries/epoxy {}; 6204 6063 6205 6064 esdl = callPackage ../development/libraries/esdl { }; 6206 6065 ··· 6230 6089 6231 6090 fcgi = callPackage ../development/libraries/fcgi { }; 6232 6091 6233 - ffmpeg_0_10 = import ../development/libraries/ffmpeg/0.10.nix { inherit callPackage; }; 6234 - ffmpeg_1_2 = import ../development/libraries/ffmpeg/1.2.nix { inherit callPackage; }; 6235 - ffmpeg_2_2 = import ../development/libraries/ffmpeg/2.2.nix { inherit callPackage; }; 6236 - ffmpeg_2_6 = import ../development/libraries/ffmpeg/2.6.nix { inherit callPackage; }; 6237 - ffmpeg_2_7 = import ../development/libraries/ffmpeg/2.7.nix { inherit callPackage; }; 6092 + ffmpeg_0_10 = callPackage ../development/libraries/ffmpeg/0.10.nix { }; 6093 + ffmpeg_1_2 = callPackage ../development/libraries/ffmpeg/1.2.nix { }; 6094 + ffmpeg_2_2 = callPackage ../development/libraries/ffmpeg/2.2.nix { }; 6095 + ffmpeg_2_6 = callPackage ../development/libraries/ffmpeg/2.6.nix { }; 6096 + ffmpeg_2_7 = callPackage ../development/libraries/ffmpeg/2.7.nix { }; 6238 6097 # Aliases 6239 6098 ffmpeg_0 = ffmpeg_0_10; 6240 6099 ffmpeg_1 = ffmpeg_1_2; ··· 6298 6157 folly = callPackage ../development/libraries/folly { }; 6299 6158 6300 6159 makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}: 6301 - import ../development/libraries/fontconfig/make-fonts-conf.nix { 6302 - inherit runCommand libxslt fontconfig fontDirectories; 6303 - inherit (xorg) fontbhttf; 6160 + callPackage ../development/libraries/fontconfig/make-fonts-conf.nix { 6161 + inherit fontconfig fontDirectories; 6304 6162 }; 6305 6163 6306 6164 freealut = callPackage ../development/libraries/freealut { }; 6307 6165 6308 6166 freeglut = callPackage ../development/libraries/freeglut { }; 6309 6167 6310 - freenect = callPackage ../development/libraries/freenect { 6311 - inherit (xlibs) libXi libXmu; 6312 - }; 6168 + freenect = callPackage ../development/libraries/freenect { }; 6313 6169 6314 6170 freetype = callPackage ../development/libraries/freetype { }; 6315 6171 ··· 6418 6274 glibcInfo = callPackage ../development/libraries/glibc/info.nix { }; 6419 6275 6420 6276 glibc_multi = callPackage ../development/libraries/glibc/multi.nix { 6421 - inherit glibc; 6422 - glibc32 = (import ./all-packages.nix {system = "i686-linux";}).glibc; 6277 + glibc32 = pkgsi686Linux.glibc; 6423 6278 }; 6424 6279 6425 6280 glm = callPackage ../development/libraries/glm { }; ··· 6654 6509 6655 6510 hunspell = callPackage ../development/libraries/hunspell { }; 6656 6511 6657 - hunspellDicts = recurseIntoAttrs (import ../development/libraries/hunspell/dictionaries.nix { 6658 - inherit stdenv fetchurl unzip; 6659 - }); 6512 + hunspellDicts = recurseIntoAttrs (callPackages ../development/libraries/hunspell/dictionaries.nix {}); 6660 6513 6661 - hwloc = callPackage ../development/libraries/hwloc { 6662 - inherit (xlibs) libX11; 6663 - }; 6514 + hwloc = callPackage ../development/libraries/hwloc {}; 6664 6515 6665 6516 hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { }; 6666 6517 ··· 6701 6552 6702 6553 itk = callPackage ../development/libraries/itk { }; 6703 6554 6704 - jamp = builderDefsPackage ../games/jamp { 6705 - inherit mesa SDL SDL_image SDL_mixer; 6706 - }; 6555 + jamp = builderDefsPackage (callPackage ../games/jamp) {}; 6707 6556 6708 6557 jasper = callPackage ../development/libraries/jasper { }; 6709 6558 ··· 6771 6620 python = python2; 6772 6621 }; 6773 6622 6774 - lensfun = callPackage ../development/libraries/lensfun { 6775 - inherit gnumake3; 6776 - }; 6623 + lensfun = callPackage ../development/libraries/lensfun {}; 6777 6624 6778 6625 lesstif = callPackage ../development/libraries/lesstif { }; 6779 6626 ··· 6926 6773 6927 6774 libdnet = callPackage ../development/libraries/libdnet { }; 6928 6775 6929 - libdrm = callPackage ../development/libraries/libdrm { 6930 - inherit fetchurl stdenv pkgconfig; 6931 - inherit (xorg) libpthreadstubs; 6932 - }; 6776 + libdrm = callPackage ../development/libraries/libdrm { }; 6933 6777 6934 6778 libdv = callPackage ../development/libraries/libdv { }; 6935 6779 ··· 6963 6807 6964 6808 libfaketime = callPackage ../development/libraries/libfaketime { }; 6965 6809 6966 - libfakekey = callPackage ../development/libraries/libfakekey { 6967 - inherit (xlibs) libX11 libXi xextproto; 6968 - }; 6810 + libfakekey = callPackage ../development/libraries/libfakekey { }; 6969 6811 6970 6812 libfm = callPackage ../development/libraries/libfm { }; 6971 6813 libfm-extra = callPackage ../development/libraries/libfm { ··· 7574 7416 7575 7417 liquidfun = callPackage ../development/libraries/liquidfun { }; 7576 7418 7577 - liquidwar = builderDefsPackage ../games/liquidwar { 7578 - inherit (xlibs) xproto libX11 libXrender; 7579 - inherit gmp mesa libjpeg libpng 7580 - expat gettext perl 7581 - SDL SDL_image SDL_mixer SDL_ttf 7582 - curl sqlite 7583 - libogg libvorbis libcaca csound cunit 7584 - ; 7419 + liquidwar = builderDefsPackage (callPackage ../games/liquidwar) { 7585 7420 guile = guile_1_8; 7586 7421 }; 7587 7422 ··· 7764 7599 7765 7600 nvidia-texture-tools = callPackage ../development/libraries/nvidia-texture-tools { }; 7766 7601 7767 - ode = builderDefsPackage (import ../development/libraries/ode) { }; 7602 + ode = builderDefsPackage (callPackage ../development/libraries/ode) { }; 7768 7603 7769 7604 ogre = callPackage ../development/libraries/ogre {}; 7770 7605 ··· 7872 7707 7873 7708 pcl = callPackage ../development/libraries/pcl { 7874 7709 vtk = vtkWithQt4; 7875 - inherit (xorg) libXt; 7876 7710 }; 7877 7711 7878 7712 pcre = callPackage ../development/libraries/pcre { ··· 7915 7749 spidermonkey = spidermonkey_17; 7916 7750 }; 7917 7751 7918 - polkit_qt4 = callPackage ../development/libraries/polkit-qt-1 { 7919 - inherit qt4; 7920 - }; 7752 + polkit_qt4 = callPackage ../development/libraries/polkit-qt-1 { }; 7921 7753 7922 7754 polkit_qt5 = callPackage ../development/libraries/polkit-qt-1 { 7923 7755 withQt5 = true; 7924 - inherit qt5; 7925 7756 }; 7926 7757 7927 7758 policykit = callPackage ../development/libraries/policykit { }; ··· 7929 7760 poppler = callPackage ../development/libraries/poppler { lcms = lcms2; }; 7930 7761 7931 7762 poppler_qt4 = poppler.override { 7932 - inherit qt4; 7933 7763 qt4Support = true; 7934 7764 suffix = "qt4"; 7935 7765 }; 7936 7766 7937 7767 poppler_qt5 = poppler.override { 7938 7768 qt5Support = true; 7939 - inherit qt5; 7940 7769 suffix = "qt5"; 7941 7770 }; 7942 7771 ··· 8226 8055 8227 8056 spice = callPackage ../development/libraries/spice { 8228 8057 celt = celt_0_5_1; 8229 - inherit (xlibs) libXrandr libXfixes libXext libXrender libXinerama; 8230 8058 inherit (pythonPackages) pyparsing; 8231 8059 }; 8232 8060 ··· 8356 8184 8357 8185 unixODBC = callPackage ../development/libraries/unixODBC { }; 8358 8186 8359 - unixODBCDrivers = recurseIntoAttrs (import ../development/libraries/unixODBCDrivers { 8360 - inherit fetchurl stdenv unixODBC glibc libtool openssl zlib; 8361 - inherit postgresql mysql sqlite; 8362 - }); 8187 + unixODBCDrivers = recurseIntoAttrs (callPackages ../development/libraries/unixODBCDrivers {}); 8363 8188 8364 8189 urt = callPackage ../development/libraries/urt { }; 8365 8190 ··· 8436 8261 8437 8262 webkitgtk = callPackage ../development/libraries/webkitgtk { 8438 8263 harfbuzz = harfbuzz-icu; 8439 - inherit (xorg) libpthreadstubs; 8440 8264 gst-plugins-base = gst_all_1.gst-plugins-base; 8441 8265 }; 8442 8266 ··· 8542 8366 qt = qt4; 8543 8367 }; 8544 8368 8545 - zangband = builderDefsPackage (import ../games/zangband) { 8546 - inherit ncurses flex bison autoconf automake m4 coreutils; 8547 - }; 8369 + zangband = builderDefsPackage (callPackage ../games/zangband) {}; 8548 8370 8549 8371 zeitgeist = callPackage ../development/libraries/zeitgeist { }; 8550 8372 ··· 8581 8403 glibcLocales = if pkgs.stdenv.isLinux then pkgs.glibcLocales else null; 8582 8404 extension = self : super : { }; 8583 8405 inherit (haskellPackages) Agda; 8584 - inherit writeScriptBin; 8585 8406 }; 8586 8407 8587 8408 agdaBase = callPackage ../development/libraries/agda/agda-base { }; ··· 8689 8510 8690 8511 go14Packages = recurseIntoAttrs (callPackage ./go-packages.nix { 8691 8512 go = go_1_4; 8692 - buildGoPackage = import ../development/go-modules/generic { 8513 + buildGoPackage = callPackage ../development/go-modules/generic { 8693 8514 go = go_1_4; 8694 8515 govers = go14Packages.govers.bin; 8695 - inherit parallel lib; 8696 8516 }; 8697 8517 overrides = (config.goPackageOverrides or (p: {})) pkgs; 8698 8518 }); 8699 8519 8700 8520 go15Packages = recurseIntoAttrs (callPackage ./go-packages.nix { 8701 8521 go = go_1_5; 8702 - buildGoPackage = import ../development/go-modules/generic { 8522 + buildGoPackage = callPackage ../development/go-modules/generic { 8703 8523 go = go_1_5; 8704 8524 govers = go15Packages.govers.bin; 8705 - inherit parallel lib; 8706 8525 }; 8707 8526 overrides = (config.goPackageOverrides or (p: {})) pkgs; 8708 8527 }); ··· 8730 8549 8731 8550 ### DEVELOPMENT / PERL MODULES 8732 8551 8733 - buildPerlPackage = import ../development/perl-modules/generic perl; 8552 + buildPerlPackage = callPackage ../development/perl-modules/generic perl; 8734 8553 8735 8554 perlPackages = recurseIntoAttrs (callPackage ./perl-packages.nix { 8736 - inherit pkgs; 8737 8555 overrides = (config.perlPackageOverrides or (p: {})) pkgs; 8738 8556 }); 8739 8557 ··· 8748 8566 planetary_annihilation = callPackage ../games/planetaryannihilation { }; 8749 8567 8750 8568 sqitchPg = callPackage ../development/tools/misc/sqitch { 8751 - inherit stdenv perl makeWrapper; 8752 8569 name = "sqitch-pg"; 8753 8570 databaseModule = perlPackages.DBDPg; 8754 8571 sqitchModule = perlPackages.AppSqitch; ··· 8865 8682 ### DEVELOPMENT / R MODULES 8866 8683 8867 8684 R = callPackage ../applications/science/math/R { 8868 - inherit (xlibs) libX11 libXt; 8869 8685 texLive = texLiveAggregationFun { paths = [ texLive texLiveExtra ]; }; 8870 8686 openblas = openblasCompat; 8871 8687 withRecommendedPackages = false; ··· 8963 8779 libmaa = callPackage ../servers/dict/libmaa.nix {}; 8964 8780 }; 8965 8781 8966 - dictdDBs = recurseIntoAttrs (import ../servers/dict/dictd-db.nix { 8967 - inherit builderDefs; 8968 - }); 8782 + dictdDBs = recurseIntoAttrs (callPackages ../servers/dict/dictd-db.nix {}); 8969 8783 8970 - dictDBCollector = import ../servers/dict/dictd-db-collector.nix { 8971 - inherit stdenv lib dict; 8972 - }; 8784 + dictDBCollector = callPackage ../servers/dict/dictd-db-collector.nix {}; 8973 8785 8974 8786 dictdWiktionary = callPackage ../servers/dict/dictd-wiktionary.nix {}; 8975 8787 ··· 9174 8986 9175 8987 hyperdex = callPackage ../servers/nosql/hyperdex { }; 9176 8988 9177 - mysql51 = import ../servers/sql/mysql/5.1.x.nix { 9178 - inherit fetchurl ncurses zlib perl openssl stdenv; 8989 + mysql51 = callPackage ../servers/sql/mysql/5.1.x.nix { 9179 8990 ps = procps; /* !!! Linux only */ 9180 8991 }; 9181 8992 ··· 9252 9063 9253 9064 psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { }; 9254 9065 9255 - pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) { 9256 - inherit xmpppy pythonIRClib python makeWrapper; 9257 - }; 9066 + pyIRCt = builderDefsPackage (callPackage ../servers/xmpp/pyIRCt) {}; 9258 9067 9259 - pyMAILt = builderDefsPackage (import ../servers/xmpp/pyMAILt) { 9260 - inherit xmpppy python makeWrapper fetchcvs; 9261 - }; 9068 + pyMAILt = builderDefsPackage (callPackage ../servers/xmpp/pyMAILt) {}; 9262 9069 9263 9070 qpid-cpp = callPackage ../servers/amqp/qpid-cpp { }; 9264 9071 ··· 9342 9149 9343 9150 spawn_fcgi = callPackage ../servers/http/spawn-fcgi { }; 9344 9151 9345 - squids = recurseIntoAttrs( import ../servers/squid/squids.nix { 9346 - inherit fetchurl stdenv perl lib composableDerivation 9347 - openldap pam db cyrus_sasl kerberos libcap expat libxml2 libtool 9348 - openssl; 9349 - }); 9152 + squids = recurseIntoAttrs (callPackages ../servers/squid/squids.nix {}); 9350 9153 squid = squids.squid31; # has ipv6 support 9351 9154 9352 9155 sslh = callPackage ../servers/sslh { }; ··· 9392 9195 xquartz = callPackage ../servers/x11/xquartz { }; 9393 9196 quartz-wm = callPackage ../servers/x11/quartz-wm { stdenv = clangStdenv; }; 9394 9197 9395 - xorg = recurseIntoAttrs (import ../servers/x11/xorg/default.nix { 9396 - inherit clangStdenv fetchurl fetchgit fetchpatch stdenv pkgconfig intltool freetype fontconfig 9397 - libxslt expat libpng zlib perl mesa_drivers spice_protocol 9398 - dbus libuuid openssl gperf m4 libevdev tradcpp libinput mcpp makeWrapper autoreconfHook 9399 - autoconf automake libtool xmlto asciidoc flex bison python mtdev pixman; 9198 + xorg = recurseIntoAttrs (lib.callPackagesWith pkgs ../servers/x11/xorg/default.nix { 9400 9199 bootstrap_cmds = if stdenv.isDarwin then darwin.bootstrap_cmds else null; 9401 9200 mesa = mesa_noglu; 9402 9201 udev = if stdenv.isLinux then udev else null; ··· 9407 9206 9408 9207 xorgVideoUnichrome = callPackage ../servers/x11/xorg/unichrome/default.nix { }; 9409 9208 9410 - xwayland = with xorg; callPackage ../servers/x11/xorg/xwayland.nix { }; 9209 + xwayland = callPackage ../servers/x11/xorg/xwayland.nix { }; 9411 9210 9412 9211 yaws = callPackage ../servers/http/yaws { erlang = erlangR17; }; 9413 9212 9414 - zabbix = recurseIntoAttrs (import ../servers/monitoring/zabbix { 9415 - inherit fetchurl stdenv pkgconfig postgresql curl openssl zlib; 9416 - }); 9213 + zabbix = recurseIntoAttrs (callPackages ../servers/monitoring/zabbix {}); 9417 9214 9418 9215 zabbix20 = callPackage ../servers/monitoring/zabbix/2.0.nix { }; 9419 9216 zabbix22 = callPackage ../servers/monitoring/zabbix/2.2.nix { }; ··· 9525 9322 9526 9323 darwin = let 9527 9324 cmdline = callPackage ../os-specific/darwin/command-line-tools {}; 9528 - apple-source-releases = import ../os-specific/darwin/apple-source-releases { inherit stdenv fetchurl pkgs; }; 9325 + apple-source-releases = callPackage ../os-specific/darwin/apple-source-releases { }; 9529 9326 in apple-source-releases // rec { 9530 9327 cctools_cross = callPackage (forceNativeDrv (callPackage ../os-specific/darwin/cctools/port.nix {}).cross) { 9531 9328 cross = assert crossSystem != null; crossSystem; ··· 9576 9373 9577 9374 dietlibc = callPackage ../os-specific/linux/dietlibc { }; 9578 9375 9579 - directvnc = builderDefsPackage ../os-specific/linux/directvnc { 9580 - inherit libjpeg pkgconfig zlib directfb; 9581 - inherit (xlibs) xproto; 9582 - }; 9376 + directvnc = builderDefsPackage (callPackage ../os-specific/linux/directvnc) {}; 9583 9377 9584 9378 dmraid = callPackage ../os-specific/linux/dmraid { 9585 9379 devicemapper = devicemapper.override {enable_dmeventd = true;}; ··· 9730 9524 9731 9525 linuxHeaders = linuxHeaders_3_12; 9732 9526 9733 - linuxHeaders24Cross = forceNativeDrv (import ../os-specific/linux/kernel-headers/2.4.nix { 9734 - inherit stdenv fetchurl perl; 9527 + linuxHeaders24Cross = forceNativeDrv (callPackage ../os-specific/linux/kernel-headers/2.4.nix { 9735 9528 cross = assert crossSystem != null; crossSystem; 9736 9529 }); 9737 9530 9738 - linuxHeaders26Cross = forceNativeDrv (import ../os-specific/linux/kernel-headers/3.12.nix { 9739 - inherit stdenv fetchurl perl; 9531 + linuxHeaders26Cross = forceNativeDrv (callPackage ../os-specific/linux/kernel-headers/3.12.nix { 9740 9532 cross = assert crossSystem != null; crossSystem; 9741 9533 }); 9742 9534 ··· 9754 9546 9755 9547 kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { }; 9756 9548 9757 - linux_rpi = makeOverridable (import ../os-specific/linux/kernel/linux-rpi.nix) { 9758 - inherit fetchurl stdenv perl buildLinux; 9549 + linux_rpi = callPackage ../os-specific/linux/kernel/linux-rpi.nix { 9759 9550 kernelPatches = [ kernelPatches.bridge_stp_helper ]; 9760 9551 }; 9761 9552 9762 - linux_3_10 = makeOverridable (import ../os-specific/linux/kernel/linux-3.10.nix) { 9763 - inherit fetchurl stdenv perl buildLinux; 9553 + linux_3_10 = callPackage ../os-specific/linux/kernel/linux-3.10.nix { 9764 9554 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9765 9555 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9766 9556 [ kernelPatches.mips_fpureg_emu ··· 9769 9559 ]; 9770 9560 }; 9771 9561 9772 - linux_3_12 = makeOverridable (import ../os-specific/linux/kernel/linux-3.12.nix) { 9773 - inherit fetchurl stdenv perl buildLinux; 9562 + linux_3_12 = callPackage ../os-specific/linux/kernel/linux-3.12.nix { 9774 9563 kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.crc_regression ] 9775 9564 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9776 9565 [ kernelPatches.mips_fpureg_emu ··· 9779 9568 ]; 9780 9569 }; 9781 9570 9782 - linux_3_14 = makeOverridable (import ../os-specific/linux/kernel/linux-3.14.nix) { 9783 - inherit fetchurl stdenv perl buildLinux; 9571 + linux_3_14 = callPackage ../os-specific/linux/kernel/linux-3.14.nix { 9784 9572 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9785 9573 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9786 9574 [ kernelPatches.mips_fpureg_emu ··· 9789 9577 ]; 9790 9578 }; 9791 9579 9792 - linux_3_18 = makeOverridable (import ../os-specific/linux/kernel/linux-3.18.nix) { 9793 - inherit fetchurl stdenv perl buildLinux; 9580 + linux_3_18 = callPackage ../os-specific/linux/kernel/linux-3.18.nix { 9794 9581 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9795 9582 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9796 9583 [ kernelPatches.mips_fpureg_emu ··· 9799 9586 ]; 9800 9587 }; 9801 9588 9802 - linux_4_1 = makeOverridable (import ../os-specific/linux/kernel/linux-4.1.nix) { 9803 - inherit fetchurl stdenv perl buildLinux; 9589 + linux_4_1 = callPackage ../os-specific/linux/kernel/linux-4.1.nix { 9804 9590 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9805 9591 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9806 9592 [ kernelPatches.mips_fpureg_emu ··· 9809 9595 ]; 9810 9596 }; 9811 9597 9812 - linux_4_2 = makeOverridable (import ../os-specific/linux/kernel/linux-4.2.nix) { 9813 - inherit fetchurl stdenv perl buildLinux; 9598 + linux_4_2 = callPackage ../os-specific/linux/kernel/linux-4.2.nix { 9814 9599 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9815 9600 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9816 9601 [ kernelPatches.mips_fpureg_emu ··· 9819 9604 ]; 9820 9605 }; 9821 9606 9822 - linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) { 9823 - inherit fetchurl stdenv perl buildLinux; 9607 + linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix { 9824 9608 kernelPatches = [ kernelPatches.bridge_stp_helper ] 9825 9609 ++ lib.optionals ((platform.kernelArch or null) == "mips") 9826 9610 [ kernelPatches.mips_fpureg_emu ··· 9845 9629 grFlavors = import ../build-support/grsecurity/flavors.nix; 9846 9630 9847 9631 mkGrsecurity = opts: 9848 - (import ../build-support/grsecurity { 9632 + (callPackage ../build-support/grsecurity { 9849 9633 grsecOptions = opts; 9850 - inherit pkgs lib; 9851 9634 }); 9852 9635 9853 9636 grKernel = opts: (mkGrsecurity opts).grsecKernel; ··· 10021 9804 10022 9805 # A function to build a manually-configured kernel 10023 9806 linuxManualConfig = pkgs.buildLinux; 10024 - buildLinux = import ../os-specific/linux/kernel/manual-config.nix { 10025 - inherit (pkgs) stdenv runCommand nettools bc perl kmod writeTextFile ubootChooser; 10026 - }; 9807 + buildLinux = callPackage ../os-specific/linux/kernel/manual-config.nix {}; 10027 9808 10028 9809 keyutils = callPackage ../os-specific/linux/keyutils { }; 10029 9810 ··· 10103 9884 numactl = callPackage ../os-specific/linux/numactl { }; 10104 9885 10105 9886 open-vm-tools = callPackage ../applications/virtualization/open-vm-tools { 10106 - inherit (xlibs) libXinerama libXi libXrender libXrandr libXtst; 10107 9887 inherit (gnome) gtk gtkmm; 10108 9888 }; 10109 9889 ··· 10326 10106 uclibc = callPackage ../os-specific/linux/uclibc { }; 10327 10107 10328 10108 uclibcCross = lowPrio (callPackage ../os-specific/linux/uclibc { 10329 - inherit fetchzip stdenv libiconvReal; 10330 10109 linuxHeaders = linuxHeadersCross; 10331 10110 gccCross = gccCrossStageStatic; 10332 10111 cross = assert crossSystem != null; crossSystem; ··· 10434 10213 10435 10214 xbomb = callPackage ../games/xbomb { }; 10436 10215 10437 - xf86_input_mtrack = callPackage ../os-specific/linux/xf86-input-mtrack { 10438 - inherit (xorg) utilmacros xproto inputproto xorgserver; 10439 - }; 10216 + xf86_input_mtrack = callPackage ../os-specific/linux/xf86-input-mtrack { }; 10440 10217 10441 10218 xf86_input_multitouch = 10442 10219 callPackage ../os-specific/linux/xf86-input-multitouch { }; 10443 10220 10444 10221 xf86_input_wacom = callPackage ../os-specific/linux/xf86-input-wacom { }; 10445 10222 10446 - xf86_video_nested = callPackage ../os-specific/linux/xf86-video-nested { 10447 - inherit (xorg) fontsproto renderproto utilmacros xorgserver; 10448 - }; 10223 + xf86_video_nested = callPackage ../os-specific/linux/xf86-video-nested { }; 10449 10224 10450 10225 xf86_video_nouveau = xorg.xf86videonouveau; 10451 10226 ··· 10474 10249 10475 10250 anonymousPro = callPackage ../data/fonts/anonymous-pro { }; 10476 10251 10477 - arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) { }; 10252 + arkpandora_ttf = builderDefsPackage (callPackage ../data/fonts/arkpandora) { }; 10478 10253 10479 10254 aurulent-sans = callPackage ../data/fonts/aurulent-sans { }; 10480 10255 ··· 10500 10275 10501 10276 corefonts = callPackage ../data/fonts/corefonts { }; 10502 10277 10503 - wrapFonts = paths : ((import ../data/fonts/fontWrap) { 10504 - inherit fetchurl stdenv builderDefs paths; 10505 - inherit (xorg) mkfontdir mkfontscale; 10506 - }); 10278 + wrapFonts = paths : (callPackage ../data/fonts/fontWrap { inherit paths; }); 10507 10279 10508 10280 clearlyU = callPackage ../data/fonts/clearlyU { }; 10509 10281 ··· 10593 10365 liberation_ttf_binary = callPackage ../data/fonts/redhat-liberation-fonts/binary.nix { }; 10594 10366 liberation_ttf = liberation_ttf_binary; 10595 10367 10596 - libertine = builderDefsPackage (import ../data/fonts/libertine) { 10597 - inherit fetchurl fontforge lib; 10598 - }; 10368 + libertine = builderDefsPackage (callPackage ../data/fonts/libertine) { }; 10599 10369 10600 10370 lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {}; 10601 10371 ··· 10687 10457 10688 10458 tango-icon-theme = callPackage ../data/icons/tango-icon-theme { }; 10689 10459 10690 - themes = name: import (../data/misc/themes + ("/" + name + ".nix")) { 10691 - inherit fetchurl; 10692 - }; 10460 + themes = name: callPackage (../data/misc/themes + ("/" + name + ".nix")) {}; 10693 10461 10694 10462 theano = callPackage ../data/fonts/theano { }; 10695 10463 ··· 10764 10532 aewan = callPackage ../applications/editors/aewan { }; 10765 10533 10766 10534 afterstep = callPackage ../applications/window-managers/afterstep { 10767 - inherit (xlibs) libX11 libXext libICE; 10768 10535 fltk = fltk13; 10769 10536 gtk = gtk2; 10770 10537 }; ··· 10941 10708 10942 10709 carddav-util = callPackage ../tools/networking/carddav-util { }; 10943 10710 10944 - carrier = builderDefsPackage (import ../applications/networking/instant-messengers/carrier/2.5.0.nix) { 10945 - inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 openssl nss 10946 - gtkspell aspell gettext ncurses avahi dbus dbus_glib python 10947 - libtool automake autoconf gstreamer; 10948 - inherit gtk glib; 10711 + carrier = builderDefsPackage (callPackage ../applications/networking/instant-messengers/carrier/2.5.0.nix) { 10949 10712 inherit (gnome) startupnotification GConf ; 10950 - inherit (xlibs) libXScrnSaver scrnsaverproto libX11 xproto kbproto; 10951 10713 }; 10952 10714 funpidgin = carrier; 10953 10715 ··· 11053 10815 11054 10816 csdp = callPackage ../applications/science/math/csdp { }; 11055 10817 11056 - cuneiform = builderDefsPackage (import ../tools/graphics/cuneiform) { 11057 - inherit cmake patchelf; 11058 - imagemagick = imagemagick; 11059 - }; 10818 + cuneiform = builderDefsPackage (callPackage ../tools/graphics/cuneiform) {}; 11060 10819 11061 10820 cutecom = callPackage ../tools/misc/cutecom { }; 11062 10821 ··· 11128 10887 11129 10888 dmtx = dmtx-utils; 11130 10889 11131 - dmtx-utils = callPackage (import ../tools/graphics/dmtx-utils) { 10890 + dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) { 11132 10891 }; 11133 10892 11134 10893 docker = callPackage ../applications/virtualization/docker { go = go_1_4; }; 11135 10894 11136 10895 doodle = callPackage ../applications/search/doodle { }; 11137 10896 11138 - drumgizmo = callPackage ../applications/audio/drumgizmo { inherit (xlibs) libX11; }; 10897 + drumgizmo = callPackage ../applications/audio/drumgizmo { }; 11139 10898 11140 10899 dunst = callPackage ../applications/misc/dunst { }; 11141 10900 ··· 11367 11126 11368 11127 emacs24Packages = recurseIntoAttrs (emacsPackagesGen emacs24 pkgs.emacs24Packages); 11369 11128 11370 - emacsPackagesNgGen = emacs: import ./emacs-packages.nix { 11129 + emacsPackagesNgGen = emacs: callPackage ./emacs-packages.nix { 11371 11130 overrides = (config.emacsPackageOverrides or (p: {})) pkgs; 11372 11131 11373 - inherit lib stdenv fetchurl fetchgit fetchFromGitHub fetchhg emacs; 11132 + inherit emacs; 11374 11133 11375 - trivialBuild = import ../build-support/emacs/trivial.nix { 11376 - inherit lib stdenv emacs texinfo; 11134 + trivialBuild = callPackage ../build-support/emacs/trivial.nix { 11135 + inherit emacs; 11377 11136 }; 11378 11137 11379 - melpaBuild = import ../build-support/emacs/melpa.nix { 11380 - inherit lib stdenv fetchurl emacs texinfo; 11138 + melpaBuild = callPackage ../build-support/emacs/melpa.nix { 11139 + inherit emacs; 11381 11140 }; 11382 11141 11383 11142 external = { ··· 11481 11240 11482 11241 gqrx = callPackage ../applications/misc/gqrx { }; 11483 11242 11484 - grass = import ../applications/misc/grass { 11485 - inherit (xlibs) libXmu libXext libXp libX11 libXt libSM libICE libXpm 11486 - libXaw libXrender; 11487 - inherit config composableDerivation stdenv fetchurl 11488 - lib flex bison cairo fontconfig 11489 - gdal zlib ncurses gdbm proj pkgconfig swig 11490 - blas liblapack libjpeg libpng mysql unixODBC mesa postgresql python 11491 - readline sqlite tcl tk libtiff freetype makeWrapper wxGTK; 11243 + grass = callPackage ../applications/misc/grass { 11492 11244 fftw = fftwSinglePrec; 11493 11245 ffmpeg = ffmpeg_0; 11494 11246 motif = lesstif; ··· 11545 11297 firefox-bin = callPackage ../applications/networking/browsers/firefox-bin { 11546 11298 gconf = pkgs.gnome.GConf; 11547 11299 inherit (pkgs.gnome) libgnome libgnomeui; 11548 - inherit (pkgs.xlibs) libX11 libXScrnSaver libXcomposite libXdamage libXext 11549 - libXfixes libXinerama libXrender libXt; 11550 11300 }; 11551 11301 11552 11302 firestr = callPackage ../applications/networking/p2p/firestr 11553 11303 { boost = boost155; 11554 - inherit (xlibs) libXScrnSaver; 11555 11304 }; 11556 11305 11557 11306 flac = callPackage ../applications/audio/flac { }; ··· 11564 11313 11565 11314 fme = callPackage ../applications/misc/fme { 11566 11315 inherit (gnome) libglademm; 11567 - inherit pkgconfig autoconf automake gettext; 11568 11316 }; 11569 11317 11570 11318 fomp = callPackage ../applications/audio/fomp { }; ··· 11613 11361 11614 11362 gimp = gimp_2_8; 11615 11363 11616 - gimpPlugins = recurseIntoAttrs (import ../applications/graphics/gimp/plugins { 11617 - inherit pkgs gimp; 11618 - }); 11364 + gimpPlugins = recurseIntoAttrs (callPackage ../applications/graphics/gimp/plugins {}); 11619 11365 11620 - gitAndTools = recurseIntoAttrs (import ../applications/version-management/git-and-tools { 11621 - inherit pkgs; 11622 - }); 11366 + gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {}); 11623 11367 11624 11368 inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar; 11625 11369 ··· 11658 11402 libart = pkgs.gnome2.libart_lgpl; 11659 11403 }; 11660 11404 11661 - idea = recurseIntoAttrs (callPackage ../applications/editors/idea { androidsdk = androidsdk_4_4; }); 11405 + idea = recurseIntoAttrs (callPackages ../applications/editors/idea { androidsdk = androidsdk_4_4; }); 11662 11406 11663 11407 libquvi = callPackage ../applications/video/quvi/library.nix { }; 11664 11408 ··· 11703 11447 11704 11448 gphoto2 = callPackage ../applications/misc/gphoto2 { }; 11705 11449 11706 - gphoto2fs = builderDefsPackage ../applications/misc/gphoto2/gphotofs.nix { 11707 - inherit libgphoto2 fuse pkgconfig glib libtool; 11708 - }; 11450 + gphoto2fs = builderDefsPackage (callPackage ../applications/misc/gphoto2/gphotofs.nix) {}; 11709 11451 11710 11452 gramps = callPackage ../applications/misc/gramps { }; 11711 11453 ··· 11725 11467 java = if stdenv.isLinux then jre else jdk; 11726 11468 }; 11727 11469 11728 - qrdecode = builderDefsPackage (import ../tools/graphics/qrdecode) { 11470 + qrdecode = builderDefsPackage (callPackage ../tools/graphics/qrdecode) { 11729 11471 libpng = libpng12; 11730 11472 opencv = opencv_2_1; 11731 11473 }; ··· 11743 11485 11744 11486 gqview = callPackage ../applications/graphics/gqview { }; 11745 11487 11746 - gmpc = callPackage ../applications/audio/gmpc { 11747 - inherit (xlibs) libSM libICE; 11748 - }; 11488 + gmpc = callPackage ../applications/audio/gmpc {}; 11749 11489 11750 11490 gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk { 11751 11491 inherit (gnome) GConf; ··· 11825 11565 }; 11826 11566 11827 11567 i3lock = callPackage ../applications/window-managers/i3/lock.nix { 11828 - inherit (xorg) libxkbfile; 11829 11568 cairo = cairo.override { xcbSupport = true; }; 11830 11569 }; 11831 11570 ··· 11835 11574 11836 11575 i810switch = callPackage ../os-specific/linux/i810switch { }; 11837 11576 11838 - icewm = callPackage ../applications/window-managers/icewm { 11839 - inherit (xlibs) libX11 libXft libXext libXinerama 11840 - libXrandr libICE libSM; 11841 - }; 11577 + icewm = callPackage ../applications/window-managers/icewm {}; 11842 11578 11843 11579 id3v2 = callPackage ../applications/audio/id3v2 { }; 11844 11580 ··· 12195 11931 lua = lua5; 12196 11932 }; 12197 11933 12198 - monotoneViz = builderDefsPackage (import ../applications/version-management/monotone-viz/mtn-head.nix) { 12199 - inherit graphviz pkgconfig autoconf automake libtool glib gtk; 11934 + monotoneViz = builderDefsPackage (callPackage ../applications/version-management/monotone-viz/mtn-head.nix) { 12200 11935 inherit (ocamlPackages_4_01_0) lablgtk ocaml; 12201 11936 inherit (gnome) libgnomecanvas; 12202 11937 }; ··· 12209 11944 12210 11945 mopidy-mopify = callPackage ../applications/audio/mopidy-mopify { }; 12211 11946 12212 - mozplugger = callPackage ../applications/networking/browsers/mozilla-plugins/mozplugger { 12213 - inherit (xlibs) libX11 xproto; 12214 - }; 11947 + mozplugger = callPackage ../applications/networking/browsers/mozilla-plugins/mozplugger {}; 12215 11948 12216 11949 easytag = callPackage ../applications/audio/easytag { }; 12217 11950 ··· 12243 11976 MPlayerPlugin = browser: 12244 11977 callPackage ../applications/networking/browsers/mozilla-plugins/mplayerplug-in { 12245 11978 inherit browser; 12246 - inherit (xlibs) libXpm; 12247 11979 # !!! should depend on MPlayer 12248 11980 }; 12249 11981 ··· 12303 12035 12304 12036 openshift = callPackage ../applications/networking/cluster/openshift { }; 12305 12037 12306 - oroborus = callPackage ../applications/window-managers/oroborus { 12307 - inherit (xlibs) libSM libICE libXt libXaw libXmu libXext libXft libXpm libXrandr libXrender xextproto libXinerama; 12308 - }; 12038 + oroborus = callPackage ../applications/window-managers/oroborus {}; 12309 12039 12310 12040 panamax_api = callPackage ../applications/networking/cluster/panamax/api { 12311 12041 ruby = ruby_2_1; ··· 12391 12121 }; 12392 12122 12393 12123 netsurfBrowser = netsurf.browser; 12394 - netsurf = recurseIntoAttrs (import ../applications/networking/browsers/netsurf { inherit pkgs; }); 12124 + netsurf = recurseIntoAttrs (callPackage ../applications/networking/browsers/netsurf {}); 12395 12125 12396 12126 notmuch = callPackage ../applications/networking/mailreaders/notmuch { 12397 12127 # No need to build Emacs - notmuch.el works just fine without ··· 12500 12230 gnutls = if config.pidgin.gnutls or false then gnutls else null; 12501 12231 libgcrypt = if config.pidgin.gnutls or false then libgcrypt else null; 12502 12232 startupnotification = libstartup_notification; 12503 - inherit (xlibs) libXext libICE libSM; 12504 12233 }; 12505 12234 12506 12235 pidgin-with-plugins = callPackage ../applications/networking/instant-messengers/pidgin/wrapper.nix { ··· 12545 12274 12546 12275 poezio = python3Packages.poezio; 12547 12276 12548 - pommed = callPackage ../os-specific/linux/pommed { 12549 - inherit (xorg) libXpm; 12550 - }; 12277 + pommed = callPackage ../os-specific/linux/pommed {}; 12551 12278 12552 12279 pond = goPackages.pond.bin // { outputs = [ "bin" ]; }; 12553 12280 ··· 12562 12289 qiv = callPackage ../applications/graphics/qiv { }; 12563 12290 12564 12291 processing = callPackage ../applications/graphics/processing { 12565 - inherit (xorg) libXxf86vm; 12566 12292 jdk = jdk7; 12567 12293 }; 12568 12294 ··· 12675 12401 }; 12676 12402 12677 12403 rakarrack = callPackage ../applications/audio/rakarrack { 12678 - inherit (xorg) libXpm libXft; 12679 12404 fltk = fltk13; 12680 12405 }; 12681 12406 ··· 12876 12601 12877 12602 smartgithg = callPackage ../applications/version-management/smartgithg { }; 12878 12603 12879 - slimThemes = recurseIntoAttrs (import ../applications/display-managers/slim/themes.nix { 12880 - inherit stdenv fetchurl slim; 12881 - }); 12604 + slimThemes = recurseIntoAttrs (callPackage ../applications/display-managers/slim/themes.nix {}); 12882 12605 12883 12606 smartdeblur = callPackage ../applications/graphics/smartdeblur { }; 12884 12607 ··· 12892 12615 12893 12616 sonic-visualiser = callPackage ../applications/audio/sonic-visualiser { 12894 12617 inherit (pkgs.vamp) vampSDK; 12895 - inherit (pkgs.xlibs) libX11; 12896 12618 }; 12897 12619 12898 12620 sox = callPackage ../applications/misc/audio/sox { }; ··· 12979 12701 numpy pyasn1 mock; 12980 12702 }; 12981 12703 12982 - tailor = builderDefsPackage (import ../applications/version-management/tailor) { 12983 - inherit makeWrapper python; 12984 - }; 12704 + tailor = builderDefsPackage (callPackage ../applications/version-management/tailor) {}; 12985 12705 12986 12706 tangogps = callPackage ../applications/misc/tangogps { 12987 12707 gconf = gnome.GConf; ··· 13041 12761 thunderbird-bin = callPackage ../applications/networking/mailreaders/thunderbird-bin { 13042 12762 gconf = pkgs.gnome.GConf; 13043 12763 inherit (pkgs.gnome) libgnome libgnomeui; 13044 - inherit (pkgs.xlibs) libX11 libXScrnSaver libXcomposite libXdamage libXext 13045 - libXfixes libXinerama libXrender libXt; 13046 12764 }; 13047 12765 13048 12766 tig = gitAndTools.tig; ··· 13145 12863 13146 12864 veracity = callPackage ../applications/version-management/veracity {}; 13147 12865 13148 - viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix) 12866 + viewMtn = builderDefsPackage (callPackage ../applications/version-management/viewmtn/0.10.nix) 13149 12867 { 13150 - inherit monotone cheetahTemplate highlight ctags 13151 - makeWrapper graphviz which python; 13152 12868 flup = pythonPackages.flup; 13153 12869 }; 13154 12870 ··· 13162 12878 vimHugeX = vim_configurable; 13163 12879 13164 12880 vim_configurable = vimUtils.makeCustomizable (callPackage ../applications/editors/vim/configurable.nix { 13165 - inherit (pkgs) fetchurl fetchhg stdenv ncurses pkgconfig gettext 13166 - composableDerivation lib config glib gtk python perl tcl ruby; 13167 - inherit (pkgs.xlibs) libX11 libXext libSM libXpm libXt libXaw libXau libXmu 13168 - libICE; 13169 - 13170 12881 features = "huge"; # one of tiny, small, normal, big or huge 13171 12882 lua = pkgs.lua5_1; 13172 12883 gui = config.vim.gui or "auto"; ··· 13182 12893 qtile = callPackage ../applications/window-managers/qtile { }; 13183 12894 13184 12895 qvim = lowPrio (callPackage ../applications/editors/vim/qvim.nix { 13185 - inherit (pkgs) fetchgit stdenv ncurses pkgconfig gettext 13186 - composableDerivation lib config python perl tcl ruby qt4; 13187 - inherit (pkgs.xlibs) libX11 libXext libSM libXpm libXt libXaw libXau libXmu 13188 - libICE; 13189 - 13190 - inherit (pkgs) stdenvAdapters; 13191 - 13192 12896 features = "huge"; # one of tiny, small, normal, big or huge 13193 12897 lua = pkgs.lua5; 13194 12898 flags = [ "python" "X11" ]; # only flag "X11" by now ··· 13244 12948 useDisplayDevice = true; 13245 12949 }; 13246 12950 13247 - vkeybd = callPackage ../applications/audio/vkeybd { 13248 - inherit (xlibs) libX11; 13249 - }; 12951 + vkeybd = callPackage ../applications/audio/vkeybd {}; 13250 12952 13251 12953 vlc = callPackage ../applications/video/vlc { 13252 12954 ffmpeg = ffmpeg_2; 13253 12955 }; 13254 12956 13255 12957 vlc_qt5 = vlc.override { 13256 - qt4 = null; 13257 12958 withQt5 = true; 13258 - inherit qt5; 13259 12959 }; 13260 12960 13261 12961 vmpk = callPackage ../applications/audio/vmpk { }; ··· 13334 13034 jre = cfg.jre or false; 13335 13035 icedtea = cfg.icedtea or false; 13336 13036 in 13337 - import ../applications/networking/browsers/firefox/wrapper.nix { 13338 - inherit stdenv lib makeWrapper makeDesktopItem browser browserName desktopName nameSuffix icon; 13037 + callPackage ../applications/networking/browsers/firefox/wrapper.nix { 13038 + inherit browser browserName desktopName nameSuffix icon; 13339 13039 libtrick = true; 13340 13040 plugins = 13341 13041 assert !(enableGnash && enableAdobeFlash); ··· 13390 13090 ++ optional (cfg.enableVbaM or false) vba-m 13391 13091 ); 13392 13092 13393 - wrapRetroArch = { retroarch }: import ../misc/emulators/retroarch/wrapper.nix { 13394 - inherit stdenv lib makeWrapper retroarch; 13093 + wrapRetroArch = { retroarch }: callPackage ../misc/emulators/retroarch/wrapper.nix { 13094 + inherit retroarch; 13395 13095 cores = retroArchCores; 13396 13096 }; 13397 13097 13398 - wrapKodi = { kodi }: import ../applications/video/kodi/wrapper.nix { 13399 - inherit stdenv lib makeWrapper kodi; 13098 + wrapKodi = { kodi }: callPackage ../applications/video/kodi/wrapper.nix { 13099 + inherit kodi; 13400 13100 plugins = let inherit (lib) optional; in with kodiPlugins; 13401 13101 ([] 13402 13102 ++ optional (config.kodi.enableAdvancedLauncher or false) advanced-launcher ··· 13409 13109 13410 13110 wxcam = callPackage ../applications/video/wxcam { 13411 13111 inherit (gnome) libglade; 13412 - inherit intltool; 13413 13112 wxGTK = wxGTK28; 13414 13113 gtk = gtk2; 13415 13114 }; ··· 13422 13121 13423 13122 x42-plugins = callPackage ../applications/audio/x42-plugins { }; 13424 13123 13425 - xaos = builderDefsPackage (import ../applications/graphics/xaos) { 13426 - inherit (xlibs) libXt libX11 libXext xextproto xproto; 13427 - inherit gsl aalib zlib intltool gettext perl; 13124 + xaos = builderDefsPackage (callPackage ../applications/graphics/xaos) { 13428 13125 libpng = libpng12; 13429 13126 }; 13430 13127 ··· 13563 13260 libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { }; 13564 13261 13565 13262 xpra = callPackage ../tools/X11/xpra { inherit (texFunctions) fontsConf; }; 13566 - libfakeXinerama = callPackage ../tools/X11/xpra/libfakeXinerama.nix { inherit (xlibs) libXinerama; }; 13263 + libfakeXinerama = callPackage ../tools/X11/xpra/libfakeXinerama.nix { }; 13567 13264 #TODO: 'pil' is not available for python3, yet 13568 13265 xpraGtk3 = callPackage ../tools/X11/xpra/gtk3.nix { inherit (texFunctions) fontsConf; inherit (python3Packages) buildPythonPackage python cython pygobject3 pycairo; }; 13569 13266 ··· 13623 13320 fltk = fltk13.override { cfg.xftSupport = true; }; 13624 13321 }; 13625 13322 13626 - zam-plugins = callPackage ../applications/audio/zam-plugins { inherit (xlibs) libX11; }; 13323 + zam-plugins = callPackage ../applications/audio/zam-plugins { }; 13627 13324 13628 13325 zathuraCollection = recurseIntoAttrs 13629 - (let callPackage = newScope pkgs.zathuraCollection; in 13630 - import ../applications/misc/zathura { 13631 - inherit stdenv callPackage pkgs fetchurl lib; 13326 + (callPackage ../applications/misc/zathura { 13327 + callPackage = newScope pkgs.zathuraCollection; 13632 13328 useMupdf = config.zathura.useMupdf or false; 13633 13329 }); 13634 13330 ··· 13810 13506 13811 13507 lgogdownloader = callPackage ../games/lgogdownloader { }; 13812 13508 13813 - lincity = builderDefsPackage (import ../games/lincity) { 13814 - inherit (xlibs) libX11 libXext xextproto 13815 - libICE libSM xproto; 13816 - inherit libpng zlib; 13817 - }; 13509 + lincity = builderDefsPackage (callPackage ../games/lincity) {}; 13818 13510 13819 13511 lincity_ng = callPackage ../games/lincity/ng.nix {}; 13820 13512 ··· 13903 13595 13904 13596 sdlmame = callPackage ../games/sdlmame { }; 13905 13597 13906 - sgtpuzzles = callPackage (import ../games/sgt-puzzles) { }; 13598 + sgtpuzzles = callPackage (callPackage ../games/sgt-puzzles) { }; 13907 13599 13908 13600 simutrans = callPackage ../games/simutrans { }; 13909 13601 # get binaries without data built by Hydra ··· 14039 13731 14040 13732 xsnow = callPackage ../games/xsnow { }; 14041 13733 14042 - xsokoban = builderDefsPackage (import ../games/xsokoban) { 14043 - inherit (xlibs) libX11 xproto libXpm libXt; 14044 - }; 13734 + xsokoban = builderDefsPackage (callPackage ../games/xsokoban) {}; 14045 13735 14046 13736 zandronum = callPackage ../games/zandronum { }; 14047 13737 zandronum-server = callPackage ../games/zandronum/server.nix { }; ··· 14082 13772 14083 13773 enlightenment = callPackage ../desktops/enlightenment { }; 14084 13774 14085 - e19 = recurseIntoAttrs ( 14086 - let callPackage = newScope pkgs.e19; in 14087 - import ../desktops/e19 { inherit callPackage pkgs; } 14088 - ); 13775 + e19 = recurseIntoAttrs (callPackage ../desktops/e19 { 13776 + callPackage = newScope pkgs.e19; 13777 + }); 14089 13778 14090 13779 gnome2 = callPackage ../desktops/gnome-2 { 14091 13780 callPackage = pkgs.newScope pkgs.gnome2; ··· 14335 14024 14336 14025 numix-gtk-theme = callPackage ../misc/themes/gtk3/numix-gtk-theme { }; 14337 14026 14338 - plasma53 = recurseIntoAttrs (callPackage ../desktops/plasma-5.3 { inherit pkgs newScope; }); 14027 + plasma53 = recurseIntoAttrs (callPackage ../desktops/plasma-5.3 { }); 14339 14028 plasma5_latest = plasma53; 14340 14029 plasma5_stable = plasma53; 14341 14030 ··· 14344 14033 theme-vertex = callPackage ../misc/themes/vertex { }; 14345 14034 14346 14035 xfce = xfce4-12; 14347 - xfce4-12 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; }); 14036 + xfce4-12 = recurseIntoAttrs (callPackage ../desktops/xfce { }); 14348 14037 14349 14038 xrandr-invert-colors = callPackage ../applications/misc/xrandr-invert-colors { }; 14350 14039 ··· 14352 14041 14353 14042 ### SCIENCE/GEOMETRY 14354 14043 14355 - drgeo = builderDefsPackage (import ../applications/science/geometry/drgeo) { 14044 + drgeo = builderDefsPackage (callPackage ../applications/science/geometry/drgeo) { 14356 14045 inherit (gnome) libglade; 14357 - inherit libxml2 perl intltool libtool pkgconfig gtk; 14358 14046 guile = guile_1_8; 14359 14047 }; 14360 14048 ··· 14373 14061 14374 14062 mrbayes = callPackage ../applications/science/biology/mrbayes { }; 14375 14063 14376 - ncbiCTools = builderDefsPackage ../development/libraries/ncbi { 14377 - inherit tcsh mesa lesstif; 14378 - inherit (xlibs) libX11 libXaw xproto libXt libSM libICE 14379 - libXmu libXext; 14380 - }; 14064 + ncbiCTools = builderDefsPackage (callPackage ../development/libraries/ncbi) {}; 14381 14065 14382 14066 ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { }; 14383 14067 ··· 14406 14090 14407 14091 blas = callPackage ../development/libraries/science/math/blas { }; 14408 14092 14409 - content = builderDefsPackage ../applications/science/math/content { 14410 - inherit mesa lesstif; 14411 - inherit (xlibs) libX11 libXaw xproto libXt libSM libICE 14412 - libXmu libXext libXcursor; 14413 - }; 14093 + content = builderDefsPackage (callPackage ../applications/science/math/content) {}; 14414 14094 14415 14095 jags = callPackage ../applications/science/math/jags { }; 14416 14096 ··· 14573 14253 14574 14254 hologram = goPackages.hologram.bin // { outputs = [ "bin" ]; }; 14575 14255 14576 - isabelle = import ../applications/science/logic/isabelle { 14577 - inherit (pkgs) stdenv fetchurl nettools perl polyml; 14256 + isabelle = callPackage ../applications/science/logic/isabelle { 14578 14257 inherit (pkgs.emacs24Packages) proofgeneral; 14579 14258 java = if stdenv.isLinux then jre else jdk; 14580 14259 }; ··· 14736 14415 14737 14416 celestia = callPackage ../applications/science/astronomy/celestia { 14738 14417 lua = lua5_1; 14739 - inherit (xlibs) libXmu; 14740 14418 inherit (pkgs.gnome) gtkglext; 14741 14419 }; 14742 14420 ··· 14755 14433 spyder = callPackage ../applications/science/spyder { 14756 14434 inherit (pythonPackages) pyflakes rope sphinx numpy scipy matplotlib; # recommended 14757 14435 inherit (pythonPackages) ipython pep8; # optional 14758 - inherit pylint; 14759 14436 }; 14760 14437 14761 14438 stellarium = callPackage ../applications/science/astronomy/stellarium { }; ··· 14782 14459 14783 14460 # Optional system packages, otherwise internal GEANT4 packages are used. 14784 14461 clhep = null; 14785 - expat = expat; 14786 14462 zlib = null; 14787 14463 14788 14464 # For enableGDML. ··· 14793 14469 14794 14470 # For enableXM. 14795 14471 motif = null; # motif or lesstif 14796 - 14797 - # For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11. 14798 - mesa = mesa; 14799 - x11 = x11; 14800 - inherit (xlibs) libXmu; 14801 14472 }; 14802 14473 14803 14474 g4py = callPackage ../development/libraries/physics/geant4/g4py { }; ··· 15058 14729 15059 14730 canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { }; 15060 14731 15061 - samsungUnifiedLinuxDriver = import ../misc/cups/drivers/samsung { 15062 - inherit fetchurl stdenv; 15063 - inherit cups ghostscript glibc patchelf; 14732 + samsungUnifiedLinuxDriver = callPackage ../misc/cups/drivers/samsung { 15064 14733 gcc = import ../development/compilers/gcc/4.4 { 15065 14734 inherit stdenv fetchurl gmp mpfr noSysDirs gettext which; 15066 14735 texinfo = texinfo4; ··· 15091 14760 15092 14761 soundOfSorting = callPackage ../misc/sound-of-sorting { }; 15093 14762 15094 - sourceAndTags = import ../misc/source-and-tags { 15095 - inherit pkgs stdenv unzip lib ctags; 14763 + sourceAndTags = callPackage ../misc/source-and-tags { 15096 14764 hasktags = haskellPackages.hasktags; 15097 14765 }; 15098 14766 ··· 15108 14776 15109 14777 tex4ht = callPackage ../tools/typesetting/tex/tex4ht { }; 15110 14778 15111 - texFunctions = import ../tools/typesetting/tex/nix pkgs; 14779 + texFunctions = callPackage ../tools/typesetting/tex/nix pkgs; 15112 14780 15113 - texLive = builderDefsPackage (import ../tools/typesetting/tex/texlive) { 15114 - inherit builderDefs zlib bzip2 ncurses libpng ed lesstif ruby potrace 15115 - gd t1lib freetype icu perl expat curl xz pkgconfig zziplib texinfo 15116 - libjpeg bison python fontconfig flex poppler libpaper graphite2 15117 - makeWrapper gmp mpfr xpdf config; 15118 - inherit (xlibs) libXaw libX11 xproto libXt libXpm 15119 - libXmu libXext xextproto libSM libICE; 14781 + texLive = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive) { 15120 14782 ghostscript = ghostscriptX; 15121 14783 harfbuzz = harfbuzz.override { 15122 14784 withIcu = true; withGraphite2 = true; ··· 15142 14804 Just installing a few packages doesn't work. 15143 14805 */ 15144 14806 texLiveAggregationFun = params: 15145 - builderDefsPackage (import ../tools/typesetting/tex/texlive/aggregate.nix) 15146 - ({inherit poppler perl makeWrapper;} // params); 14807 + builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/aggregate.nix) params; 15147 14808 15148 14809 texDisser = callPackage ../tools/typesetting/tex/disser {}; 15149 14810 15150 - texLiveContext = builderDefsPackage (import ../tools/typesetting/tex/texlive/context.nix) { 15151 - inherit texLive; 15152 - }; 14811 + texLiveContext = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/context.nix) {}; 15153 14812 15154 - texLiveExtra = builderDefsPackage (import ../tools/typesetting/tex/texlive/extra.nix) { 15155 - inherit texLive xz; 15156 - }; 14813 + texLiveExtra = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/extra.nix) {}; 15157 14814 15158 - texLiveCMSuper = builderDefsPackage (import ../tools/typesetting/tex/texlive/cm-super.nix) { 15159 - inherit texLive; 15160 - }; 14815 + texLiveCMSuper = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/cm-super.nix) {}; 15161 14816 15162 - texLiveLatexXColor = builderDefsPackage (import ../tools/typesetting/tex/texlive/xcolor.nix) { 15163 - inherit texLive; 15164 - }; 14817 + texLiveLatexXColor = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/xcolor.nix) {}; 15165 14818 15166 14819 texLivePGF = pgf3; 15167 14820 15168 - texLiveBeamer = builderDefsPackage (import ../tools/typesetting/tex/texlive/beamer.nix) { 15169 - inherit texLiveLatexXColor texLivePGF texLive; 15170 - }; 14821 + texLiveBeamer = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/beamer.nix) {}; 15171 14822 15172 - texLiveModerncv = builderDefsPackage (import ../tools/typesetting/tex/texlive/moderncv.nix) { 15173 - inherit texLive unzip; 15174 - }; 14823 + texLiveModerncv = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/moderncv.nix) {}; 15175 14824 15176 - texLiveModerntimeline = builderDefsPackage (import ../tools/typesetting/tex/texlive/moderntimeline.nix) { 15177 - inherit texLive unzip; 15178 - }; 14825 + texLiveModerntimeline = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/moderntimeline.nix) {}; 15179 14826 15180 14827 thermald = callPackage ../tools/system/thermald { }; 15181 14828 ··· 15189 14836 15190 14837 vault = goPackages.vault.bin // { outputs = [ "bin" ]; }; 15191 14838 15192 - vbam = callPackage ../misc/emulators/vbam { 15193 - inherit (xlibs) libpthreadstubs; 15194 - }; 14839 + vbam = callPackage ../misc/emulators/vbam {}; 15195 14840 15196 14841 vice = callPackage ../misc/emulators/vice { 15197 14842 libX11 = xlibs.libX11; ··· 15200 14845 15201 14846 viewnior = callPackage ../applications/graphics/viewnior { }; 15202 14847 15203 - vimUtils = callPackage ../misc/vim-plugins/vim-utils.nix { inherit writeText; }; 14848 + vimUtils = callPackage ../misc/vim-plugins/vim-utils.nix { }; 15204 14849 15205 14850 vimPlugins = recurseIntoAttrs (callPackage ../misc/vim-plugins { }); 15206 14851 ··· 15255 14900 15256 14901 xhyve = callPackage ../applications/virtualization/xhyve { }; 15257 14902 15258 - xinput_calibrator = callPackage ../tools/X11/xinput_calibrator { 15259 - inherit (xlibs) libXi inputproto; 15260 - }; 14903 + xinput_calibrator = callPackage ../tools/X11/xinput_calibrator {}; 15261 14904 15262 14905 xosd = callPackage ../misc/xosd { }; 15263 14906 ··· 15280 14923 15281 14924 zopfli = callPackage ../tools/compression/zopfli { }; 15282 14925 15283 - myEnvFun = import ../misc/my-env { 15284 - inherit substituteAll pkgs; 14926 + myEnvFun = callPackage ../misc/my-env { 15285 14927 inherit (stdenv) mkDerivation; 15286 14928 }; 15287 14929 ··· 15324 14966 guiToolkit = config.higan.guiToolkit or "gtk"; 15325 14967 }; 15326 14968 15327 - misc = import ../misc/misc.nix { inherit pkgs stdenv; }; 14969 + misc = callPackage ../misc/misc.nix { }; 15328 14970 15329 14971 bullet = callPackage ../development/libraries/bullet {}; 15330 14972