Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4cfdcedb71b7
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e471376982d5
Choose a head ref

Commits on Feb 27, 2018

  1. Copy the full SHA
    ee8495c View commit details

Commits on Mar 4, 2018

  1. Copy the full SHA
    e797e00 View commit details

Commits on Mar 28, 2018

  1. paraview: include numpy in python environment

    The Python filter functionality in Paraview requires numpy, which is currently not included.
    Changes are based on the discussion in issue #37118.
    SFrijters committed Mar 28, 2018
    Copy the full SHA
    dff672e View commit details

Commits on Apr 5, 2018

  1. Copy the full SHA
    cbcb9eb View commit details

Commits on Apr 10, 2018

  1. openclonk: 7.0 -> 8.1

    lheckemann committed Apr 10, 2018
    Copy the full SHA
    ea1a167 View commit details

Commits on Apr 12, 2018

  1. pythonPackages.cvxopt: 1.1.7 -> 1.1.9

    Also adds support for the optional extensions glpk, gsl, fftw and
    enables tests.
    timokau committed Apr 12, 2018
    Copy the full SHA
    156e910 View commit details
  2. m4rie: init at 20150908

    timokau committed Apr 12, 2018
    Copy the full SHA
    7d625f6 View commit details

Commits on Apr 13, 2018

  1. gutenprint: 5.2.13 -> 5.2.14

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/gutenprint/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/escputil -h’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/escputil --help’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/testpattern -h’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/testpattern --help’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/testpattern help’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/cups-genppd.5.2 -h’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/cups-genppd.5.2 help’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/cups-genppdupdate -h’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/cups-genppdupdate --help’ got 0 exit code
    - ran ‘/nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14/bin/cups-genppdupdate help’ got 0 exit code
    - found 5.2.14 with grep in /nix/store/8pdjcfv46m5w8ifh68mvajwkn3vjwal1-gutenprint-5.2.14
    - directory tree listing: https://gist.github.com/6d652f72cb774ccd13cc489d708ad63d
    R. RyanTM committed Apr 13, 2018
    Copy the full SHA
    f5c3000 View commit details
  2. sit: 0.2.1 -> 0.3.0

    yrashk committed Apr 13, 2018
    Copy the full SHA
    1fa183d View commit details
  3. fplll: 5.0.2 -> 5.2.0

    timokau committed Apr 13, 2018
    Copy the full SHA
    bca79a9 View commit details
  4. Copy the full SHA
    633f694 View commit details
  5. masterpdfeditor: 4.3.82 -> 4.3.89

    Changelog:
    
    Version 4.3.89
    March, 21h, 2018
    
    Fixed issue with application’s settings reset.
    
    Version 4.3.88
    March, 20h, 2018
    
    Improved printing system and fixed some related errors.
    Fixed several crash-related bugs.
    Linux version is optimized for later distros.
    Extended application localization. Added Finnish language.
    flokli committed Apr 13, 2018
    Copy the full SHA
    e99f989 View commit details
  6. luaPackages.mpack: fix hash

    The actual revision was changed back in November 2007 with commit
    b7ed086 but the hash wasn't updated.
    wizeman committed Apr 13, 2018
    Copy the full SHA
    475c4e0 View commit details
  7. grass: Fix Can't load GDAL library errors on darwin

    It is required to pass this extra flag to the build to avoid trying to
    dynamically load the library.
    mpickering committed Apr 13, 2018
    Copy the full SHA
    b65181d View commit details
  8. Copy the full SHA
    a3de225 View commit details
  9. Copy the full SHA
    a134b93 View commit details
  10. Copy the full SHA
    e84325e View commit details
  11. Copy the full SHA
    1fe53b8 View commit details
  12. Copy the full SHA
    d81f3ec View commit details
  13. rpy2: unbreak build

    timokau committed Apr 13, 2018
    Copy the full SHA
    2dcb102 View commit details
  14. dosage: fix tests

    Moredread committed Apr 13, 2018
    Copy the full SHA
    43c10a7 View commit details

Commits on Apr 14, 2018

  1. Merge pull request #38921 from Moredread/tests/dosage

    dosage: Fix tests
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    958aa81 View commit details
  2. Merge pull request #38917 from bendlas/fix-xen

    xen-4.8: fix qemu-xen build error in memfd.c
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    81885b4 View commit details
  3. Merge pull request #38912 from wizeman/u/fix-mpack-lua-hash

    luaPackages.mpack: fix hash
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    4ce2af3 View commit details
  4. c14: 2017-05-15 -> 0.3 (#38905)

    Alexandre Peyroux authored and Mic92 committed Apr 14, 2018
    Copy the full SHA
    256b0b5 View commit details
  5. Merge pull request #38910 from flokli/masterpdfeditor-4.3.89

    masterpdfeditor: 4.3.82 -> 4.3.89
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    8bdc9e7 View commit details
  6. Merge pull request #38797 from timokau/m4rie-init

    m4rie: init at 20150908
    dotlambda authored Apr 14, 2018
    Copy the full SHA
    2152819 View commit details
  7. Merge pull request #38904 from yrashk/sit-0.3.0

    sit: 0.2.1 -> 0.3.0
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    5ed166c View commit details
  8. Merge pull request #38898 from r-ryantm/auto-update/gutenprint

    gutenprint: 5.2.13 -> 5.2.14
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    8d0791c View commit details
  9. cliquer: init at 1.21

    timokau committed Apr 14, 2018
    Copy the full SHA
    2c23faa View commit details
  10. Merge pull request #38916 from mpickering/qgis-darwin-pr

    QGIS and GRASS fixes
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    615599c View commit details
  11. lxd: 2.16 -> 3.0.0

    Mic92 committed Apr 14, 2018
    Copy the full SHA
    7663de1 View commit details
  12. Merge pull request #38790 from timokau/fpylll-init

    pythonPackages.fpylll: init at 0.3.0dev
    dotlambda authored Apr 14, 2018
    Copy the full SHA
    2a09342 View commit details
  13. gnome3: 3.28.0 → 3.28.1

    jtojnar committed Apr 14, 2018
    Copy the full SHA
    72b27f2 View commit details
  14. docker-tools: add a test for permissions issues with AUFS/overlay

    docker# [   11.054736] d24d6cdd57c9[763]: /bin/bash: error while loading
    shared libraries: libreadline.so.7: cannot open shared object file:
    Permission denied
    docker# /bin/bash: error while loading shared libraries:
    libreadline.so.7: cannot open shared object file: Permission denied
    docker: exit status 127
    docker: output:
    error: command `docker run --rm -u 1000:1000 bash /bin/bash --version'
    did not succeed (exit code 127)
    command `docker run --rm -u 1000:1000 bash /bin/bash --version' did not
    succeed (exit code 127)
    LnL7 committed Apr 14, 2018
    Copy the full SHA
    d538fc0 View commit details
  15. Merge pull request #38933 from LnL7/docker-tools-overlay

    docker-tools: add a test for permissions issues with AUFS/overlay
    LnL7 authored Apr 14, 2018
    Copy the full SHA
    476c042 View commit details
  16. Merge pull request #38795 from timokau/cliquer-init

    cliquer: init at 1.21
    dotlambda authored Apr 14, 2018
    Copy the full SHA
    089eefe View commit details
  17. Merge pull request #38780 from timokau/cvxopt-1.1.9

    cvxopt: 1.1.7 -> 1.1.9, add optional extensions
    FRidh authored Apr 14, 2018
    Copy the full SHA
    5a3495f View commit details
  18. perlPackages.Socket6: fix sv_undef compilation error

    Socket6.xs redefines `PV_sv_undef`, which breaks compilation from
    306d5cd ("perlPackages: Add cross-compilation support."). I added a patch
    to remove this redefinition. Compilation is now working again.
    mbrgm authored and bjornfor committed Apr 14, 2018
    Copy the full SHA
    4d7da18 View commit details
  19. splLegacyCrypto: fix build

    xeji committed Apr 14, 2018
    Copy the full SHA
    b48ba55 View commit details
  20. Merge pull request #38814 from timokau/rpy2-unbreak

    rpy2: unbreak build
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    d459778 View commit details
  21. Merge pull request #38929 from Mic92/lxd

    lxd: 2.16 -> 3.0.0; fixes build
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    eeb27ae View commit details
  22. scallion: init at 2.1 (#38817)

    volth authored and lukateras committed Apr 14, 2018
    Copy the full SHA
    ecf8095 View commit details
  23. Merge pull request #38942 from xeji/p/fix-spl

    linuxPackages.splLegacyCrypto: fix build
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    2c95644 View commit details
  24. Merge pull request #37908 from lheckemann/openclonk-8.1

    Openclonk 8.1
    Mic92 authored Apr 14, 2018
    Copy the full SHA
    997ead8 View commit details
  25. Merge pull request #37595 from SFrijters/paraview-numpy

    paraview: include numpy in python environment
    dotlambda authored Apr 14, 2018
    Copy the full SHA
    054f4f9 View commit details
  26. testssl: 2.9.5-4 -> 2.9.5-5 (#38936)

    etu authored and dotlambda committed Apr 14, 2018
    Copy the full SHA
    8b19b14 View commit details
  27. cbatticon: 1.6.7 -> 1.6.8 (#38747)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/cbatticon/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon -h’ got 0 exit code
    - ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon --help’ got 0 exit code
    - ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon -v’ and found version 1.6.8
    - ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon --version’ and found version 1.6.8
    - found 1.6.8 with grep in /nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8
    - directory tree listing: https://gist.github.com/248717637ae5df50bb8a3da4134c627b
    r-ryantm authored and dotlambda committed Apr 14, 2018
    Copy the full SHA
    277e123 View commit details
  28. libqrencode: 3.4.4 -> 4.0.0 (#38711)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/libqrencode/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0/bin/qrencode -h’ got 0 exit code
    - ran ‘/nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0/bin/qrencode --help’ got 0 exit code
    - found 4.0.0 with grep in /nix/store/qb2z3p3zcqmn0qskcck42z4ffv3107p5-libqrencode-4.0.0
    - directory tree listing: https://gist.github.com/2503d88770c4325ed73850dbd72eb7bf
    r-ryantm authored and dotlambda committed Apr 14, 2018
    Copy the full SHA
    d8f8e3c View commit details
  29. asunder: 2.9.2 -> 2.9.3 (#38750)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/asunder/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
    - found 2.9.3 with grep in /nix/store/maiwh6l7wa8gyjhx1zlg8l8xwrczszr7-asunder-2.9.3
    - directory tree listing: https://gist.github.com/5cfcd566e15079a73ab786533722d002
    r-ryantm authored and dotlambda committed Apr 14, 2018
    Copy the full SHA
    3c574a4 View commit details
Showing with 668 additions and 436 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +2 −0 nixos/modules/tasks/filesystems/zfs.nix
  3. +4 −1 nixos/modules/virtualisation/lxc.nix
  4. +33 −27 nixos/modules/virtualisation/lxd.nix
  5. +1 −0 nixos/release.nix
  6. +32 −0 nixos/tests/docker-tools-overlay.nix
  7. +3 −3 nixos/tests/docker-tools.nix
  8. +2 −2 pkgs/applications/audio/asunder/default.nix
  9. +5 −0 pkgs/applications/gis/grass/default.nix
  10. +4 −2 pkgs/applications/gis/qgis/default.nix
  11. +5 −1 pkgs/applications/graphics/dosage/default.nix
  12. +18 −6 pkgs/applications/graphics/paraview/default.nix
  13. +2 −2 pkgs/applications/graphics/shotwell/default.nix
  14. +2 −2 pkgs/applications/misc/cbatticon/default.nix
  15. +3 −11 pkgs/applications/misc/guake/default.nix
  16. +2 −2 pkgs/applications/misc/masterpdfeditor/default.nix
  17. +4 −5 pkgs/applications/networking/c14/default.nix
  18. +22 −13 pkgs/applications/networking/testssl/default.nix
  19. +0 −10 pkgs/applications/networking/testssl/testssl.patch
  20. +3 −12 pkgs/applications/office/libreoffice/wrapper.sh
  21. +4 −4 pkgs/applications/version-management/sit/default.nix
  22. +9 −0 pkgs/applications/virtualization/xen/4.8.nix
  23. +2 −2 pkgs/desktops/gnome-3/apps/bijiben/default.nix
  24. +2 −2 pkgs/desktops/gnome-3/apps/evolution/default.nix
  25. +2 −2 pkgs/desktops/gnome-3/apps/gedit/default.nix
  26. +2 −2 pkgs/desktops/gnome-3/apps/glade/default.nix
  27. +2 −2 pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
  28. +2 −2 pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix
  29. +2 −2 pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
  30. +2 −2 pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
  31. +2 −2 pkgs/desktops/gnome-3/apps/gnome-music/default.nix
  32. +2 −2 pkgs/desktops/gnome-3/core/eog/default.nix
  33. +2 −2 pkgs/desktops/gnome-3/core/epiphany/default.nix
  34. +2 −2 pkgs/desktops/gnome-3/core/evince/default.nix
  35. +2 −2 pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
  36. +2 −2 pkgs/desktops/gnome-3/core/gdm/default.nix
  37. +2 −2 pkgs/desktops/gnome-3/core/gjs/default.nix
  38. +2 −2 pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
  39. +2 −2 pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
  40. +2 −2 pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
  41. +2 −2 pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
  42. +2 −2 pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
  43. +2 −2 pkgs/desktops/gnome-3/core/gnome-session/default.nix
  44. +2 −2 pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
  45. +2 −2 pkgs/desktops/gnome-3/core/gnome-software/default.nix
  46. +2 −2 pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
  47. +2 −2 pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
  48. +2 −2 pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
  49. +2 −2 pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
  50. +2 −2 pkgs/desktops/gnome-3/core/nautilus/default.nix
  51. +2 −2 pkgs/desktops/gnome-3/core/simple-scan/default.nix
  52. +2 −2 pkgs/desktops/gnome-3/core/vte/default.nix
  53. +2 −2 pkgs/desktops/gnome-3/core/yelp/default.nix
  54. +2 −2 pkgs/desktops/gnome-3/core/zenity/default.nix
  55. +2 −2 pkgs/desktops/gnome-3/devtools/devhelp/default.nix
  56. +2 −2 pkgs/desktops/gnome-3/games/gnome-chess/default.nix
  57. +2 −2 pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix
  58. +2 −2 pkgs/development/libraries/fplll/default.nix
  59. +2 −2 pkgs/development/libraries/gvfs/default.nix
  60. +2 −2 pkgs/development/libraries/libdazzle/default.nix
  61. +2 −2 pkgs/development/libraries/libqrencode/default.nix
  62. +38 −0 pkgs/development/libraries/science/math/cliquer/default.nix
  63. +39 −0 pkgs/development/libraries/science/math/m4rie/default.nix
  64. +18 −0 pkgs/development/perl-modules/Socket6-sv_undef.patch
  65. +69 −0 pkgs/development/python-modules/cvxopt/default.nix
  66. +55 −0 pkgs/development/python-modules/fpylll/default.nix
  67. +33 −0 pkgs/development/python-modules/python-docx/default.nix
  68. +54 −0 pkgs/development/python-modules/rpy2/default.nix
  69. +19 −13 pkgs/games/openclonk/default.nix
  70. +2 −2 pkgs/misc/drivers/gutenprint/default.nix
  71. +0 −1 pkgs/misc/emulators/wine/sources.nix
  72. +2 −2 pkgs/misc/screensavers/i3lock-pixeled/default.nix
  73. +1 −0 pkgs/os-specific/darwin/maloader/default.nix
  74. +1 −0 pkgs/os-specific/linux/spl/default.nix
  75. +8 −2 pkgs/servers/home-assistant/component-packages.nix
  76. +4 −4 pkgs/servers/home-assistant/default.nix
  77. +3 −3 pkgs/shells/oh-my-zsh/default.nix
  78. +26 −12 pkgs/tools/admin/lxd/default.nix
  79. +0 −165 pkgs/tools/admin/lxd/deps.nix
  80. +3 −4 pkgs/tools/admin/salt/default.nix
  81. +36 −0 pkgs/tools/security/scallion/default.nix
  82. +6 −0 pkgs/top-level/all-packages.nix
  83. +1 −1 pkgs/top-level/lua-packages.nix
  84. +1 −0 pkgs/top-level/perl-packages.nix
  85. +6 −46 pkgs/top-level/python-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -305,6 +305,11 @@
github = "akru";
name = "Alexander Krupenkin ";
};
alexchapman = {
name = "Alex Chapman";
email = "alex@farfromthere.net";
github = "AJChapman";
};
alexvorobiev = {
email = "alexander.vorobiev@gmail.com";
github = "alexvorobiev";
2 changes: 2 additions & 0 deletions nixos/modules/tasks/filesystems/zfs.nix
Original file line number Diff line number Diff line change
@@ -305,6 +305,8 @@ in
}
];

virtualisation.lxd.zfsSupport = true;

boot = {
kernelModules = [ "spl" "zfs" ] ;
extraModulePackages = with packages; [ spl zfs ];
5 changes: 4 additions & 1 deletion nixos/modules/virtualisation/lxc.nix
Original file line number Diff line number Diff line change
@@ -74,6 +74,9 @@ in
systemd.tmpfiles.rules = [ "d /var/lib/lxc/rootfs 0755 root root -" ];

security.apparmor.packages = [ pkgs.lxc ];
security.apparmor.profiles = [ "${pkgs.lxc}/etc/apparmor.d/lxc-containers" ];
security.apparmor.profiles = [
"${pkgs.lxc}/etc/apparmor.d/lxc-containers"
"${pkgs.lxc}/etc/apparmor.d/usr.bin.lxc-start"
];
};
}
60 changes: 33 additions & 27 deletions nixos/modules/virtualisation/lxd.nix
Original file line number Diff line number Diff line change
@@ -15,28 +15,34 @@ in

options = {

virtualisation.lxd.enable =
mkOption {
virtualisation.lxd = {
enable = mkOption {
type = types.bool;
default = false;
description =
''
This option enables lxd, a daemon that manages
containers. Users in the "lxd" group can interact with
the daemon (e.g. to start or stop containers) using the
<command>lxc</command> command line tool, among others.
'';
description = ''
This option enables lxd, a daemon that manages
containers. Users in the "lxd" group can interact with
the daemon (e.g. to start or stop containers) using the
<command>lxc</command> command line tool, among others.
'';
};

zfsSupport = mkOption {
type = types.bool;
default = false;
description = ''
enables lxd to use zfs as a storage for containers.
This option is enabled by default if a zfs pool is configured
with nixos.
'';
};
};
};


###### implementation

config = mkIf cfg.enable {

environment.systemPackages =
[ pkgs.lxd ];
environment.systemPackages = [ pkgs.lxd ];

security.apparmor = {
enable = true;
@@ -47,31 +53,31 @@ in
packages = [ pkgs.lxc ];
};

systemd.services.lxd =
{ description = "LXD Container Management Daemon";
systemd.services.lxd = {
description = "LXD Container Management Daemon";

wantedBy = [ "multi-user.target" ];
after = [ "systemd-udev-settle.service" ];
wantedBy = [ "multi-user.target" ];
after = [ "systemd-udev-settle.service" ];

# TODO(wkennington): Add lvm2 and thin-provisioning-tools
path = with pkgs; [ acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ];
path = lib.optional cfg.zfsSupport pkgs.zfs;

preStart = ''
mkdir -m 0755 -p /var/lib/lxc/rootfs
'';
preStart = ''
mkdir -m 0755 -p /var/lib/lxc/rootfs
'';

serviceConfig.ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --syslog --group lxd";
serviceConfig.Type = "simple";
serviceConfig.KillMode = "process"; # when stopping, leave the containers alone
serviceConfig = {
ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --group lxd";
Type = "simple";
KillMode = "process"; # when stopping, leave the containers alone
};

};

users.extraGroups.lxd.gid = config.ids.gids.lxd;

users.extraUsers.root = {
subUidRanges = [ { startUid = 1000000; count = 65536; } ];
subGidRanges = [ { startGid = 1000000; count = 65536; } ];
};

};

}
1 change: 1 addition & 0 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -266,6 +266,7 @@ in rec {
tests.couchdb = callTest tests/couchdb.nix {};
tests.docker = callTestOnMatchingSystems ["x86_64-linux"] tests/docker.nix {};
tests.docker-tools = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools.nix {};
tests.docker-tools-overlay = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-tools-overlay.nix {};
tests.docker-edge = callTestOnMatchingSystems ["x86_64-linux"] tests/docker-edge.nix {};
tests.dovecot = callTest tests/dovecot.nix {};
tests.dnscrypt-proxy = callTestOnMatchingSystems ["x86_64-linux"] tests/dnscrypt-proxy.nix {};
32 changes: 32 additions & 0 deletions nixos/tests/docker-tools-overlay.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# this test creates a simple GNU image with docker tools and sees if it executes

import ./make-test.nix ({ pkgs, ... }:
{
name = "docker-tools-overlay";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ lnl7 ];
};

nodes = {
docker =
{ config, pkgs, ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "overlay"; # defaults to overlay2
};
};

testScript =
''
$docker->waitForUnit("sockets.target");
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.bash}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} bash --version");
# Check if the nix store has correct user permissions depending on what
# storage driver is used, incorrectly built images can show up as readonly.
# drw------- 3 0 0 3 Apr 14 11:36 /nix
# drw------- 99 0 0 100 Apr 14 11:36 /nix/store
$docker->succeed("docker run --rm -u 1000:1000 ${pkgs.dockerTools.examples.bash.imageName} bash --version");
'';
})
6 changes: 3 additions & 3 deletions nixos/tests/docker-tools.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ... }: {
name = "docker-tools";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ];
maintainers = [ lnl7 ];
};

nodes = {
@@ -21,12 +21,12 @@ import ./make-test.nix ({ pkgs, ... }: {
$docker->waitForUnit("sockets.target");
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.bash}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} /bin/bash --version");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.bash.imageName} bash --version");
$docker->succeed("docker rmi ${pkgs.dockerTools.examples.bash.imageName}");
# Check if the nix store is correctly initialized by listing dependencies of the installed Nix binary
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.nix}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.nix.imageName} /bin/nix-store -qR ${pkgs.nix}");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.nix.imageName} nix-store -qR ${pkgs.nix}");
$docker->succeed("docker rmi ${pkgs.dockerTools.examples.nix.imageName}");
# To test the pullImage tool
4 changes: 2 additions & 2 deletions pkgs/applications/audio/asunder/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@
with stdenv.lib;

stdenv.mkDerivation rec {
version = "2.9.2";
version = "2.9.3";
name = "asunder-${version}";
src = fetchurl {
url = "http://littlesvr.ca/asunder/releases/${name}.tar.bz2";
sha256 = "0vjbxrrjih4c673sc39wj5whp81xp9kmnwqxwzfnmhkky970rg5r";
sha256 = "1630i1df06y840v3fgdf75jxw1s8kwbfn5bhi0686viah0scccw5";
};

nativeBuildInputs = [ pkgconfig ];
5 changes: 5 additions & 0 deletions pkgs/applications/gis/grass/default.nix
Original file line number Diff line number Diff line change
@@ -35,6 +35,9 @@ stdenv.mkDerivation {
"--with-blas"
];

# Otherwise a very confusing "Can't load GDAL library" error
makeFlags = stdenv.lib.optional stdenv.isDarwin "GDAL_DYNAMIC=";

/* Ensures that the python script run at build time are actually executable;
* otherwise, patchShebangs ignores them. */
postConfigure = ''
@@ -73,6 +76,7 @@ stdenv.mkDerivation {
--set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \
--suffix LD_LIBRARY_PATH ':' '${gdal}/lib'
ln -s $out/grass-*/lib $out/lib
ln -s $out/grass-*/include $out/include
'';

enableParallelBuilding = true;
@@ -82,5 +86,6 @@ stdenv.mkDerivation {
description = "GIS software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [mpickering];
};
}
6 changes: 4 additions & 2 deletions pkgs/applications/gis/qgis/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchpatch, gdal, cmake, qt4, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl
, qwt, fcgi, python2Packages, libspatialindex, libspatialite, qscintilla, postgresql, makeWrapper
, qjson, qca2, txt2tags, openssl, darwin, pkgconfig
, withGrass ? false, grass, IOKit, ApplicationServices
, withGrass ? true, grass, IOKit, ApplicationServices
}:

stdenv.mkDerivation rec {
@@ -58,11 +58,13 @@ stdenv.mkDerivation rec {
'') +
(stdenv.lib.optionalString stdenv.isDarwin ''
# Necessary for QGIS to find the correct default GRASS path
# Plugins look for gdal tools like deminfo on the PATH
${stdenv.lib.optionalString withGrass "ln -sf ${grass} $out/QGIS.app/Contents/MacOS/grass"}
for file in $(find $out -type f -name "QGIS"); do
wrapProgram "$file" \
--prefix DYLD_LIBRARY_PATH : "${qwt}/lib" \
--prefix DYLD_LIBRARY_PATH : "${qscintilla}/lib" \
--prefix PATH : "${gdal}/bin" \
${stdenv.lib.optionalString withGrass "--prefix PATH : ${grass}/bin"} \
--set PYTHONPATH $PYTHONPATH
done
@@ -75,6 +77,6 @@ stdenv.mkDerivation rec {
homepage = http://www.qgis.org;
license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; unix;
maintainers = with stdenv.lib.maintainers; [viric];
maintainers = with stdenv.lib.maintainers; [viric mpickering];
};
}
6 changes: 5 additions & 1 deletion pkgs/applications/graphics/dosage/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,15 @@ pythonPackages.buildPythonApplication rec {
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
};
buildInputs = [ pythonPackages.pytest ];
buildInputs = with pythonPackages; [ pytest responses ];
propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];

disabled = pythonPackages.pythonOlder "3.3";

checkPhase = ''
py.test tests/
'';

meta = {
description = "A comic strip downloader and archiver";
homepage = http://dosage.rocks/;
24 changes: 18 additions & 6 deletions pkgs/applications/graphics/paraview/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
stdenv, fetchFromGitHub, cmake
stdenv, fetchFromGitHub, cmake, makeWrapper
,qtbase, qttools, python, libGLU_combined
,libXt, qtx11extras, qtxmlpatterns
}:
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};

cmakeFlags = [
"-DPARAVIEW_ENABLE_PYTHON=ON"
"-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON"
"-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION=OFF"
];
cmakeFlags = [
"-DPARAVIEW_ENABLE_PYTHON=ON"
"-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON"
"-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION=OFF"
];

# During build, binaries are called that rely on freshly built
# libraries. These reside in build/lib, and are not found by
@@ -35,10 +35,12 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
cmake
makeWrapper
];

buildInputs = [
python
python.pkgs.numpy
libGLU_combined
libXt
qtbase
@@ -47,6 +49,16 @@ stdenv.mkDerivation rec {
qtxmlpatterns
];

# Paraview links into the Python library, resolving symbolic links on the way,
# so we need to put the correct sitePackages (with numpy) back on the path
postInstall = ''
wrapProgram $out/bin/paraview \
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
wrapProgram $out/bin/pvbatch \
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
wrapProgram $out/bin/pvpython \
--set PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
'';

meta = {
homepage = http://www.paraview.org/;
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/shotwell/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@

let
pname = "shotwell";
version = "0.28.1";
version = "0.28.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "1ywikm5kdsr7q8hklh146x28rzvqkqfjs8kdpw7zcc15ri0dkzya";
sha256 = "0pa7lb33i4hdnz7hr7x938d48ilrnj47jzb99la79rmm08yyin8n";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/misc/cbatticon/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {

name = "cbatticon-${version}";
version = "1.6.7";
version = "1.6.8";

src = fetchFromGitHub {
owner = "valr";
repo = "cbatticon";
rev = version;
sha256 = "0rm1rpq81cxjwd4f11c3ivg5hwsd08qm47vdn16yr1cmm2cw4r2d";
sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6";
};

makeFlags = "PREFIX=$(out)";
14 changes: 3 additions & 11 deletions pkgs/applications/misc/guake/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, fetchpatch, python3, gettext, gobjectIntrospection, wrapGAppsHook, glibcLocales
{ stdenv, fetchFromGitHub, python3, gettext, gobjectIntrospection, wrapGAppsHook, glibcLocales
, gtk3, keybinder3, libnotify, libutempter, vte }:

let
version = "3.1.0";
version = "3.2.0";
in python3.pkgs.buildPythonApplication rec {
name = "guake-${version}";
format = "other";
@@ -11,17 +11,9 @@ in python3.pkgs.buildPythonApplication rec {
owner = "Guake";
repo = "guake";
rev = version;
sha256 = "0wyis7vxfhwrpq5r72c58k7hqzbk0f5ilm1zffcmbryvy11abgmx";
sha256 = "1qghapg9sslj9fdrl2mnbi10lgqgqa36gdag74wn7as9wak4qc3d";
};

patches = [
# https://github.com/Guake/guake/issues/1264
(fetchpatch {
url = https://github.com/Guake/guake/commit/f289aa381bc5fffe83b1ba385c606a2e5cdc94a8.patch;
sha256 = "038niw44q14fs34nha1lz9vmxhf0l766ni8nsdxpid4crra2wjd3";
})
];

nativeBuildInputs = [ gettext gobjectIntrospection wrapGAppsHook python3.pkgs.pip glibcLocales ];

buildInputs = [ gtk3 keybinder3 libnotify python3 vte ];
Loading