From d004ac6857d4ef3f6670264c93834084a758123d Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 21 Jul 2015 17:49:29 -0300 Subject: [PATCH 01/41] Oroborus: init at 2.0.20 Oroborus (named after the self-eating snake) is a minimalistic window manager. --- .../services/x11/window-managers/oroborus.nix | 25 +++++++++++++++++ .../window-managers/oroborus/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 3 files changed, 56 insertions(+) create mode 100644 nixos/modules/services/x11/window-managers/oroborus.nix create mode 100644 pkgs/applications/window-managers/oroborus/default.nix diff --git a/nixos/modules/services/x11/window-managers/oroborus.nix b/nixos/modules/services/x11/window-managers/oroborus.nix new file mode 100644 index 00000000000..bd7e3396864 --- /dev/null +++ b/nixos/modules/services/x11/window-managers/oroborus.nix @@ -0,0 +1,25 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.services.xserver.windowManager.oroborus; +in +{ + ###### interface + options = { + services.xserver.windowManager.oroborus.enable = mkEnableOption "oroborus"; + }; + + ###### implementation + config = mkIf cfg.enable { + services.xserver.windowManager.session = singleton { + name = "oroborus"; + start = '' + ${pkgs.oroborus}/bin/oroborus & + waitPID=$! + ''; + }; + environment.systemPackages = [ pkgs.oroborus ]; + }; +} diff --git a/pkgs/applications/window-managers/oroborus/default.nix b/pkgs/applications/window-managers/oroborus/default.nix new file mode 100644 index 00000000000..226b33be060 --- /dev/null +++ b/pkgs/applications/window-managers/oroborus/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, pkgconfig +, freetype, fribidi +, libSM, libICE, libXt, libXaw, libXmu +, libXext, libXft, libXpm, libXrandr +, libXrender, xextproto, libXinerama }: + +with stdenv.lib; +stdenv.mkDerivation rec { + + name = "oroborus-${version}"; + version = "2.0.20"; + + buildInputs = [ pkgconfig freetype fribidi libSM libICE libXt libXaw libXmu libXext libXft libXpm libXrandr libXrender xextproto libXinerama ]; + + src = fetchurl { + url = "http://ftp.debian.org/debian/pool/main/o/oroborus/oroborus_${version}.tar.gz"; + sha256 = "12bvk8x8rfnymbfbwmdcrd9g8m1zxbcq7rgvfdkjr0gnpi0aa82j"; + }; + + meta = { + description = "A really minimalistic X window manager"; + homepage = http://www.oroborus.org/; + license = licenses.gpl2Plus; + maintainers = [ maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index acfc7525f5e..3e0c117617e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12127,6 +12127,10 @@ let openshift = callPackage ../applications/networking/cluster/openshift { }; + oroborus = callPackage ../applications/window-managers/oroborus { + inherit (xlibs) libSM libICE libXt libXaw libXmu libXext libXft libXpm libXrandr libXrender xextproto libXinerama; + }; + panamax_api = callPackage ../applications/networking/cluster/panamax/api { ruby = ruby_2_1; }; From 08750f988aef531922f02017366425ffa868294c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 23 Jul 2015 19:21:57 +0200 Subject: [PATCH 02/41] ecm: 6.2.3 -> 6.4.4 --- pkgs/applications/science/math/ecm/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/math/ecm/default.nix b/pkgs/applications/science/math/ecm/default.nix index 5d378a48dd9..53b289983a4 100644 --- a/pkgs/applications/science/math/ecm/default.nix +++ b/pkgs/applications/science/math/ecm/default.nix @@ -1,8 +1,8 @@ -{stdenv, fetchurl, gmp}: +{ stdenv, fetchurl, gmp, m4 }: let pname = "ecm"; - version = "6.2.3"; + version = "6.4.4"; name = "${pname}-${version}"; in @@ -10,11 +10,11 @@ stdenv.mkDerivation { inherit name; src = fetchurl { - url = https://gforge.inria.fr/frs/download.php/22124/ecm-6.2.3.tar.gz; - sha256 = "1iwwhbz5vwl7j6dyh292hahc8yy16pq9mmm7mxy49zhxd81vy08p"; + url = http://gforge.inria.fr/frs/download.php/file/32159/ecm-6.4.4.tar.gz; + sha256 = "0v5h2nicz9yx78c2d72plbhi30iq4nxbvphja1s9501db4aah4y8"; }; - buildInputs = [ gmp ]; + buildInputs = [ m4 gmp ]; doCheck = true; @@ -23,5 +23,6 @@ stdenv.mkDerivation { license = stdenv.lib.licenses.gpl2Plus; homepage = http://ecm.gforge.inria.fr/; maintainers = [ stdenv.lib.maintainers.roconnor ]; + platforms = stdenv.lib.platforms.all; }; } From a0ab047fdbf1fe3c2d2c745e569d6b29bb305d56 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Fri, 24 Jul 2015 10:04:31 -0300 Subject: [PATCH 03/41] Cherrytree: 0.35.8 -> 0.35.9 Also, adding myself to maintainers list. --- pkgs/applications/misc/cherrytree/default.nix | 37 ++++++++++++++----- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/misc/cherrytree/default.nix b/pkgs/applications/misc/cherrytree/default.nix index eb73f48559a..97b67a3ae33 100644 --- a/pkgs/applications/misc/cherrytree/default.nix +++ b/pkgs/applications/misc/cherrytree/default.nix @@ -1,18 +1,24 @@ { stdenv, fetchurl, python, pythonPackages, gettext, pygtksourceview, sqlite }: +with stdenv.lib; stdenv.mkDerivation rec { - name = "cherrytree-0.35.8"; + + name = "cherrytree-${version}"; + version = "0.35.9"; src = fetchurl { url = "http://www.giuspen.com/software/${name}.tar.xz"; - sha256 = "0vqc1idzd73f4q5f4zwwypj4jiivwnb4y0r3041h2pm08y1wgsd8"; + sha256 = "14yahp0y13z3xkpwvprm7q9x3rj6jbzi0bryqlsn3bbafdq7wnac"; }; - propagatedBuildInputs = [ pythonPackages.sqlite3 ]; + propagatedBuildInputs = with pythonPackages; + [ sqlite3 ]; - buildInputs = with pythonPackages; [ python gettext wrapPython pygtk dbus pygtksourceview ]; + buildInputs = with pythonPackages; + [ python gettext wrapPython pygtk dbus pygtksourceview ]; - pythonPath = with pythonPackages; [ pygtk dbus pygtksourceview ]; + pythonPath = with pythonPackages; + [ pygtk dbus pygtksourceview ]; patches = [ ./subprocess.patch ]; @@ -27,10 +33,21 @@ stdenv.mkDerivation rec { doCheck = false; - meta = { - description = "A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file"; + meta = { + description = "An hierarchical note taking application"; + longDescription = '' + Cherrytree is an hierarchical note taking application, + featuring rich text, syntax highlighting and powerful search + capabilities. It organizes all information in units called + "nodes", as in a tree, and can be very useful to store any piece + of information, from tables and links to pictures and even entire + documents. All those little bits of information you have scattered + around your hard drive can be conveniently placed into a + Cherrytree document where you can easily find it. + ''; homepage = http://www.giuspen.com/cherrytree; - license = stdenv.lib.licenses.gpl3; - platforms = with stdenv.lib.platforms; linux; - }; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = [ maintainers.AndersonTorres ]; + }; } From 6ccd69872a1b7349aec68e244ede8c331874c5ba Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 25 Jul 2015 10:49:53 -0300 Subject: [PATCH 04/41] Stella: 4.6 -> 4.6.1 --- pkgs/misc/emulators/stella/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/emulators/stella/default.nix b/pkgs/misc/emulators/stella/default.nix index a2338f376a7..04976a2bb83 100644 --- a/pkgs/misc/emulators/stella/default.nix +++ b/pkgs/misc/emulators/stella/default.nix @@ -4,15 +4,14 @@ with stdenv.lib; stdenv.mkDerivation rec { name = "stella-${version}"; - version = "4.6"; + version = "4.6.1"; src = fetchurl { url = "http://downloads.sourceforge.net/project/stella/stella/${version}/${name}-src.tar.gz"; - sha256 = "03vg8cxr0hn99vrr2dcwhv610xi9vhlw08ypazpm0nny522a9j4d"; + sha256 = "126jph21b70jlxapzmll8pq36i53lb304hbsiap25160vdqid4n1"; }; - buildInputs = with stdenv.lib; - [ pkgconfig SDL2 ]; + buildInputs = [ pkgconfig SDL2 ]; meta = { description = "An open-source Atari 2600 VCS emulator"; From 1edd09964ced48a2f19bdcc55df434eecd00a21e Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 25 Jul 2015 13:30:43 -0300 Subject: [PATCH 05/41] Bochs: 2.6.7 -> 2.6.8 --- pkgs/applications/virtualization/bochs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/bochs/default.nix b/pkgs/applications/virtualization/bochs/default.nix index 914114467e6..b876403d632 100644 --- a/pkgs/applications/virtualization/bochs/default.nix +++ b/pkgs/applications/virtualization/bochs/default.nix @@ -4,7 +4,7 @@ , docbook_xml_dtd_45, docbook_xsl , sdlSupport ? true, SDL2 ? null , termSupport ? true , ncurses ? null -, wxSupport ? false, wxGTK ? null # Warning! Broken +, wxSupport ? true, wxGTK ? null # Optional, undocumented dependencies , wgetSupport ? false, wget ? null , curlSupport ? false, curl ? null @@ -19,11 +19,11 @@ assert curlSupport -> (curl != null); stdenv.mkDerivation rec { name = "bochs-${version}"; - version = "2.6.7"; + version = "2.6.8"; src = fetchurl { url = "http://downloads.sourceforge.net/project/bochs/bochs/${version}/${name}.tar.gz"; - sha256 = "10l2pgzwnmng0rd44kqv7y46nwpcc18j53h3kf3dlqlnd7mlwdd4"; + sha256 = "1kl5cmbz6qgg33j5vv9898nzdppp1rqgy24r5pv762aaj7q0ww3r"; }; # The huge list of configurable options From bdd20cedc1e573df9357aeddb64e8bb26b43e7ad Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 26 Jul 2015 01:08:05 -0300 Subject: [PATCH 06/41] IceWM: 1.3.8 -> 1.3.10 A complete rewrite in comparision to previous expression. --- .../services/x11/window-managers/icewm.nix | 17 +------ .../window-managers/icewm/default.nix | 44 ++++++++++--------- pkgs/top-level/all-packages.nix | 5 ++- 3 files changed, 29 insertions(+), 37 deletions(-) diff --git a/nixos/modules/services/x11/window-managers/icewm.nix b/nixos/modules/services/x11/window-managers/icewm.nix index 36028da453a..9a3e8022189 100644 --- a/nixos/modules/services/x11/window-managers/icewm.nix +++ b/nixos/modules/services/x11/window-managers/icewm.nix @@ -3,29 +3,16 @@ with lib; let - cfg = config.services.xserver.windowManager.icewm; - in - { - ###### interface - options = { - - services.xserver.windowManager.icewm.enable = mkOption { - default = false; - description = "Enable the IceWM window manager."; - }; - + services.xserver.windowManager.icewm.enable = mkEnableOption "oroborus"; }; - ###### implementation - config = mkIf cfg.enable { - services.xserver.windowManager.session = singleton { name = "icewm"; start = @@ -36,7 +23,5 @@ in }; environment.systemPackages = [ pkgs.icewm ]; - }; - } diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix index f3d88c55c58..b1b63df574a 100644 --- a/pkgs/applications/window-managers/icewm/default.nix +++ b/pkgs/applications/window-managers/icewm/default.nix @@ -1,35 +1,39 @@ -{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype -, fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }: +{ stdenv, fetchurl, cmake, gettext +, libjpeg, libtiff, libungif, libpng, imlib, expat +, freetype, fontconfig, pkgconfig, gdk_pixbuf +, mkfontdir, libX11, libXft, libXext, libXinerama +, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb +, libpthreadstubs }: +with stdenv.lib; stdenv.mkDerivation rec { - name = "icewm-1.3.8"; + name = "icewm-${version}"; + version = "1.3.10"; buildInputs = - [ gettext libjpeg libtiff libungif libpng - xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr - xlibs.libICE xlibs.libSM freetype fontconfig - pkgconfig gdk_pixbuf - ]; + [ cmake gettext libjpeg libtiff libungif libpng imlib expat + freetype fontconfig pkgconfig gdk_pixbuf mkfontdir libX11 + libXft libXext libXinerama libXrandr libICE libSM libXpm + libXdmcp libxcb libpthreadstubs ]; src = fetchurl { - url = "mirror://sourceforge/icewm/${name}.tar.gz"; - sha256 = "066d1mw0vm9ygxnyxksfi6k4vzclvnlkvj04pj3kbcmv1fg8sn0p"; + url = "https://github.com/bbidulock/icewm/archive/${version}.tar.gz"; + sha256 = "01i7a21gf810spmzjx32dxsmx4527qivs744rhvhaw4gr00amrns"; }; - NIX_LDFLAGS = "-lfontconfig"; - - # The fuloong2f is not supported by 1.3.6 still - # - # Don't know whether 1.3.7 supports fuloong2f and don't know how to test it - # on x86_64 hardware. So I left this 'cp' -- urkud - preConfigure = '' - cp -v ${automake}/share/automake*/config.{sub,guess} . + export cmakeFlags="-DPREFIX=$out" ''; meta = { - description = "A window manager for the X Window System"; + description = "A simple, lightweight X window manager"; + longDescription = '' + IceWM is a window manager for the X Window System. The goal of + IceWM is speed, simplicity, and not getting in the user's way. + ''; homepage = http://www.icewm.org/; - platforms = stdenv.lib.platforms.unix; + license = licenses.lgpl2; + maintainers = [ maintainers.AndersonTorres ]; + platforms = platforms.unix; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b3e7849dd1a..3a26c7510cb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11646,7 +11646,10 @@ let i810switch = callPackage ../os-specific/linux/i810switch { }; - icewm = callPackage ../applications/window-managers/icewm { }; + icewm = callPackage ../applications/window-managers/icewm { + inherit (xlibs) libX11 libXft libXext libXinerama + libXrandr libICE libSM; + }; id3v2 = callPackage ../applications/audio/id3v2 { }; From 2c1e52a960d2c12abe76d67362eb4cbf40ed8880 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 26 Jul 2015 15:37:50 +0200 Subject: [PATCH 07/41] electrum: 2.3.2 -> 2.4 --- pkgs/applications/misc/electrum/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index b910b1796a3..7aff57a6af9 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -2,11 +2,11 @@ buildPythonPackage rec { name = "electrum-${version}"; - version = "2.3.2"; + version = "2.4"; src = fetchurl { url = "https://download.electrum.org/Electrum-${version}.tar.gz"; - sha256 = "0idqm77d5rbwpw14wqg4ysvbjyqjw7zlqfcdxniy74i2qwz163bi"; + sha256 = "0z5ksr1wlywl4bpvxjmmqnsk7jh1jfjdz9lsjkhf2j391jx0wz9q"; }; propagatedBuildInputs = with pythonPackages; [ @@ -16,6 +16,7 @@ buildPythonPackage rec { protobuf pyasn1 pyasn1-modules + pycrypto pyqt4 qrcode requests From cdc58d410bafec1ff85acf0115cbdaab8210fd35 Mon Sep 17 00:00:00 2001 From: Raymond Gauthier Date: Mon, 27 Apr 2015 22:44:35 -0400 Subject: [PATCH 08/41] peru: init at 0.2.3 A project dependencies version management system built on top of multiple version management systems. --- .../version-management/peru/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/version-management/peru/default.nix diff --git a/pkgs/applications/version-management/peru/default.nix b/pkgs/applications/version-management/peru/default.nix new file mode 100644 index 00000000000..d97aee23388 --- /dev/null +++ b/pkgs/applications/version-management/peru/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, python3Packages }: + +let + version = "0.2.3"; +in + +python3Packages.buildPythonPackage rec { + + # Do not prefix name with python specific version identifier. + namePrefix = ""; + + name = "peru-${version}"; + + src = fetchFromGitHub { + owner = "buildinspace"; + repo = "peru"; + rev = "${version}"; + sha256 = "04bnaly50qmzkj0shdag94n8vr3ggarlqdny5zdb8nh31fqgln8b"; + }; + + pythonPath = with python3Packages; [ pyyaml docopt ]; + + meta = { + homepage = https://github.com/buildinspace/peru; + description = "A tool for including other people's code in your projects"; + license = stdenv.lib.licenses.mit; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index de31d5da692..aa1fdbbae26 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12381,6 +12381,8 @@ let cura = callPackage ../applications/misc/cura { }; + peru = callPackage ../applications/version-management/peru {}; + printrun = callPackage ../applications/misc/printrun { }; sddm = callPackage ../applications/display-managers/sddm { }; From e972f65f3c02b4b00db4f1e999946a3f0fbc8f2e Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 25 Jul 2015 00:00:49 +0200 Subject: [PATCH 09/41] theme-vertex: init at 20150718 --- pkgs/misc/themes/vertex/default.nix | 33 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/misc/themes/vertex/default.nix diff --git a/pkgs/misc/themes/vertex/default.nix b/pkgs/misc/themes/vertex/default.nix new file mode 100644 index 00000000000..d1c81e0af48 --- /dev/null +++ b/pkgs/misc/themes/vertex/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, pkgconfig }: + +stdenv.mkDerivation rec { + name = "theme-vertex-${version}"; + version = "20150718"; + + src = fetchFromGitHub { + owner = "horst3180"; + repo = "Vertex-theme"; + rev = version; + sha256 = "19mmybfkx3mrbm9vr78c7xiyazmyzji1n6669466svjr3jy87546"; + }; + + buildInputs = [ autoreconfHook gtk3 pkgconfig ]; + + configureFlags = "--disable-unity"; + + postInstall = '' + mkdir -p $out/share/doc/theme-vertex + cp AUTHORS COPYING README.md $out/share/doc/theme-vertex/ + + mkdir -p $out/share/doc/theme-vertex/extra + cp -r extra/{Chrome,Firefox} $out/share/doc/theme-vertex/extra + ''; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon"; + license = licenses.gpl3; + maintainer = [ maintainers.rycee ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6d4af1c6a01..85c4685f300 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14110,6 +14110,8 @@ let kde5 = kf5_stable // plasma5_stable // kdeApps_stable; + theme-vertex = callPackage ../misc/themes/vertex { }; + xfce = xfce4-12; xfce4-12 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; }); From 6cb708c3b3f03c54a98f9c543907411039303989 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sun, 26 Jul 2015 12:38:34 -0700 Subject: [PATCH 10/41] chromium: Bump --- .../browsers/chromium/source/sources.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/source/sources.nix b/pkgs/applications/networking/browsers/chromium/source/sources.nix index 6b2f542f34f..f6d663fcd14 100644 --- a/pkgs/applications/networking/browsers/chromium/source/sources.nix +++ b/pkgs/applications/networking/browsers/chromium/source/sources.nix @@ -1,10 +1,10 @@ # This file is autogenerated from update.sh in the parent directory. { dev = { - version = "45.0.2454.7"; - sha256 = "19xjdp0zxr96r2fx9wf30wldalrh393p2dhqwp2n1m751vizbj5s"; - sha256bin32 = "1id1z3m0pc2lxh4lp9r6babh098gfyz4dda931yjkxhzb9rw1v0d"; - sha256bin64 = "1sksf651z1sqgh9pwdm5dksqnb0lzhwabxj3myg4w5kxi8s4pi8l"; + version = "45.0.2454.15"; + sha256 = "1zg562cpn9ddai92jdjg3frhmvbhbkf71ysprwqa3rgbg6w8ipzj"; + sha256bin32 = "1fcwzwb6zq7ld7fs0iws0d9jmxhjhdax4y744dx4d7bc77357x3m"; + sha256bin64 = "0273dy5b1r9s9g8ixrafnxm8jnn4ha36r3b3ckdabm9y4pqwx54s"; }; beta = { version = "44.0.2403.89"; @@ -13,9 +13,9 @@ sha256bin64 = "0kvrpqy3fpfzchly65nrh8z2z2i49xpa3pm2k7k18sn0x4bycji0"; }; stable = { - version = "44.0.2403.89"; - sha256 = "161shml5w2i0crl57hkfnizgmii6d70lxxg4rjxmays8g6lrmpds"; - sha256bin32 = "09a1k0xxmp6v1nfnngfkhv9vilnwvqlbgfsisbhwdnkk86pnv7r4"; - sha256bin64 = "1i7ylif5vd0yj0gddl2kv87gh3vgzvzmz91rrrs9za2bkf2gkf0p"; + version = "44.0.2403.107"; + sha256 = "0w9xk2jrpp98fgszswr5jc0g5ggpm8rfxqzxa8402n7iwkxlyqyh"; + sha256bin32 = "0x4j5ggb2dh56lz5fg2h79lvp92rgsk59gi5h3ml678vcghzyfvn"; + sha256bin64 = "0nhm9783b314dmicqky3424ak4z6xhb6rjia12pq2ajddz9qj9rj"; }; } From 165406e1af81e156ed1c852d6031cd8fe646501e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:11:17 +0200 Subject: [PATCH 11/41] nvidia-x11: Remove runtime dependency on linux.dev --- pkgs/os-specific/linux/nvidia-x11/builder.sh | 6 ++++-- pkgs/os-specific/linux/nvidia-x11/default.nix | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 5edadeda81b..47ca3d120a5 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -47,8 +47,10 @@ installPhase() { # Install the kernel module. mkdir -p $out/lib/modules/$kernelVersion/misc - cp kernel/nvidia.ko $out/lib/modules/$kernelVersion/misc - cp kernel/uvm/nvidia-uvm.ko $out/lib/modules/$kernelVersion/misc + for i in kernel/nvidia.ko kernel/uvm/nvidia-uvm.ko; do + nuke-refs $i + cp $i $out/lib/modules/$kernelVersion/misc/ + done fi # All libs except GUI-only are in $out now, so fixup them. diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index a1278af8084..66b1a81d2e4 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, kernel ? null, xlibs, zlib, perl -, gtk, atk, pango, glib, gdk_pixbuf, cairo +, gtk, atk, pango, glib, gdk_pixbuf, cairo, nukeReferences , # Whether to build the libraries only (i.e. not the kernel module or # nvidia-settings). Used to support 32-bit binaries on 64-bit # Linux. @@ -52,7 +52,9 @@ stdenv.mkDerivation { [ gtk atk pango glib gdk_pixbuf cairo ] ); programPath = makeLibraryPath [ xlibs.libXv ]; - buildInputs = [ perl ]; + buildInputs = [ perl nukeReferences ]; + + disallowedReferences = if libsOnly then [] else [ kernel.dev ]; meta = with stdenv.lib.meta; { homepage = http://www.nvidia.com/object/unix.html; From 43f331a8740a5a45184ff05caaaeb0c34ba67fe9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:13:45 +0200 Subject: [PATCH 12/41] mpv: Don't enable JACK support by default Packages should not depend on JACK by default to reduce dependency bloat. Issue #8990. --- pkgs/applications/video/mpv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 1be0f5b9e0a..5ac70413d16 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -12,7 +12,7 @@ , bluraySupport ? true, libbluray ? null , speexSupport ? true, speex ? null , theoraSupport ? true, libtheora ? null -, jackaudioSupport ? true, libjack2 ? null +, jackaudioSupport ? false, libjack2 ? null , pulseSupport ? true, libpulseaudio ? null , bs2bSupport ? true, libbs2b ? null # For screenshots From f64589b2ef750fc43c989dc35fbf196bfdafa4ea Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:16:35 +0200 Subject: [PATCH 13/41] firewall: Don't depend on ipset NixOS doesn't use it, so no reason to include it. --- nixos/modules/services/networking/firewall.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix index 40681f5b957..21f8ae243a7 100644 --- a/nixos/modules/services/networking/firewall.nix +++ b/nixos/modules/services/networking/firewall.nix @@ -443,7 +443,7 @@ in networking.firewall.trustedInterfaces = [ "lo" ]; - environment.systemPackages = [ pkgs.iptables pkgs.ipset ]; + environment.systemPackages = [ pkgs.iptables ]; boot.kernelModules = map (x: "nf_conntrack_${x}") cfg.connectionTrackingModules; boot.extraModprobeConfig = optionalString (!cfg.autoLoadConntrackHelpers) '' @@ -462,7 +462,7 @@ in before = [ "network-pre.target" ]; after = [ "systemd-modules-load.service" ]; - path = [ pkgs.iptables pkgs.ipset ]; + path = [ pkgs.iptables ]; # FIXME: this module may also try to load kernel modules, but # containers don't have CAP_SYS_MODULE. So the host system had From ecae014ddbcac09c204e2076a8dd69c9f7bc7487 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:37:57 +0200 Subject: [PATCH 14/41] gnutls: Don't depend on trousers by default Let's keep the base system free of "trusted" computing crap... --- pkgs/development/libraries/gnutls/generic.nix | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/gnutls/generic.nix b/pkgs/development/libraries/gnutls/generic.nix index 07760933935..436f6beb54e 100644 --- a/pkgs/development/libraries/gnutls/generic.nix +++ b/pkgs/development/libraries/gnutls/generic.nix @@ -1,5 +1,6 @@ -{ fetchurl, stdenv, autoreconfHook, zlib, lzo, libtasn1, nettle, pkgconfig, lzip -, guileBindings, guile, perl, gmp, libidn, p11_kit, unbound, trousers +{ lib, fetchurl, stdenv, autoreconfHook, zlib, lzo, libtasn1, nettle, pkgconfig, lzip +, guileBindings, guile, perl, gmp, libidn, p11_kit, unbound +, tpmSupport ? false, trousers # Version dependent args , version, src, patches ? [] @@ -7,9 +8,6 @@ assert guileBindings -> guile != null; -let - inherit (stdenv.lib) optional optionals optionalString; -in stdenv.mkDerivation rec { name = "gnutls-${version}"; @@ -17,11 +15,11 @@ stdenv.mkDerivation rec { configureFlags = # FIXME: perhaps use $SSL_CERT_FILE instead - optional stdenv.isLinux "--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt" + lib.optional stdenv.isLinux "--with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt" ++ [ "--disable-dependency-tracking" "--enable-fast-install" - ] ++ optionals guileBindings + ] ++ lib.optional guileBindings [ "--enable-guile" "--with-guile-site-dir=\${out}/share/guile/site" ]; # Build of the Guile bindings is not parallel-safe. See @@ -30,9 +28,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = !guileBindings; buildInputs = [ lzo lzip nettle libtasn1 libidn p11_kit zlib gmp ] - ++ optional stdenv.isLinux trousers + ++ lib.optional (tpmSupport && stdenv.isLinux) trousers ++ [ unbound ] - ++ optional guileBindings guile; + ++ lib.optional guileBindings guile; nativeBuildInputs = [ perl pkgconfig autoreconfHook ]; @@ -41,14 +39,14 @@ stdenv.mkDerivation rec { doCheck = (!stdenv.isFreeBSD && !stdenv.isDarwin); # Fixup broken libtool and pkgconfig files - preFixup = optionalString (!stdenv.isDarwin) '' - sed -e 's,-ltspi,-L${trousers}/lib -ltspi,' \ + preFixup = lib.optionalString (!stdenv.isDarwin) '' + sed ${lib.optionalString tpmSupport "-e 's,-ltspi,-L${trousers}/lib -ltspi,'"} \ -e 's,-lz,-L${zlib}/lib -lz,' \ -e 's,-lgmp,-L${gmp}/lib -lgmp,' \ -i $out/lib/libgnutls.la $out/lib/pkgconfig/gnutls.pc ''; - meta = with stdenv.lib; { + meta = with lib; { description = "The GNU Transport Layer Security Library"; longDescription = '' From 689897088ce3e9a80edfff10866a8c05459e0c1d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:44:26 +0200 Subject: [PATCH 15/41] cups: Don't depend on OpenSSL Afaict, it doesn't use OpenSSL, just GNU/TLS. --- pkgs/misc/cups/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 0018a2762e7..bcd27d68ce0 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, libpng, libtiff, pam, openssl +{ stdenv, fetchurl, pkgconfig, zlib, libjpeg, libpng, libtiff, pam , dbus, acl, gmp, xdg_utils , libusb ? null, gnutls ? null, avahi ? null, libpaper ? null }: @@ -19,7 +19,7 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb gnutls avahi libpaper ] ++ optionals stdenv.isLinux [ pam dbus.libs acl xdg_utils ] ; - propagatedBuildInputs = [ openssl gmp ]; + propagatedBuildInputs = [ gmp ]; configureFlags = [ "--localstatedir=/var" From 4f6b1565c734b4966e6467ee8ad07341c3199d72 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:48:16 +0200 Subject: [PATCH 16/41] gnutls: Fix double application of callPackage --- pkgs/top-level/all-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 710a532113b..02a78deeb8f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6408,11 +6408,13 @@ let gnutls = gnutls34; - gnutls33 = callPackage ../development/libraries/gnutls/3.3.nix { + gnutls33 = import ../development/libraries/gnutls/3.3.nix { + inherit callPackage fetchurl; guileBindings = config.gnutls.guile or false; }; - gnutls34 = callPackage ../development/libraries/gnutls/3.4.nix { + gnutls34 = import ../development/libraries/gnutls/3.4.nix { + inherit callPackage fetchurl; guileBindings = config.gnutls.guile or false; }; From fc4c20aefed34001cb9cdcb10f82d01aa9b04f16 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:48:51 +0200 Subject: [PATCH 17/41] Remove unused gnutls variants --- pkgs/top-level/all-packages.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 02a78deeb8f..7a62c52fd09 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6418,10 +6418,6 @@ let guileBindings = config.gnutls.guile or false; }; - gnutls33_with_guile = lowPrio (gnutls33.override { guileBindings = true; }); - - gnutls34_with_guile = lowPrio (gnutls34.override { guileBindings = true; }); - gpac = callPackage ../applications/video/gpac { }; gpgme = callPackage ../development/libraries/gpgme { From fc1077c9fbb526403aac00e24a6b641df6143ba5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 12:56:34 +0200 Subject: [PATCH 18/41] libsoup: Don't enable GNOME support by default This bloats packages (like GStreamer) that depend on libsoup. --- pkgs/development/libraries/libsoup/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index 82629ca3c6f..2be8ce3e3d1 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, glib, libxml2, pkgconfig -, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking, gobjectIntrospection +, gnomeSupport ? false, libgnome_keyring, sqlite, glib_networking, gobjectIntrospection , libintlOrEmpty , intltool, python }: let From 48efe637acac8558a9401a15ff0ed14eef3f6750 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:01:11 +0200 Subject: [PATCH 19/41] xdg-utils: Don't depend on "which" --- pkgs/tools/X11/xdg-utils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index 6f306a86891..c010884abdd 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { substituteInPlace $item --replace "sed " "${gnused}/bin/sed " substituteInPlace $item --replace "egrep " "${gnugrep}/bin/egrep " sed -i $item -re "s#([^e])grep #\1${gnugrep}/bin/grep #g" # Don't replace 'egrep' - substituteInPlace $item --replace "which " "${which}/bin/which " + substituteInPlace $item --replace "which " "type -P " substituteInPlace $item --replace "/usr/bin/file" "${file}/bin/file" done ''; From b07de4bf8b3dcef46ccf154cf6e08b0a22ec55ff Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:05:49 +0200 Subject: [PATCH 20/41] libsoup: Don't install docs --- pkgs/development/libraries/libsoup/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index 2be8ce3e3d1..12bb589cd9f 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation { NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; + postInstall = "rm -rf $out/share/gtk-doc"; + meta = { inherit (glib.meta) maintainers platforms; }; From 8799287a8474d1fb45e50087da48cde8adf95d70 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:21:05 +0200 Subject: [PATCH 21/41] Bump the default version of PostgreSQL to 9.4 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7a62c52fd09..c8347021bbc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9102,7 +9102,7 @@ let libmemcached = null; # Detection is broken upstream }; - postgresql = postgresql92; + postgresql = postgresql94; postgresql90 = callPackage ../servers/sql/postgresql/9.0.x.nix { }; From c4a399f1065b04de2e196ec409173a0b7d224af1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:24:32 +0200 Subject: [PATCH 22/41] mariadb: Don't install static libraries Issue #8990. --- pkgs/servers/sql/mariadb/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index 27383721ceb..c8e9831f703 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -104,6 +104,9 @@ stdenv.mkDerivation rec { # Make sure to propagate lib for compatability mkdir -p $out/nix-support echo "$lib" > $out/nix-support/propagated-native-build-inputs + + # Don't install static libraries. + rm $lib/lib/libmysqlclient.a $lib/lib/libmysqld.a ''; passthru.mysqlVersion = "5.6"; From f7e13ad70c08011a6bb915858e3c3e34febae9fc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:27:03 +0200 Subject: [PATCH 23/41] postgresql: Move docs to separate output This cuts almost 15 MB. --- pkgs/servers/sql/postgresql/9.0.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.1.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.2.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.3.x.nix | 2 ++ pkgs/servers/sql/postgresql/9.4.x.nix | 2 ++ 5 files changed, 10 insertions(+) diff --git a/pkgs/servers/sql/postgresql/9.0.x.nix b/pkgs/servers/sql/postgresql/9.0.x.nix index ef7e5d3797f..4249b40c5c4 100644 --- a/pkgs/servers/sql/postgresql/9.0.x.nix +++ b/pkgs/servers/sql/postgresql/9.0.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "19gq6axjhvlr5zlrzwnll1fbrvai4xh0nb1jki6gmmschl6v5m4l"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; LC_ALL = "C"; diff --git a/pkgs/servers/sql/postgresql/9.1.x.nix b/pkgs/servers/sql/postgresql/9.1.x.nix index 7616f92ca62..09f468b50bb 100644 --- a/pkgs/servers/sql/postgresql/9.1.x.nix +++ b/pkgs/servers/sql/postgresql/9.1.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1a44hmcvfaa8j169ladsibmvjakw6maaxqkzz1ab8139cqkda9i7"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; enableParallelBuilding = true; diff --git a/pkgs/servers/sql/postgresql/9.2.x.nix b/pkgs/servers/sql/postgresql/9.2.x.nix index 51a265da785..6b0792f50cd 100644 --- a/pkgs/servers/sql/postgresql/9.2.x.nix +++ b/pkgs/servers/sql/postgresql/9.2.x.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0i3avdr8mnvn6ldkx0hc4jmclhisb2338hzs0j2m03wck8hddjsx"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ]; enableParallelBuilding = true; diff --git a/pkgs/servers/sql/postgresql/9.3.x.nix b/pkgs/servers/sql/postgresql/9.3.x.nix index 3e0b7d4a76e..d45cdadf1e9 100644 --- a/pkgs/servers/sql/postgresql/9.3.x.nix +++ b/pkgs/servers/sql/postgresql/9.3.x.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { sha256 = "0j85j69rf54cwz5yhrhk4ca22b82990j5sqb8cr1fl9843nd0fzp"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ]; diff --git a/pkgs/servers/sql/postgresql/9.4.x.nix b/pkgs/servers/sql/postgresql/9.4.x.nix index cdb689fc110..d09a6528222 100644 --- a/pkgs/servers/sql/postgresql/9.4.x.nix +++ b/pkgs/servers/sql/postgresql/9.4.x.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { sha256 = "04q07g209y99xzjh88y52qpvz225rxwifv8nzp3bxzfni2bdk3jk"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ zlib readline openssl ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ]; From d24a5a49ea34c1690c4a142bfce6e9724ba87c44 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:54:53 +0200 Subject: [PATCH 24/41] kde-workspace: Disable gpsd dependency This dependency causes substantial system bloat: gpsd depends on pythonFull, which in turn depends on tcl/tk, etc. --- pkgs/desktops/kde-4.14/kde-workspace.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/kde-4.14/kde-workspace.nix b/pkgs/desktops/kde-4.14/kde-workspace.nix index c3af4f71442..75863e1fe99 100644 --- a/pkgs/desktops/kde-4.14/kde-workspace.nix +++ b/pkgs/desktops/kde-4.14/kde-workspace.nix @@ -13,7 +13,7 @@ kde { xorg.libxkbfile xorg.libXcomposite xorg.libXtst xorg.libXdamage xorg.libXft - python boost qjson lm_sensors gpsd libraw1394 pciutils udev + python boost qjson lm_sensors /* gpsd */ libraw1394 pciutils udev akonadi pam libusb1 libqalculate kdepimlibs prison kactivities ]; From 6a91bf20c814a1ce9abc03f1de10b894289ebaf6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:58:19 +0200 Subject: [PATCH 25/41] groff: Move docs to separate output This cuts the size of the package by ~10 MB. --- pkgs/tools/text/groff/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index b0421a8ed0d..039bff8c655 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1998v2kcs288d3y7kfxpvl369nqi06zbbvjzafyvyl3pr7bajj1s"; }; + outputs = [ "out" "doc" ]; + enableParallelBuilding = false; buildInputs = [ ghostscript ]; From a2ddbc422f067c09505b6e78245bea7e7058eb82 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 14:04:54 +0200 Subject: [PATCH 26/41] xapian: Move docs to separate output This reduces xapian's "out" from 9.1 to 3.3 MB. --- pkgs/development/libraries/xapian/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix index a9334f31ecd..89f97292d39 100644 --- a/pkgs/development/libraries/xapian/default.nix +++ b/pkgs/development/libraries/xapian/default.nix @@ -9,9 +9,11 @@ stdenv.mkDerivation rec { sha256 = "0grd2s6gf8yzqwdaa50g57j9d81mxkrrpkyldm2shgyizdc8gx33"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ libuuid zlib ]; - meta = { + meta = { description = "Search engine library"; homepage = http://xapian.org/; license = stdenv.lib.licenses.gpl2Plus; From f98c7f2976e9a65da5548c3cad7173e88da9e0e6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 14:11:20 +0200 Subject: [PATCH 27/41] More docs in separate outputs --- pkgs/development/libraries/libqalculate/default.nix | 2 ++ pkgs/development/libraries/openexr/default.nix | 2 ++ pkgs/tools/package-management/nix/default.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pkgs/development/libraries/libqalculate/default.nix b/pkgs/development/libraries/libqalculate/default.nix index bf1a1e232bb..3d9a288b5bb 100644 --- a/pkgs/development/libraries/libqalculate/default.nix +++ b/pkgs/development/libraries/libqalculate/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "0mbrc021dk0ayyglk4qyf9328cayrlz2q94lh8sh9l9r6g79fvcs"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ intltool pkgconfig ]; propagatedBuildInputs = [ cln libxml2 glib ]; diff --git a/pkgs/development/libraries/openexr/default.nix b/pkgs/development/libraries/openexr/default.nix index 71420ba425c..738e7d87af6 100644 --- a/pkgs/development/libraries/openexr/default.nix +++ b/pkgs/development/libraries/openexr/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "0ca2j526n4wlamrxb85y2jrgcv0gf21b3a19rr0gh4rjqkv1581n"; }; + outputs = [ "out" "doc" ]; + preConfigure = '' ./bootstrap ''; diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index d64e194e93e..588aaf8b612 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { sha256 = "8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1"; }; + outputs = [ "out" "doc" ]; + nativeBuildInputs = [ perl pkgconfig ]; buildInputs = [ curl openssl sqlite ] ++ lib.optional stdenv.isLinux libsodium; From 0c91c169c0489bae5aed18992458a7f8767686ea Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 14:52:34 +0200 Subject: [PATCH 28/41] ghostscript: Get rid of docs/examples --- pkgs/misc/ghostscript/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index c521e156f8e..11f816dbb97 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -72,6 +72,8 @@ stdenv.mkDerivation rec { done rm -rf $out/lib/cups/filter/{gstopxl,gstoraster} + + rm -rf $out/share/ghostscript/*/{doc,examples} ''; meta = { From a68de0cc168f443ce65367bd8ce5e8d77b2e236a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 17:44:27 +0200 Subject: [PATCH 29/41] Revert "geeqie: update from 1.1 to 1.2" This reverts commit 82e07fb1e88c176b5e0711a8afa68867d643896f. See fee59b1235e658954b207ff6679264654c4708d2. --- pkgs/applications/graphics/geeqie/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix index e1eb7bb5a7b..e2cc0ec5c01 100644 --- a/pkgs/applications/graphics/geeqie/default.nix +++ b/pkgs/applications/graphics/geeqie/default.nix @@ -1,22 +1,21 @@ -{ stdenv, fetchurl, pkgconfig, autoconf, automake, gtk, libpng, exiv2 -, lcms, intltool, gettext, fbida +{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2 +, lcms, intltool, gettext, libchamplain, fbida }: stdenv.mkDerivation rec { name = "geeqie-${version}"; - version = "1.2"; + version = "1.1"; # Don't upgrade to 1.2; see fee59b1235e658954b207ff6679264654c4708d2. src = fetchurl { - url = "mirror://debian/pool/main/g/geeqie/geeqie_${version}.orig.tar.gz"; - sha256 = "0wkcpyh3f6ig36x1q6h9iqgq225w37visip48m72j8rpghmv1rn3"; + url = "mirror://sourceforge/geeqie/${name}.tar.gz"; + sha256 = "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m"; }; - preConfigure = "./autogen.sh"; - configureFlags = [ "--enable-gps" ]; buildInputs = [ - pkgconfig autoconf automake gtk libpng exiv2 lcms intltool gettext + pkgconfig gtk libpng exiv2 lcms intltool gettext + #libchamplain ]; postInstall = '' From 7f0a596473227a4cda01cb427a06e10332ec86ca Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 23:33:49 +0200 Subject: [PATCH 30/41] imagemagick: Reduce dependency bloat The closure size of imagemagick has recently gone up from 530 MB (already bad) to 846 MB, which is a bit excessive. So revert most of the recent changes. --- .../graphics/ImageMagick/default.nix | 84 ++++--------------- pkgs/top-level/all-packages.nix | 3 +- 2 files changed, 18 insertions(+), 69 deletions(-) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index 7ae24b38c01..e18686d989a 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -1,11 +1,6 @@ -{ stdenv, fetchurl, pkgconfig, libtool -, libcl ? null, perl ? null, jemalloc ? null, bzip2 ? null, zlib ? null -, libX11 ? null, libXext ? null, libXt ? null, dejavu_fonts ? null, fftw ? null -, libfpx ? null, djvulibre ? null, fontconfig ? null, freetype ? null -, ghostscript ? null, graphviz ? null, jbigkit ? null, libjpeg ? null -, lcms2 ? null, openjpeg ? null, liblqr1 ? null, xz ? null, openexr ? null -, pango ? null, libpng ? null, librsvg ? null, libtiff ? null, libwebp ? null -, libxml2 ? null +{ lib, stdenv, fetchurl, pkgconfig, libtool +, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg +, lcms2, openexr, libpng, librsvg, libtiff, libxml2 }: let @@ -17,15 +12,8 @@ let else if stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin" then "x86-64" else throw "ImageMagick is not supported on this platform."; - mkFlag = trueStr: falseStr: cond: val: "--${if cond then trueStr else falseStr}-${val}"; - mkWith = mkFlag "with" "without"; - mkEnable = mkFlag "enable" "disable"; - - hasX11 = libX11 != null && libXext != null && libXt != null; - in -with stdenv.lib; stdenv.mkDerivation rec { name = "imagemagick-${version}"; @@ -36,60 +24,22 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - configureFlags = [ - (mkEnable (libcl != null) "opencl") - (mkWith true "modules") - (mkWith true "gcc-arch=${arch}") - #(mkEnable true "hdri") This breaks some dependencies - (mkWith (perl != null) "perl") - (mkWith (jemalloc != null) "jemalloc") - (mkWith true "frozenpaths") - (mkWith (bzip2 != null) "bzlib") - (mkWith hasX11 "x") - (mkWith (zlib != null) "zlib") - (mkWith false "dps") - (mkWith (fftw != null) "fftw") - (mkWith (libfpx != null) "fpx") - (mkWith (djvulibre != null) "djvu") - (mkWith (fontconfig != null) "fontconfig") - (mkWith (freetype != null) "freetype") - (mkWith (ghostscript != null) "gslib") - (mkWith (graphviz != null) "gvc") - (mkWith (jbigkit != null) "jbig") - (mkWith (libjpeg != null) "jpeg") - (mkWith (lcms2 != null) "lcms2") - (mkWith false "lcms") - (mkWith (openjpeg != null) "openjp2") - (mkWith (liblqr1 != null) "lqr") - (mkWith (xz != null) "lzma") - (mkWith (openexr != null) "openexr") - (mkWith (pango != null) "pango") - (mkWith (libpng != null) "png") - (mkWith (librsvg != null) "rsvg") - (mkWith (libtiff != null) "tiff") - (mkWith (libwebp != null) "webp") - (mkWith (libxml2 != null) "xml") - ] ++ optional (dejavu_fonts != null) "--with-dejavu-font-dir=${dejavu_fonts}/share/fonts/truetype/" - ++ optional (ghostscript != null) "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts/"; + configureFlags = + [ "--with-frozenpaths" ] + ++ [ "--with-gcc-arch=${arch}" ] + ++ lib.optional (librsvg != null) "--with-rsvg" + ++ lib.optionals (ghostscript != null) + [ "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts" + "--with-gslib" + ]; - buildInputs = [ - pkgconfig libtool libcl perl jemalloc bzip2 zlib libX11 libXext libXt fftw - libfpx djvulibre fontconfig freetype ghostscript graphviz jbigkit libjpeg - lcms2 openjpeg liblqr1 xz openexr pango libpng librsvg libtiff libwebp - libxml2 - ]; + buildInputs = + [ pkgconfig libtool zlib fontconfig freetype ghostscript libjpeg + openexr libpng librsvg libtiff libxml2 + ]; - propagatedBuildInputs = [] - ++ (stdenv.lib.optional (lcms2 != null) lcms2) - ++ (stdenv.lib.optional (liblqr1 != null) liblqr1) - ++ (stdenv.lib.optional (fftw != null) fftw) - ++ (stdenv.lib.optional (libtool != null) libtool) - ++ (stdenv.lib.optional (jemalloc != null) jemalloc) - ++ (stdenv.lib.optional (libXext != null) libXext) - ++ (stdenv.lib.optional (libX11 != null) libX11) - ++ (stdenv.lib.optional (libXt != null) libXt) - ++ (stdenv.lib.optional (bzip2 != null) bzip2) - ; + propagatedBuildInputs = + [ bzip2 freetype libjpeg libX11 libXext libXt lcms2 ]; postInstall = ''(cd "$out/include" && ln -s ImageMagick* ImageMagick)''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c8347021bbc..561f68440e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11719,8 +11719,7 @@ let }; imagemagick = callPackage ../applications/graphics/ImageMagick { - ghostscript = if stdenv.isDarwin then null else ghostscript; - perl = null; # Currently Broken + ghostscript = null; }; imagemagickBig = imagemagick; From 7e8165b27714f66f553b54481c69760f592329c9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 23:39:24 +0200 Subject: [PATCH 31/41] imagemagick: Move docs to separate output This reduces the size of out from 21 MB to 8.7 MB. --- pkgs/applications/graphics/ImageMagick/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index e18686d989a..683e2721d87 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -22,6 +22,8 @@ stdenv.mkDerivation rec { sha256 = "03lvj6rxv16xk0dpsbzvm2gq5bggkwff9wqbpkq0znihzijpax1j"; }; + outputs = [ "out" "doc" ]; + enableParallelBuilding = true; configureFlags = From f07b2121f9dc23f6a69bbc815e7991c7f52fe551 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Jul 2015 01:07:13 +0200 Subject: [PATCH 32/41] Fix grub-reboot --- .../modules/system/boot/loader/grub/install-grub.pl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index 34bff727b73..af39e50ff72 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -237,6 +237,7 @@ else { $conf .= " " . $grubStore->search; } + # FIXME: should use grub-mkconfig. $conf .= " " . $grubBoot->search . " if [ -s \$prefix/grubenv ]; then @@ -245,14 +246,12 @@ else { # ‘grub-reboot’ sets a one-time saved entry, which we process here and # then delete. - if [ \"\${saved_entry}\" ]; then - # The next line *has* to look exactly like this, otherwise KDM's - # reboot feature won't work properly with GRUB 2. + if [ \"\${next_entry}\" ]; then + # FIXME: KDM expects the next line to be present. set default=\"\${saved_entry}\" - set saved_entry= - set prev_saved_entry= - save_env saved_entry - save_env prev_saved_entry + set default=\"\${next_entry}\" + set next_entry= + save_env next_entry set timeout=1 else set default=$defaultEntry From abc7c1b013ac2dc9a86e3161c6913062550cca13 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sun, 26 Jul 2015 16:32:59 -0700 Subject: [PATCH 33/41] nixos/firewall: Add the ability to specify additional packages for extraCommands --- nixos/modules/services/networking/firewall.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix index 21f8ae243a7..a61f0250ef8 100644 --- a/nixos/modules/services/networking/firewall.nix +++ b/nixos/modules/services/networking/firewall.nix @@ -420,6 +420,16 @@ in ''; }; + networking.firewall.extraPackages = mkOption { + default = [ ]; + example = [ pkgs.ipset ]; + description = + '' + Additional packages to be included in the environment of the system + as well as the path of networking.firewall.extraCommands. + ''; + }; + networking.firewall.extraStopCommands = mkOption { type = types.lines; default = ""; @@ -443,7 +453,7 @@ in networking.firewall.trustedInterfaces = [ "lo" ]; - environment.systemPackages = [ pkgs.iptables ]; + environment.systemPackages = [ pkgs.iptables ] ++ cfg.extraPackages; boot.kernelModules = map (x: "nf_conntrack_${x}") cfg.connectionTrackingModules; boot.extraModprobeConfig = optionalString (!cfg.autoLoadConntrackHelpers) '' @@ -462,7 +472,7 @@ in before = [ "network-pre.target" ]; after = [ "systemd-modules-load.service" ]; - path = [ pkgs.iptables ]; + path = [ pkgs.iptables ] ++ cfg.extraPackages; # FIXME: this module may also try to load kernel modules, but # containers don't have CAP_SYS_MODULE. So the host system had From 10f419dae4d01eda1e80ed2197d08721ef7f80cb Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 26 Jul 2015 23:22:12 +0200 Subject: [PATCH 34/41] redshift: fix dependencies, make configurable --- pkgs/applications/misc/redshift/default.nix | 39 +++++++++++++++------ 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix index 244464130be..dc799bd6ff5 100644 --- a/pkgs/applications/misc/redshift/default.nix +++ b/pkgs/applications/misc/redshift/default.nix @@ -1,7 +1,16 @@ -{ fetchurl, stdenv, gettext, geoclue, intltool, makeWrapper -, pkgconfig , python, pygobject3, pyxdg }: +{ fetchurl, stdenv, gettext, intltool, pkgconfig, makeWrapper +, geoclue, python, pygobject3, pyxdg +, libdrm, libX11, libxcb, libXxf86vm +, guiSupport ? true +, drmSupport ? true +, randrSupport ? true +, vidModeSupport ? true +}: -let version = "1.10"; in +let + version = "1.10"; + mkFlag = flag: name: if flag then "--enable-${name}" else "--disable-${name}"; +in stdenv.mkDerivation { name = "redshift-${version}"; src = fetchurl { @@ -9,19 +18,29 @@ stdenv.mkDerivation { url = "https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz"; }; - buildInputs = [ - gettext intltool makeWrapper pkgconfig python pygobject3 pyxdg + buildInputs = [ geoclue ] + ++ stdenv.lib.optional guiSupport [ python pygobject3 pyxdg ] + ++ stdenv.lib.optional drmSupport [ libdrm ] + ++ stdenv.lib.optional randrSupport [ libxcb ] + ++ stdenv.lib.optional vidModeSupport [ libX11 libXxf86vm ]; + nativeBuildInputs = [ gettext intltool makeWrapper pkgconfig ]; + + configureFlags = [ + (mkFlag guiSupport "gui") + (mkFlag drmSupport "drm") + (mkFlag randrSupport "randr") + (mkFlag vidModeSupport "vidmode") ]; - preInstall = '' + preInstall = stdenv.lib.optionalString guiSupport '' substituteInPlace src/redshift-gtk/redshift-gtk python \ --replace "/usr/bin/env python3" "${python}/bin/${python.executable}" ''; -/* - postInstall = '' - wrapProgram "$out/bin/redshift-gtk" --prefix PYTHONPATH : $PYTHONPATH + + postInstall = stdenv.lib.optionalString guiSupport '' + wrapProgram "$out/bin/redshift-gtk" --prefix PYTHONPATH : "$PYTHONPATH" ''; -*/ + meta = with stdenv.lib; { inherit version; description = "Gradually change screen color temperature"; From 77d33f77d7cffa9e53c780398ae0fadc8dd0eda5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 26 Jul 2015 23:32:43 +0200 Subject: [PATCH 35/41] nixos: redshift service: add extraOptions --- nixos/modules/services/x11/redshift.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix index 99d19f6ab15..f164b47fc86 100644 --- a/nixos/modules/services/x11/redshift.nix +++ b/nixos/modules/services/x11/redshift.nix @@ -47,6 +47,13 @@ in { type = types.str; }; }; + + services.redshift.extraOptions = mkOption { + type = types.listOf types.str; + default = []; + example = [ "-v" "-m randr" ]; + description = "Additional command-line arguments to pass to the redshift(1) command"; + }; }; config = mkIf cfg.enable { @@ -59,7 +66,8 @@ in { ${pkgs.redshift}/bin/redshift \ -l ${cfg.latitude}:${cfg.longitude} \ -t ${toString cfg.temperature.day}:${toString cfg.temperature.night} \ - -b ${toString cfg.brightness.day}:${toString cfg.brightness.night} + -b ${toString cfg.brightness.day}:${toString cfg.brightness.night} \ + ${cfg.extraOptions} ''; environment = { DISPLAY = ":0"; }; serviceConfig.Restart = "always"; From 08f866d88701e4ca7769ab59d5402416ef59ee70 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2015 01:16:57 +0200 Subject: [PATCH 36/41] xdelta: 3.0.9 -> 3.0.10 --- pkgs/tools/compression/xdelta/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/compression/xdelta/default.nix b/pkgs/tools/compression/xdelta/default.nix index 68c4ea809be..bf02d8c3a0a 100644 --- a/pkgs/tools/compression/xdelta/default.nix +++ b/pkgs/tools/compression/xdelta/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchFromGitHub, autoreconfHook }: -let version = "3.0.9"; in +let version = "3.0.10"; in stdenv.mkDerivation rec { name = "xdelta-${version}"; src = fetchFromGitHub { - sha256 = "1pd7dyq44dbggmwkrr8251anqsf2an67zbvrk4vfnc92jkmjp17i"; + sha256 = "0wwxdr01var3f90iwi1lgjpsa4y549g850hyyix5cm0qk67ck4rg"; rev = "v${version}"; repo = "xdelta-devel"; owner = "jmacd"; From e8596c189f3a0e47feae828b665b1a0f9549cac1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2015 01:37:17 +0200 Subject: [PATCH 37/41] colordiff: 1.0.13 -> 1.0.15 Changes: - Big improvements to side-by-side diff detection - Additional colordiffrc example colour scheme file to match 'git diff' - Misc fixes --- pkgs/tools/text/colordiff/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/colordiff/default.nix b/pkgs/tools/text/colordiff/default.nix index 34221d80366..18eae754f4f 100644 --- a/pkgs/tools/text/colordiff/default.nix +++ b/pkgs/tools/text/colordiff/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, perl /*, xmlto */}: stdenv.mkDerivation { - name = "colordiff-1.0.13"; + name = "colordiff-1.0.15"; src = fetchurl { - url = http://www.colordiff.org/colordiff-1.0.13.tar.gz; - sha256 = "0akcz1p3klsjnhwcqdfq4grs6paljc5c0jzr3mqla5f862hhaa6f"; + url = http://www.colordiff.org/colordiff-1.0.15.tar.gz; + sha256 = "0icx4v2h1gy08vhh3qqi2qfyfjp37vgj27hq1fnjz83bg7ly8pjr"; }; buildInputs = [ perl /* xmlto */ ]; @@ -19,5 +19,6 @@ stdenv.mkDerivation { homepage = http://www.colordiff.org/; license = licenses.gpl3; platforms = platforms.linux; + maintainer = with maintainers; [ nckx ]; }; } From 4d20fb5f4428ab9998cea626eb33658a115b5486 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2015 01:52:24 +0200 Subject: [PATCH 38/41] putty: 0.64 -> 0.65 --- pkgs/applications/networking/remote/putty/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix index fe89ce61604..dda847fde07 100644 --- a/pkgs/applications/networking/remote/putty/default.nix +++ b/pkgs/applications/networking/remote/putty/default.nix @@ -1,20 +1,20 @@ { stdenv, fetchurl, ncurses, gtk, pkgconfig, autoconf, automake, perl, halibut, libtool }: stdenv.mkDerivation rec { - version = "0.64"; + version = "0.65"; name = "putty-${version}"; src = fetchurl { url = "http://the.earth.li/~sgtatham/putty/latest/${name}.tar.gz"; - sha256 = "089qbzd7w51sc9grm2x3lcbj61jdqsnakb4j4gnf6i2131xcjiia"; + sha256 = "180ccrsyh775hdmxqdnbclfbvsfdp2zk3gsadpa53sj497yw2hym"; }; preConfigure = '' perl mkfiles.pl ( cd doc ; make ); - sed '/AM_PATH_GTK(/d' -i unix/configure.ac - sed '/AC_OUTPUT/iAM_PROG_CC_C_O' -i unix/configure.ac - sed '/AC_OUTPUT/iAM_PROG_AR' -i unix/configure.ac + sed -e '/AM_PATH_GTK(/d' \ + -e '/AC_OUTPUT/iAM_PROG_CC_C_O' \ + -e '/AC_OUTPUT/iAM_PROG_AR' -i configure.ac ./mkauto.sh cd unix ''; From 4d3434da9496dfd04f6df6c706e5d9c62554e1c0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2015 02:03:54 +0200 Subject: [PATCH 39/41] all-packages: remove orphaned ImageMagick arguments Quick fix: evaluation was broken by fallout from 7f0a596. --- pkgs/top-level/all-packages.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 561f68440e4..e7f93aedfc2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11687,34 +11687,20 @@ let }; imagemagick_light = imagemagick.override { - libcl = null; - perl = null; - jemalloc = null; bzip2 = null; zlib = null; libX11 = null; libXext = null; libXt = null; - dejavu_fonts = null; - fftw = null; - libfpx = null; - djvulibre = null; fontconfig = null; freetype = null; ghostscript = null; - graphviz = null; - jbigkit = null; libjpeg = null; lcms2 = null; - openjpeg = null; - liblqr1 = null; - xz = null; openexr = null; - pango = null; libpng = null; librsvg = null; libtiff = null; - libwebp = null; libxml2 = null; }; From 322358db03dea08bcd8ba5efb641d8e55eb6fddf Mon Sep 17 00:00:00 2001 From: Daniel Brockman Date: Mon, 27 Jul 2015 11:49:52 +0200 Subject: [PATCH 40/41] flow: 0.1.0 -> 0.13.1 --- pkgs/development/tools/analysis/flow/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix index 0777b5a5f9a..893ac521307 100644 --- a/pkgs/development/tools/analysis/flow/default.nix +++ b/pkgs/development/tools/analysis/flow/default.nix @@ -1,13 +1,13 @@ { stdenv, fetchFromGitHub, ocaml, libelf }: stdenv.mkDerivation rec { - version = "0.1.0"; + version = "0.13.1"; name = "flow-${version}"; src = fetchFromGitHub { owner = "facebook"; repo = "flow"; rev = "v${version}"; - sha256 = "1f33zmajd6agb36gp8bwj0yqihjhxnkpig9x3a4ggn369x6ixhn3"; + sha256 = "1p7rzhvmz9y7ii2z05mfdb49i45f82kx8c9ywciwqma06zycvd80"; }; installPhase = '' From 709470f2c0bd83395f14fc7445a8a9793c0ceaa5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 27 Jul 2015 12:47:21 +0200 Subject: [PATCH 41/41] Fix tests --- nixos/modules/installer/cd-dvd/iso-image.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index 1dec7bd0f43..fa9cc6fa20b 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -217,7 +217,7 @@ in system.boot.loader.kernelFile = "bzImage"; environment.systemPackages = [ pkgs.grub2 pkgs.grub2_efi pkgs.syslinux ]; - boot.consoleLogLevel = 7; + boot.consoleLogLevel = mkDefault 7; # In stage 1 of the boot, mount the CD as the root FS by label so # that we don't need to know its device. We pass the label of the