Merge branch 'origin/master' into stdenv-updates.

+83 -33
+1
lib/maintainers.nix
··· 59 59 vcunat = "Vladimír Čunát <vcunat@gmail.com>"; 60 60 viric = "Lluís Batlle i Rossell <viric@viric.name>"; 61 61 vizanto = "Danny Wilson <danny@prime.vc>"; 62 + vlstill = "Vladimír Štill <xstill@fi.muni.cz>"; 62 63 winden = "Antonio Vargas Gonzalez <windenntw@gmail.com>"; 63 64 z77z = "Marco Maggesi <maggesi@math.unifi.it>"; 64 65 zef = "Zef Hemel <zef@zef.me>";
+12 -13
nixos/doc/manual/development.xml
··· 30 30 $ mkdir -p <replaceable>/my/sources</replaceable> 31 31 $ cd <replaceable>/my/sources</replaceable> 32 32 $ nix-env -i git 33 - $ git clone git://github.com/NixOS/nixos.git 34 33 $ git clone git://github.com/NixOS/nixpkgs.git 35 34 </screen> 36 35 37 36 This will check out the latest NixOS sources to 38 - <filename><replaceable>/my/sources</replaceable>/nixos</filename> and 37 + <filename><replaceable>/my/sources</replaceable>/nixpkgs/nixos</filename> and 39 38 the Nixpkgs sources to 40 39 <filename><replaceable>/my/sources</replaceable>/nixpkgs</filename>. 41 40 If you want to rebuild your system using your (modified) sources, you ··· 43 42 <option>-I</option> flag: 44 43 45 44 <screen> 46 - $ nixos-rebuild switch -I <replaceable>/my/sources</replaceable> 45 + $ nixos-rebuild switch -I <replaceable>/my/sources</replaceable>/nixpkgs 47 46 </screen> 48 47 49 48 </para> ··· 250 249 in 251 250 252 251 { 253 - imports = [ /etc/nixos/nixos/modules/services/scheduling/cron.nix ]; 252 + imports = [ /path/to/nixpkgs/nixos/modules/services/scheduling/cron.nix ]; 254 253 255 254 options = { 256 255 services.locate = { ··· 307 306 <para> 308 307 309 308 <screen> 310 - $ nix-build /etc/nixos/nixos -A <replaceable>attr</replaceable></screen> 309 + $ nix-build /path/to/nixpkgs/nixos -A <replaceable>attr</replaceable></screen> 311 310 312 311 where <replaceable>attr</replaceable> is an attribute in 313 - <filename>/etc/nixos/nixos/default.nix</filename>. Attributes of interest include: 312 + <filename>/path/to/nixpkgs/nixos/default.nix</filename>. Attributes of interest include: 314 313 315 314 <variablelist> 316 315 ··· 344 343 attribute set. This attribute set allows you to have a view of the merged 345 344 option definitions and all its derivations. Important derivations are store 346 345 inside the option <option>system.build</option> and can be listed with the 347 - command <command>nix-instantiate --xml --eval-only /etc/nixos/nixos -A 346 + command <command>nix-instantiate --xml --eval-only /path/to/nixpkgs/nixos -A 348 347 config.system.build</command> 349 348 </para> 350 349 ··· 368 367 running <command>nix-build</command> to build the ISO. 369 368 370 369 <screen> 371 - $ export NIXOS_CONFIG=/etc/nixos/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix 372 - $ nix-build /etc/nixos/nixos -A config.system.build.isoImage</screen> 370 + $ export NIXOS_CONFIG=/path/to/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix 371 + $ nix-build /path/to/nixpkgs/nixos -A config.system.build.isoImage</screen> 373 372 374 373 </para> 375 374 ··· 413 412 properly: 414 413 415 414 <screen> 416 - $ export NIXOS_CONFIG=/etc/nixos/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix 417 - $ nix-build /etc/nixos/nixos -A config.system.build.nixos-install 415 + $ export NIXOS_CONFIG=/path/to/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix 416 + $ nix-build /path/to/nixpkgs/nixos -A config.system.build.nixos-install 418 417 $ dd if=/dev/zero of=diskimage seek=2G count=0 bs=1 419 418 $ yes | mke2fs -j diskimage 420 419 $ mount -o loop diskimage /mnt ··· 437 436 <option>-initrd</option> options: 438 437 439 438 <screen> 440 - $ nix-build /etc/nixos/nixos -A config.system.build.initialRamdisk -o initrd 441 - $ nix-build /etc/nixos/nixos -A config.system.build.kernel -o kernel 439 + $ nix-build /path/to/nixpkgs/nixos -A config.system.build.initialRamdisk -o initrd 440 + $ nix-build /path/to/nixpkgs/nixos -A config.system.build.kernel -o kernel 442 441 $ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/null 443 442 </screen> 444 443
+4 -4
nixos/doc/manual/man-nixos-option.xml
··· 120 120 /mnt/data/nix-sources/nixos/modules/services/hardware/udev.nix 121 121 122 122 Defined by: 123 - /etc/nixos/nixos/modules/system/boot/kernel.nix 124 - /etc/nixos/nixos/modules/hardware/network/rt73.nix 125 - /etc/nixos/nixos/modules/hardware/network/intel-3945abg.nix 126 - /etc/nixos/nixos/modules/hardware/network/intel-2200bg.nix</screen></para> 123 + /path/to/nixpkgs/nixos/modules/system/boot/kernel.nix 124 + /path/to/nixpkgs/nixos/modules/hardware/network/rt73.nix 125 + /path/to/nixpkgs/nixos/modules/hardware/network/intel-3945abg.nix 126 + /path/to/nixpkgs/nixos/modules/hardware/network/intel-2200bg.nix</screen></para> 127 127 128 128 </refsection> 129 129
+1 -1
nixos/doc/manual/man-nixos-rebuild.xml
··· 106 106 points to the output of the top-level “system” derivation. This 107 107 is essentially the same as doing 108 108 <screen> 109 - $ nix-build /etc/nixos/nixos -A system 109 + $ nix-build /path/to/nixpkgs/nixos -A system 110 110 </screen> 111 111 Note that you do not need to be <literal>root</literal> to run 112 112 <command>nixos-rebuild build</command>.</para>
+21
pkgs/applications/graphics/gpicview/default.nix
··· 1 + { stdenv, fetchurl, intltool, pkgconfig, gtk2 }: 2 + 3 + stdenv.mkDerivation { 4 + name = "gpicview-0.2.4"; 5 + 6 + src = fetchurl { 7 + url = "mirror://sourceforge/lxde/gpicview-0.2.4.tar.gz"; 8 + sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr"; 9 + }; 10 + 11 + meta = with stdenv.lib; { 12 + description = "A simple and fast image viewer for X"; 13 + homepage = http://lxde.sourceforge.net/gpicview/; 14 + repositories.git = git://lxde.git.sourceforge.net/gitroot/lxde/gpicview; 15 + license = licenses.gpl2; 16 + maintainers = with maintainers; [ lovek323 ]; 17 + platforms = platforms.unix; 18 + }; 19 + 20 + buildInputs = [ intltool pkgconfig gtk2 ]; 21 + }
+26 -10
pkgs/applications/misc/redshift/default.nix
··· 1 - { fetchurl, stdenv, 2 - libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python, 3 - randrproto, xcbutil, xf86vidmodeproto }: 1 + { fetchurl, stdenv, libX11, libXrandr, libXxf86vm, libxcb, pkgconfig, python 2 + , randrproto, xcbutil, xf86vidmodeproto, autoconf, automake, gettext, glib 3 + , GConf, dbus, dbus_glib, makeWrapper, gtk, pygtk, pyxdg }: 4 4 5 5 stdenv.mkDerivation rec { 6 - pname = "redshift"; 7 - version = "1.7"; 8 - name = "${pname}-${version}"; 6 + version = "1.8"; 7 + name = "redshift-${version}"; 9 8 src = fetchurl { 10 - url = "http://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2"; 11 - sha256 = "1j0hs0vnlic90cf4bryn11n4ani1x2s5l8z6ll3fmrlw98ykrylv"; 9 + url = "https://github.com/jonls/redshift/archive/v${version}.tar.gz"; 10 + sha256 = "1srj2dwy32h71iqikb4ysv5ipclym80i9lys2ns8vjmclg7hj3vi"; 12 11 }; 13 12 14 - buildInputs = [ libX11 libXrandr libXxf86vm libxcb pkgconfig python 15 - randrproto xcbutil xf86vidmodeproto ]; 13 + buildInputs = [ 14 + libX11 libXrandr libXxf86vm libxcb pkgconfig python randrproto xcbutil 15 + xf86vidmodeproto autoconf automake gettext glib GConf dbus dbus_glib 16 + makeWrapper gtk pygtk pyxdg 17 + # TODO: 18 + # geoclue 19 + ]; 20 + 21 + preConfigure = '' 22 + ./bootstrap 23 + ''; 24 + 25 + preInstall = '' 26 + substituteInPlace src/redshift-gtk/redshift-gtk python --replace "/usr/bin/env python" "${python}/bin/${python.executable}" 27 + ''; 28 + 29 + postInstall = '' 30 + wrapProgram "$out/bin/redshift-gtk" --prefix PYTHONPATH : $PYTHONPATH:${pygtk}/lib/${python.libPrefix}/site-packages/gtk-2.0:${pyxdg}/lib/${python.libPrefix}/site-packages/pyxdg:$out/lib/${python.libPrefix}/site-packages 31 + ''; 16 32 17 33 meta = { 18 34 description = "changes the color temperature of your screen gradually";
+2 -2
pkgs/development/compilers/ghc/head.nix
··· 1 1 { stdenv, fetchurl, ghc, perl, gmp, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "7.7.20130816"; 4 + version = "7.7.20130828"; 5 5 name = "ghc-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "http://darcs.haskell.org/ghcBuilder/uploads/tn23/${name}-src.tar.bz2"; 9 - sha256 = "0w636gfjn3xigrlj31z4hy9kv44svyifsqcshrq95qxijx396j5m"; 9 + sha256 = "180nkd77kz3mv4g7yq8ipx34p5q8k714l0z2527y49lghy118jzv"; 10 10 }; 11 11 12 12 buildInputs = [ ghc perl gmp ncurses ];
+3 -3
pkgs/os-specific/linux/microcode/intel.nix
··· 1 1 { stdenv, fetchurl, microcode2ucode }: 2 2 3 - let version = "20130808"; in 3 + let version = "20130906"; in 4 4 5 5 stdenv.mkDerivation { 6 6 name = "microcode-intel-${version}"; 7 7 8 8 src = fetchurl { 9 - url = "http://downloadmirror.intel.com/23082/eng/microcode-${version}.tgz"; 10 - sha256 = "19v0059v6dxv7ly57wgqy9nkjjnmprgwz4s94khdf213k5vikpfm"; 9 + url = "http://downloadmirror.intel.com/23166/eng/microcode-${version}.tgz"; 10 + sha256 = "11k327icvijadq2zkgkc3sqwzraip9cviqm25566g09523ds0svv"; 11 11 }; 12 12 13 13 buildInputs = [ microcode2ucode ];
+4
pkgs/top-level/all-packages.nix
··· 7810 7810 7811 7811 goldendict = callPackage ../applications/misc/goldendict { }; 7812 7812 7813 + gpicview = callPackage ../applications/graphics/gpicview { }; 7814 + 7813 7815 grass = import ../applications/misc/grass { 7814 7816 inherit (xlibs) libXmu libXext libXp libX11 libXt libSM libICE libXpm 7815 7817 libXaw libXrender; ··· 9638 9640 redshift = callPackage ../applications/misc/redshift { 9639 9641 inherit (xorg) libX11 libXrandr libxcb randrproto libXxf86vm 9640 9642 xf86vidmodeproto; 9643 + inherit (gnome) GConf; 9644 + inherit (pythonPackages) pyxdg; 9641 9645 }; 9642 9646 9643 9647 oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk { };
+9
pkgs/top-level/perl-packages.nix
··· 3396 3396 propagatedBuildInputs = [ HTTPDate ]; 3397 3397 }; 3398 3398 3399 + FileMimeInfo = buildPerlPackage { 3400 + name = "File-MimeInfo-0.20"; 3401 + src = fetchurl { 3402 + url = "http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/File-MimeInfo-0.20.tar.gz"; 3403 + sha256 = "1738yi3a0xcbvffqymjb6cyh999q4pryalfwbkmdbjdks2y0bxz0"; 3404 + }; 3405 + propagatedBuildInputs = [ FileBaseDir FileDesktopEntry ]; 3406 + }; 3407 + 3399 3408 FileModified = buildPerlPackage { 3400 3409 name = "File-Modified-0.07"; 3401 3410 src = fetchurl {