···217217 system.boot.loader.kernelFile = "bzImage";
218218 environment.systemPackages = [ pkgs.grub2 pkgs.grub2_efi pkgs.syslinux ];
219219220220- boot.consoleLogLevel = 7;
220220+ boot.consoleLogLevel = mkDefault 7;
221221222222 # In stage 1 of the boot, mount the CD as the root FS by label so
223223 # that we don't need to know its device. We pass the label of the
+12-2
nixos/modules/services/networking/firewall.nix
···420420 '';
421421 };
422422423423+ networking.firewall.extraPackages = mkOption {
424424+ default = [ ];
425425+ example = [ pkgs.ipset ];
426426+ description =
427427+ ''
428428+ Additional packages to be included in the environment of the system
429429+ as well as the path of networking.firewall.extraCommands.
430430+ '';
431431+ };
432432+423433 networking.firewall.extraStopCommands = mkOption {
424434 type = types.lines;
425435 default = "";
···443453444454 networking.firewall.trustedInterfaces = [ "lo" ];
445455446446- environment.systemPackages = [ pkgs.iptables pkgs.ipset ];
456456+ environment.systemPackages = [ pkgs.iptables ] ++ cfg.extraPackages;
447457448458 boot.kernelModules = map (x: "nf_conntrack_${x}") cfg.connectionTrackingModules;
449459 boot.extraModprobeConfig = optionalString (!cfg.autoLoadConntrackHelpers) ''
···462472 before = [ "network-pre.target" ];
463473 after = [ "systemd-modules-load.service" ];
464474465465- path = [ pkgs.iptables pkgs.ipset ];
475475+ path = [ pkgs.iptables ] ++ cfg.extraPackages;
466476467477 # FIXME: this module may also try to load kernel modules, but
468478 # containers don't have CAP_SYS_MODULE. So the host system had
···237237 $conf .= "
238238 " . $grubStore->search;
239239 }
240240+ # FIXME: should use grub-mkconfig.
240241 $conf .= "
241242 " . $grubBoot->search . "
242243 if [ -s \$prefix/grubenv ]; then
···245246246247 # ‘grub-reboot’ sets a one-time saved entry, which we process here and
247248 # then delete.
248248- if [ \"\${saved_entry}\" ]; then
249249- # The next line *has* to look exactly like this, otherwise KDM's
250250- # reboot feature won't work properly with GRUB 2.
249249+ if [ \"\${next_entry}\" ]; then
250250+ # FIXME: KDM expects the next line to be present.
251251 set default=\"\${saved_entry}\"
252252- set saved_entry=
253253- set prev_saved_entry=
254254- save_env saved_entry
255255- save_env prev_saved_entry
252252+ set default=\"\${next_entry}\"
253253+ set next_entry=
254254+ save_env next_entry
256255 set timeout=1
257256 else
258257 set default=$defaultEntry
···11{ stdenv, fetchurl, python, pythonPackages, gettext, pygtksourceview, sqlite }:
2233+with stdenv.lib;
34stdenv.mkDerivation rec {
44- name = "cherrytree-0.35.8";
55+66+ name = "cherrytree-${version}";
77+ version = "0.35.9";
5869 src = fetchurl {
710 url = "http://www.giuspen.com/software/${name}.tar.xz";
88- sha256 = "0vqc1idzd73f4q5f4zwwypj4jiivwnb4y0r3041h2pm08y1wgsd8";
1111+ sha256 = "14yahp0y13z3xkpwvprm7q9x3rj6jbzi0bryqlsn3bbafdq7wnac";
912 };
10131111- propagatedBuildInputs = [ pythonPackages.sqlite3 ];
1414+ propagatedBuildInputs = with pythonPackages;
1515+ [ sqlite3 ];
12161313- buildInputs = with pythonPackages; [ python gettext wrapPython pygtk dbus pygtksourceview ];
1717+ buildInputs = with pythonPackages;
1818+ [ python gettext wrapPython pygtk dbus pygtksourceview ];
14191515- pythonPath = with pythonPackages; [ pygtk dbus pygtksourceview ];
2020+ pythonPath = with pythonPackages;
2121+ [ pygtk dbus pygtksourceview ];
16221723 patches = [ ./subprocess.patch ];
1824···27332834 doCheck = false;
29353030- meta = {
3131- description = "A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file";
3636+ meta = {
3737+ description = "An hierarchical note taking application";
3838+ longDescription = ''
3939+ Cherrytree is an hierarchical note taking application,
4040+ featuring rich text, syntax highlighting and powerful search
4141+ capabilities. It organizes all information in units called
4242+ "nodes", as in a tree, and can be very useful to store any piece
4343+ of information, from tables and links to pictures and even entire
4444+ documents. All those little bits of information you have scattered
4545+ around your hard drive can be conveniently placed into a
4646+ Cherrytree document where you can easily find it.
4747+ '';
3248 homepage = http://www.giuspen.com/cherrytree;
3333- license = stdenv.lib.licenses.gpl3;
3434- platforms = with stdenv.lib.platforms; linux;
3535- };
4949+ license = licenses.gpl3;
5050+ platforms = platforms.linux;
5151+ maintainers = [ maintainers.AndersonTorres ];
5252+ };
3653}
···47474848 # Install the kernel module.
4949 mkdir -p $out/lib/modules/$kernelVersion/misc
5050- cp kernel/nvidia.ko $out/lib/modules/$kernelVersion/misc
5151- cp kernel/uvm/nvidia-uvm.ko $out/lib/modules/$kernelVersion/misc
5050+ for i in kernel/nvidia.ko kernel/uvm/nvidia-uvm.ko; do
5151+ nuke-refs $i
5252+ cp $i $out/lib/modules/$kernelVersion/misc/
5353+ done
5254 fi
53555456 # All libs except GUI-only are in $out now, so fixup them.
+4-2
pkgs/os-specific/linux/nvidia-x11/default.nix
···11{ stdenv, fetchurl, kernel ? null, xlibs, zlib, perl
22-, gtk, atk, pango, glib, gdk_pixbuf, cairo
22+, gtk, atk, pango, glib, gdk_pixbuf, cairo, nukeReferences
33, # Whether to build the libraries only (i.e. not the kernel module or
44 # nvidia-settings). Used to support 32-bit binaries on 64-bit
55 # Linux.
···5252 [ gtk atk pango glib gdk_pixbuf cairo ] );
5353 programPath = makeLibraryPath [ xlibs.libXv ];
54545555- buildInputs = [ perl ];
5555+ buildInputs = [ perl nukeReferences ];
5656+5757+ disallowedReferences = if libsOnly then [] else [ kernel.dev ];
56585759 meta = with stdenv.lib.meta; {
5860 homepage = http://www.nvidia.com/object/unix.html;