Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 56090c4151b9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9110d40d20a6
Choose a head ref

Commits on Oct 10, 2018

  1. Copy the full SHA
    fdaa426 View commit details
  2. haskellPackages.shellFor: Clean and fixup

    - Now correctly sets NIX_GHC* env vars
    infinisil authored and ElvishJerricco committed Oct 10, 2018
    Copy the full SHA
    08814b7 View commit details
  3. Copy the full SHA
    2bafa93 View commit details

Commits on Oct 12, 2018

  1. nixos/emby: ensure plugins are writeable

    (cherry picked from commit a16c6d8)
    worldofpeace authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    cfd6ace View commit details
  2. emby: 3.4.1.0 -> 3.5.2.0

    (cherry picked from commit bd02b33)
    worldofpeace authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    c2638dd View commit details
  3. WIP emby: 3.5.2.0 -> 3.5.3.0

    (cherry picked from commit 6e8da1d)
    nyanloutre authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    ef311d5 View commit details
  4. emby: add sqlite to wrapper

    (cherry picked from commit f7a2e20)
    nyanloutre authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    04d75db View commit details
  5. emby: move usr/lib to lib

    (cherry picked from commit 9ec17c6)
    nyanloutre authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    36f064d View commit details
  6. emby: move lib to opt

    (cherry picked from commit c2e269e)
    nyanloutre authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    3f8c202 View commit details
  7. nixos/emby: fixes binary name change introduced by #47659

    (cherry picked from commit bb06b5b)
    nyanloutre authored and Vskilet committed Oct 12, 2018
    Copy the full SHA
    ca20a04 View commit details
  8. nixos/emby : use the dataDir option

    (cherry picked from commit 7d43e2a)
    Vskilet committed Oct 12, 2018
    Copy the full SHA
    ec61247 View commit details
  9. nixos/emby : delete programData hardcode in pkg

    (cherry picked from commit 751c647)
    Vskilet committed Oct 12, 2018
    Copy the full SHA
    2c5f94b View commit details

Commits on Oct 20, 2018

  1. ruby: 2.5.2 -> 2.5.3

    https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/
    
    This release is just for fixing the packaging issue. This release doesn’t
    contain any additional bug fixes from 2.5.2.
    
    (cherry picked from commit 87407bc)
    samueldr authored and Mic92 committed Oct 20, 2018
    Copy the full SHA
    e76b112 View commit details
  2. kitty: fix locating libstartup-notification-1

    Startup notification doesn't work in recent versions of Kitty:
    > Traceback (most recent call last):
    >   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 216, in init_startup_notification
    >     return init_startup_notification_x11(window_handle, startup_id)
    >   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 201, in init_startup_notification_x11
    >     return init_x11_startup_notification(display, window_handle, sid)
    > OSError: Failed to load libstartup-notification-1.so with error: libstartup-notification-1.so: cannot open shared object file: No such file or directory
    
    Apparently dispatching of startup notification has been moved to a C
    binding in kitty 0.6.0 [1] so the substituion had to be modified to reflect
    that. Without this fix Kitty still works except that window managers
    which depend on startup notifications to be fired (e.g. Awesome)
    cannot apply special placement rules.
    
    The substitution mechanism is also changed to use a patch file to detect
    this kind of mistakes in the future.
    
    [1]: kovidgoyal/kitty@b08f4ab
    
    (cherry picked from commit 1842c4a)
    Vaskó László authored and Mic92 committed Oct 20, 2018
    Copy the full SHA
    4d91833 View commit details

Commits on Oct 21, 2018

  1. vimPlugins.clang_complete: fix path to libclang.so

    Same fix as d301d5c.
    
    A traditional backport with `git cherry-pick` is impossible as the
    override approach for VIM plugins has significantly changed.
    Ma27 committed Oct 21, 2018
    Copy the full SHA
    5fa7d74 View commit details
  2. nixos/nextcloud: init

    (cherry picked from commit ebd3818)
    
    Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
    Co-authored-by: Robin Gloster <mail@glob.in>
    Co-authored-by: Janne Heß <janne@hess.ooo>
    Co-authored-by: Florian Klink <flokli@flokli.de>
    4 people committed Oct 21, 2018
    Copy the full SHA
    f1509d8 View commit details
  3. nextcloud: 13.0.6 -> 14.0.1

    (cherry picked from commit e5b3ea5)
    
    Co-authored-by: Robin Gloster <mail@glob.in>
    eqyiel and globin committed Oct 21, 2018
    Copy the full SHA
    dde8faf View commit details
  4. nextcloud: fix sendmail path discovery

    (cherry picked from commit 1fd6477)
    flokli authored and globin committed Oct 21, 2018
    Copy the full SHA
    2822d45 View commit details
  5. nixos/nextcloud: add poolConfig option (#48094)

    (cherry picked from commit 2dcd512)
    Vskilet authored and globin committed Oct 21, 2018
    Copy the full SHA
    2026505 View commit details
  6. nextcloud: 14.0.1 -> 14.0.3

    (cherry picked from commit 6d3b54a)
    Leon Schuermann authored and globin committed Oct 21, 2018
    Copy the full SHA
    08a0f3f View commit details
  7. Merge pull request #48779 from Ma27/backport-vim-clang-fix

    vimPlugins.clang_complete: fix path to libclang.so (backport)
    Mic92 authored Oct 21, 2018
    Copy the full SHA
    d4d4e58 View commit details
  8. debootstrap: 1.0.107 -> 1.0.108 (#46294)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/debootstrap/versions
    
    (cherry picked from commit 8955ec6)
    r-ryantm authored and Mic92 committed Oct 21, 2018
    Copy the full SHA
    b76a837 View commit details
  9. debootstrap: 1.0.108 -> 1.0.109

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/debootstrap/versions
    
    (cherry picked from commit 73dbb11)
    r-ryantm authored and Mic92 committed Oct 21, 2018
    Copy the full SHA
    5b2a976 View commit details
  10. debootstrap: fix up paths to {chroot,unshare}, small clean up

    Fixes #45915.
    
    (cherry picked from commit be63e30)
    pbogdan authored and Mic92 committed Oct 21, 2018
    Copy the full SHA
    1408671 View commit details

Commits on Oct 22, 2018

  1. ghc: add new 8.4.4 version

    (cherry picked from commit 069bf7a)
    peti authored and bgamari committed Oct 22, 2018
    Copy the full SHA
    e05517f View commit details
  2. Copy the full SHA
    c00f567 View commit details
  3. samba4: 4.7.9 -> 4.7.10 (#48787)

    Daniël de Kok authored and xeji committed Oct 22, 2018
    Copy the full SHA
    a7325a6 View commit details
  4. slimserver: Relax audio scan dependency (#47029)

    (cherry picked from commit 09df5da)
    phile314 authored and nyanloutre committed Oct 22, 2018
    Copy the full SHA
    e15b5ba View commit details
  5. dovecot: dovenull user should have its own group.

    Quoting from https://wiki.dovecot.org/UserIds#dovenulluser:
    
    "It should belong to its own private dovenull group where no one else
    belongs to..."
    
    (cherry picked from commit fa38853)
    dhess authored and Mic92 committed Oct 22, 2018
    Copy the full SHA
    be9e927 View commit details
  6. Merge pull request #48831 from nyanloutre/18-09-slimserver-fix

    [18.09] slimserver: Relax audio scan dependency (#47029)
    Mic92 authored Oct 22, 2018
    Copy the full SHA
    09bc130 View commit details
  7. jackett: 0.10.250 -> 0.10.258

    (cherry picked from commit 914c341)
    edwtjo authored and nyanloutre committed Oct 22, 2018
    Copy the full SHA
    c4cb419 View commit details
  8. jackett: 0.10.258 -> 0.10.304

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/jackett/versions
    
    (cherry picked from commit 7f5a809)
    r-ryantm authored and nyanloutre committed Oct 22, 2018
    Copy the full SHA
    93a57b3 View commit details
  9. jackett: 0.10.304 -> 0.10.365

    (cherry picked from commit 896ae49)
    nyanloutre committed Oct 22, 2018
    Copy the full SHA
    25b2aeb View commit details
  10. Merge pull request #48150 from Vskilet/release-18.09

    [18.09] nixos/emby: use the dataDir option
    xeji authored Oct 22, 2018
    Copy the full SHA
    f80504e View commit details

Commits on Oct 23, 2018

  1. slixmpp: 1.2.4-post1 -> 1.4.0

    (cherry picked from commit ec9d761)
    lheckemann authored and lsix committed Oct 23, 2018
    Copy the full SHA
    af588df View commit details
  2. poezio: 0.11 -> 0.12

    lheckemann authored and lsix committed Oct 23, 2018
    Copy the full SHA
    f8d156f View commit details
  3. jackett: update mono version to 5.14

    See details here : #48821 (comment)
    
    (cherry picked from commit 7a44e6e)
    nyanloutre committed Oct 23, 2018
    Copy the full SHA
    2b4f746 View commit details
  4. mu: fix build for withMug = true (#48830)

    Fixes a following build error:
    
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstapp-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstaudio-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstfft-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstpbutils-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstvideo-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstbase-1.0
    /nix/store/xxx-binutils-2.30/bin/ld: cannot find -lgstreamer-1.0
    
    This workaround targets release-18.09 branch and is not needed at master (no
    idea why).
    veprbl authored and xeji committed Oct 23, 2018
    Copy the full SHA
    694aff6 View commit details
  5. Merge pull request #48822 from nyanloutre/18-09-jackett-10-365

    [18.09] jackett: 0.10.250 -> 0.10.365
    Mic92 authored Oct 23, 2018
    Copy the full SHA
    1b7e30c View commit details
  6. gocode: 2018-07-27 -> 2018-10-22 (#48832)

    github.com/nsf/gocode has also been deprecated in favor of github.com/mdempsky/gocode
    
    (cherry picked from commit cc4b9ef)
    kalbasit authored and xeji committed Oct 23, 2018
    Copy the full SHA
    c162a0a View commit details
  7. opentracing-cpp: init 1.5.0

    rbvermaa committed Oct 23, 2018
    Copy the full SHA
    f49df04 View commit details
  8. opentracing-cpp: add meta

    rbvermaa committed Oct 23, 2018
    Copy the full SHA
    0b695b6 View commit details
  9. Copy the full SHA
    9d6184f View commit details
  10. Copy the full SHA
    df29219 View commit details

Commits on Oct 24, 2018

  1. linux-headers: Fix Darwin cross build

    Carefully fake cc-version and cc-fullversion to avoid needing a compiler
    for the kernel itself to build the headers.
    
    For some reason, doing `make install_headers` twice, first without
    INSTALL_HDR_PATH=$out then with, is neccessary to get this to work.
    LnL7 authored and Ericson2314 committed Oct 24, 2018
    Copy the full SHA
    ab6bbdd View commit details
  2. 6
    Copy the full SHA
    22df942 View commit details
  3. linux-headers: Temporarily avoid mass rebuild

    This is only needed for 18.09, not master
    LnL7 authored and Ericson2314 committed Oct 24, 2018
    Copy the full SHA
    87dc3df View commit details
  4. Copy the full SHA
    0afc9ca View commit details
  5. r8168: init at 8.046.00

    (cherry picked from commit c8b5dea)
    timokau committed Oct 24, 2018
    Copy the full SHA
    8e9b654 View commit details
  6. Merge pull request #48931 from obsidiansystems/darwin-to-linux-18.09

    misc pkgs: Darwin -> Linux cross compilation for 18.09
    Ericson2314 authored Oct 24, 2018
    Copy the full SHA
    06fb025 View commit details
Showing with 7,430 additions and 4,033 deletions.
  1. +224 −53 doc/functions/dockertools.xml
  2. +4 −0 doc/languages-frameworks/vim.section.md
  3. +24 −2 doc/stdenv.xml
  4. +75 −19 lib/debug.nix
  5. +136 −48 lib/lists.nix
  6. +89 −30 lib/options.nix
  7. +153 −51 lib/strings.nix
  8. +1 −0 lib/systems/platforms.nix
  9. +87 −30 lib/trivial.nix
  10. +5 −0 nixos/doc/manual/release-notes/rl-1809.xml
  11. +4 −4 nixos/modules/installer/tools/nix-fallback-paths.nix
  12. +1 −1 nixos/modules/misc/ids.nix
  13. +1 −0 nixos/modules/module-list.nix
  14. +1 −1 nixos/modules/profiles/installation-device.nix
  15. +1 −0 nixos/modules/services/development/jupyter/default.nix
  16. +5 −5 nixos/modules/services/hardware/trezord.nix
  17. +5 −1 nixos/modules/services/mail/dovecot.nix
  18. +13 −6 nixos/modules/services/misc/emby.nix
  19. +10 −2 nixos/modules/services/misc/gitea.nix
  20. +98 −118 nixos/modules/services/misc/gitlab.nix
  21. +1 −1 nixos/modules/services/networking/bitlbee.nix
  22. +8 −0 nixos/modules/services/networking/tinc.nix
  23. +474 −0 nixos/modules/services/web-apps/nextcloud.nix
  24. +14 −3 nixos/modules/services/web-servers/nginx/default.nix
  25. +10 −0 nixos/modules/services/web-servers/nginx/location-options.nix
  26. +5 −3 nixos/modules/tasks/filesystems.nix
  27. +1 −1 nixos/modules/virtualisation/amazon-image.nix
  28. +1 −1 nixos/modules/virtualisation/google-compute-image.nix
  29. +3 −1 nixos/release.nix
  30. +2 −2 nixos/tests/chromium.nix
  31. +4 −0 nixos/tests/docker-tools.nix
  32. +74 −0 nixos/tests/gitea.nix
  33. +13 −5 nixos/tests/gitlab.nix
  34. +56 −0 nixos/tests/nextcloud/basic.nix
  35. +6 −0 nixos/tests/nextcloud/default.nix
  36. +97 −0 nixos/tests/nextcloud/with-mysql-and-memcached.nix
  37. +130 −0 nixos/tests/nextcloud/with-postgresql-and-redis.nix
  38. +5 −16 nixos/tests/plasma5.nix
  39. +0 −30 pkgs/applications/audio/abcde/abcde.patch
  40. +16 −18 pkgs/applications/audio/abcde/default.nix
  41. +22 −22 pkgs/applications/editors/jetbrains/default.nix
  42. +8 −4 pkgs/applications/misc/bb/default.nix
  43. +2 −2 pkgs/applications/misc/dbeaver/default.nix
  44. +9 −5 pkgs/applications/misc/kitty/default.nix
  45. +11 −0 pkgs/applications/misc/kitty/fix-paths.patch
  46. +37 −23 pkgs/applications/networking/browsers/chromium/common.nix
  47. +2 −0 pkgs/applications/networking/browsers/chromium/default.nix
  48. +0 −15 pkgs/applications/networking/browsers/chromium/patches/fix-freetype.patch
  49. +0 −9 pkgs/applications/networking/browsers/chromium/patches/nix_plugin_paths_68.patch
  50. +4 −0 pkgs/applications/networking/browsers/chromium/plugins.nix
  51. +9 −9 pkgs/applications/networking/browsers/chromium/upstream-info.nix
  52. +397 −397 pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
  53. +397 −397 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
  54. +397 −397 pkgs/applications/networking/browsers/firefox-bin/release_sources.nix
  55. +17 −7 pkgs/applications/networking/browsers/firefox/common.nix
  56. +4 −4 pkgs/applications/networking/browsers/firefox/packages.nix
  57. +3 −2 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
  58. +3 −2 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
  59. +3 −3 pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
  60. +2 −2 pkgs/applications/networking/cluster/kubernetes/default.nix
  61. +15 −4 pkgs/applications/networking/instant-messengers/rambox/default.nix
  62. +3 −3 pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix
  63. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix
  64. +4 −3 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  65. +233 −233 pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix
  66. +2 −10 pkgs/applications/networking/mailreaders/thunderbird/default.nix
  67. +2 −2 pkgs/applications/networking/sniffers/wireshark/default.nix
  68. +1 −1 pkgs/applications/science/math/sage/sage-wrapper.nix
  69. +1 −1 pkgs/applications/science/math/sage/sage.nix
  70. +2 −2 pkgs/applications/version-management/gitaly/default.nix
  71. +3 −2 pkgs/applications/version-management/gitlab-workhorse/default.nix
  72. +6 −16 pkgs/applications/version-management/gitlab/default.nix
  73. +6 −11 pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile
  74. +25 −37 pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile.lock
  75. +42 −69 pkgs/applications/version-management/gitlab/rubyEnv-ce/gemset.nix
  76. +6 −11 pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile
  77. +25 −37 pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile.lock
  78. +42 −69 pkgs/applications/version-management/gitlab/rubyEnv-ee/gemset.nix
  79. +8 −2 pkgs/applications/version-management/subversion/default.nix
  80. +2 −0 pkgs/applications/video/mapmap/default.nix
  81. +24 −0 pkgs/applications/virtualization/cntr/default.nix
  82. +4 −4 pkgs/applications/virtualization/docker/default.nix
  83. +183 −6 pkgs/build-support/docker/default.nix
  84. +7 −0 pkgs/build-support/docker/examples.nix
  85. +24 −0 pkgs/build-support/docker/store-path-to-layer.sh
  86. +520 −0 pkgs/build-support/references-by-popularity/closure-graph.py
  87. +15 −0 pkgs/build-support/references-by-popularity/default.nix
  88. +9 −0 pkgs/build-support/setup-hooks/breakpoint-hook.sh
  89. +2 −2 pkgs/data/misc/hackage/default.nix
  90. +9 −1 pkgs/desktops/gnome-3/core/mutter/default.nix
  91. +3 −2 pkgs/development/compilers/crystal/default.nix
  92. +247 −0 pkgs/development/compilers/ghc/8.4.4.nix
  93. +2 −2 pkgs/development/compilers/kotlin/default.nix
  94. +1 −0 pkgs/development/compilers/mono/4.4.nix
  95. +117 −0 pkgs/development/compilers/rust/1.29/binaryBuild.nix
  96. +42 −0 pkgs/development/compilers/rust/1.29/bootstrap.nix
  97. +68 −0 pkgs/development/compilers/rust/1.29/cargo.nix
  98. +52 −0 pkgs/development/compilers/rust/1.29/default.nix
  99. +10 −0 pkgs/development/compilers/rust/1.29/patches/disable-test-inherit-env.patch
  100. +104 −0 pkgs/development/compilers/rust/1.29/patches/net-tcp-disable-tests.patch
  101. +20 −0 pkgs/development/compilers/rust/1.29/patches/stdsimd-disable-doctest.patch
  102. +182 −0 pkgs/development/compilers/rust/1.29/rustc.nix
  103. +18 −29 pkgs/development/haskell-modules/generic-builder.nix
  104. +16 −55 pkgs/development/haskell-modules/lib.nix
  105. +34 −8 pkgs/development/haskell-modules/make-package-set.nix
  106. +5 −2 pkgs/development/interpreters/bats/default.nix
  107. +3 −3 pkgs/development/interpreters/ruby/default.nix
  108. +1 −1 pkgs/development/interpreters/ruby/patchsets.nix
  109. +27 −0 pkgs/development/libraries/dqlite/default.nix
  110. +2 −2 pkgs/development/libraries/flatpak/default.nix
  111. +3 −1 pkgs/development/libraries/glibc/common.nix
  112. +4 −21 pkgs/development/libraries/gtest/default.nix
  113. +3 −0 pkgs/development/libraries/gvfs/default.nix
  114. +2 −2 pkgs/development/libraries/libdigidocpp/default.nix
  115. +1 −1 pkgs/development/libraries/libmikmod/default.nix
  116. +4 −4 pkgs/development/libraries/nss/default.nix
  117. +21 −0 pkgs/development/libraries/opentracing-cpp/default.nix
  118. +4 −4 pkgs/development/libraries/uriparser/default.nix
  119. +2 −2 pkgs/development/misc/loc/default.nix
  120. +4 −4 pkgs/development/ocaml-modules/vg/default.nix
  121. +6 −6 pkgs/development/python-modules/lark-parser/default.nix
  122. +0 −12 pkgs/development/python-modules/poezio/fix_gnupg_import.patch
  123. +10 −2 pkgs/development/python-modules/pyarrow/default.nix
  124. +2 −2 pkgs/development/tools/ammonite/default.nix
  125. +2 −2 pkgs/development/tools/build-managers/gradle/default.nix
  126. +38 −8 pkgs/development/tools/gocode/default.nix
  127. +11 −0 pkgs/development/tools/gocode/deps.nix
  128. +1 −0 pkgs/development/tools/yarn/default.nix
  129. +6 −3 pkgs/games/dwarf-fortress/wrapper/default.nix
  130. +1,158 −1,176 pkgs/games/steam/runtime-generated.nix
  131. +4 −3 pkgs/games/steam/update-runtime.py
  132. +19 −38 pkgs/games/teeworlds/default.nix
  133. +2 −6 pkgs/misc/drivers/sc-controller/default.nix
  134. +14 −1 pkgs/misc/vim-plugins/default.nix
  135. +1 −0 pkgs/misc/vim-plugins/vim-plugin-names
  136. +1 −1 pkgs/misc/vim-plugins/vim2nix/additional-nix-code/clang_complete
  137. +3 −3 pkgs/misc/vscode-extensions/cpptools/default.nix
  138. +0 −22 pkgs/misc/vscode-extensions/cpptools/package-activation-events-0-16-1.json
  139. +25 −0 pkgs/misc/vscode-extensions/cpptools/package-activation-events.json
  140. +55 −9 pkgs/os-specific/linux/kernel-headers/default.nix
  141. +16 −0 pkgs/os-specific/linux/kernel-headers/no-dynamic-cc-version-check.patch
  142. +13 −0 pkgs/os-specific/linux/kernel-headers/no-relocs.patch
  143. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  144. +2 −2 pkgs/os-specific/linux/kernel/linux-4.18.nix
  145. +56 −0 pkgs/os-specific/linux/r8168/default.nix
  146. +17 −1 pkgs/os-specific/linux/systemd/default.nix
  147. +2 −2 pkgs/servers/atlassian/jira.nix
  148. +2 −2 pkgs/servers/dns/pdns-recursor/default.nix
  149. +2 −2 pkgs/servers/dns/powerdns/default.nix
  150. +29 −21 pkgs/servers/emby/default.nix
  151. +2 −0 pkgs/servers/home-assistant/default.nix
  152. +8 −5 pkgs/servers/http/apache-modules/tomcat-connectors/default.nix
  153. +2 −2 pkgs/servers/http/lighttpd/default.nix
  154. +2 −2 pkgs/servers/http/nginx/mainline.nix
  155. +12 −0 pkgs/servers/http/nginx/modules.nix
  156. +2 −2 pkgs/servers/icecast/default.nix
  157. +2 −2 pkgs/servers/jackett/default.nix
  158. +39 −12 pkgs/servers/matrix-synapse/default.nix
  159. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  160. +38 −23 pkgs/servers/mqtt/mosquitto/default.nix
  161. +11 −5 pkgs/servers/nextcloud/default.nix
  162. +2 −2 pkgs/servers/radicale/default.nix
  163. +2 −2 pkgs/servers/samba/4.x.nix
  164. +4 −5 pkgs/servers/slimserver/default.nix
  165. +1 −1 pkgs/servers/sql/postgresql/timescaledb/default.nix
  166. +2 −2 pkgs/servers/trezord/default.nix
  167. +2 −2 pkgs/servers/web-apps/matomo/default.nix
  168. +3 −3 pkgs/servers/x11/xorg/overrides.nix
  169. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  170. +11 −11 pkgs/stdenv/linux/make-bootstrap-tools.nix
  171. +4 −4 pkgs/tools/admin/ansible/default.nix
  172. +3 −3 pkgs/tools/admin/google-cloud-sdk/default.nix
  173. +7 −4 pkgs/tools/admin/lxd/default.nix
  174. +35 −44 pkgs/tools/misc/debootstrap/default.nix
  175. +9 −14 pkgs/tools/misc/youtube-dl/default.nix
  176. +5 −5 pkgs/tools/networking/httping/default.nix
  177. +2 −1 pkgs/tools/networking/mu/default.nix
  178. +22 −10 pkgs/tools/networking/ntp/seccomp.patch
  179. +12 −1 pkgs/tools/networking/strongswan/default.nix
  180. +10 −9 pkgs/tools/package-management/nix-index/default.nix
  181. +6 −6 pkgs/tools/package-management/nix/default.nix
  182. +54 −0 pkgs/tools/security/acsccid/default.nix
  183. +27 −0 pkgs/tools/security/chrome-token-signing/default.nix
  184. +2 −2 pkgs/tools/security/clamav/default.nix
  185. +2 −2 pkgs/tools/security/pcsclite/default.nix
  186. +6 −10 pkgs/tools/security/qdigidoc/default.nix
  187. +1 −0 pkgs/top-level/aliases.nix
  188. +60 −25 pkgs/top-level/all-packages.nix
  189. +10 −0 pkgs/top-level/haskell-packages.nix
  190. +18 −5 pkgs/top-level/perl-packages.nix
  191. +7 −10 pkgs/top-level/python-packages.nix
  192. +5 −5 pkgs/top-level/release-cross.nix
  193. +59 −36 pkgs/top-level/release-lib.nix
  194. +1 −1 pkgs/top-level/release.nix
277 changes: 224 additions & 53 deletions doc/functions/dockertools.xml
Original file line number Diff line number Diff line change
@@ -37,29 +37,29 @@
<example xml:id='ex-dockerTools-buildImage'>
<title>Docker build</title>
<programlisting>
buildImage {
name = "redis"; <co xml:id='ex-dockerTools-buildImage-1' />
tag = "latest"; <co xml:id='ex-dockerTools-buildImage-2' />

fromImage = someBaseImage; <co xml:id='ex-dockerTools-buildImage-3' />
fromImageName = null; <co xml:id='ex-dockerTools-buildImage-4' />
fromImageTag = "latest"; <co xml:id='ex-dockerTools-buildImage-5' />

contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
#!${stdenv.shell}
mkdir -p /data
'';

config = { <co xml:id='ex-dockerTools-buildImage-8' />
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
buildImage {
name = "redis"; <co xml:id='ex-dockerTools-buildImage-1' />
tag = "latest"; <co xml:id='ex-dockerTools-buildImage-2' />

fromImage = someBaseImage; <co xml:id='ex-dockerTools-buildImage-3' />
fromImageName = null; <co xml:id='ex-dockerTools-buildImage-4' />
fromImageTag = "latest"; <co xml:id='ex-dockerTools-buildImage-5' />

contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
#!${stdenv.shell}
mkdir -p /data
'';

config = { <co xml:id='ex-dockerTools-buildImage-8' />
Cmd = [ "/bin/redis-server" ];
WorkingDir = "/data";
Volumes = {
"/data" = {};
};
}
</programlisting>
};
}
</programlisting>
</example>

<para>
@@ -226,6 +226,177 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
</example>
</section>

<section xml:id="ssec-pkgs-dockerTools-buildLayeredImage">
<title>buildLayeredImage</title>

<para>
Create a Docker image with many of the store paths being on their own layer
to improve sharing between images.
</para>

<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the resulting image.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>tag</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Tag of the generated image.
</para>
<para>
<emphasis>Default:</emphasis> the output path's hash
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>contents</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Top level paths in the container. Either a single derivation, or a list
of derivations.
</para>
<para>
<emphasis>Default:</emphasis> <literal>[]</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>config</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Run-time configuration of the container. A full list of the options are
available at in the
<link xlink:href="https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions">
Docker Image Specification v1.2.0 </link>.
</para>
<para>
<emphasis>Default:</emphasis> <literal>{}</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>created</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Date and time the layers were created. Follows the same
<literal>now</literal> exception supported by
<literal>buildImage</literal>.
</para>
<para>
<emphasis>Default:</emphasis> <literal>1970-01-01T00:00:01Z</literal>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>maxLayers</varname> <emphasis>optional</emphasis>
</term>
<listitem>
<para>
Maximum number of layers to create.
</para>
<para>
<emphasis>Default:</emphasis> <literal>24</literal>
</para>
</listitem>
</varlistentry>
</variablelist>

<section xml:id="dockerTools-buildLayeredImage-arg-contents">
<title>Behavior of <varname>contents</varname> in the final image</title>

<para>
Each path directly listed in <varname>contents</varname> will have a
symlink in the root of the image.
</para>

<para>
For example:
<programlisting><![CDATA[
pkgs.dockerTools.buildLayeredImage {
name = "hello";
contents = [ pkgs.hello ];
}
]]></programlisting>
will create symlinks for all the paths in the <literal>hello</literal>
package:
<screen><![CDATA[
/bin/hello -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/bin/hello
/share/info/hello.info -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/share/info/hello.info
/share/locale/bg/LC_MESSAGES/hello.mo -> /nix/store/h1zb1padqbbb7jicsvkmrym3r6snphxg-hello-2.10/share/locale/bg/LC_MESSAGES/hello.mo
]]></screen>
</para>
</section>

<section xml:id="dockerTools-buildLayeredImage-arg-config">
<title>Automatic inclusion of <varname>config</varname> references</title>

<para>
The closure of <varname>config</varname> is automatically included in the
closure of the final image.
</para>

<para>
This allows you to make very simple Docker images with very little code.
This container will start up and run <command>hello</command>:
<programlisting><![CDATA[
pkgs.dockerTools.buildLayeredImage {
name = "hello";
config.Cmd = [ "${pkgs.hello}/bin/hello" ];
}
]]></programlisting>
</para>
</section>

<section xml:id="dockerTools-buildLayeredImage-arg-maxLayers">
<title>Adjusting <varname>maxLayers</varname></title>

<para>
Increasing the <varname>maxLayers</varname> increases the number of layers
which have a chance to be shared between different images.
</para>

<para>
Modern Docker installations support up to 128 layers, however older
versions support as few as 42.
</para>

<para>
If the produced image will not be extended by other Docker builds, it is
safe to set <varname>maxLayers</varname> to <literal>128</literal>. However
it will be impossible to extend the image further.
</para>

<para>
The first (<literal>maxLayers-2</literal>) most "popular" paths will have
their own individual layers, then layer #<literal>maxLayers-1</literal>
will contain all the remaining "unpopular" paths, and finally layer
#<literal>maxLayers</literal> will contain the Image configuration.
</para>

<para>
Docker's Layers are not inherently ordered, they are content-addressable
and are not explicitly layered until they are composed in to an Image.
</para>
</section>
</section>

<section xml:id="ssec-pkgs-dockerTools-fetchFromRegistry">
<title>pullImage</title>

@@ -243,15 +414,15 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-pullImage'>
<title>Docker pull</title>
<programlisting>
pullImage {
imageName = "nixos/nix"; <co xml:id='ex-dockerTools-pullImage-1' />
imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' />
finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' />
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' />
os = "linux"; <co xml:id='ex-dockerTools-pullImage-5' />
arch = "x86_64"; <co xml:id='ex-dockerTools-pullImage-6' />
}
</programlisting>
pullImage {
imageName = "nixos/nix"; <co xml:id='ex-dockerTools-pullImage-1' />
imageDigest = "sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b"; <co xml:id='ex-dockerTools-pullImage-2' />
finalImageTag = "1.11"; <co xml:id='ex-dockerTools-pullImage-3' />
sha256 = "0mqjy3zq2v6rrhizgb9nvhczl87lcfphq9601wcprdika2jz7qh8"; <co xml:id='ex-dockerTools-pullImage-4' />
os = "linux"; <co xml:id='ex-dockerTools-pullImage-5' />
arch = "x86_64"; <co xml:id='ex-dockerTools-pullImage-6' />
}
</programlisting>
</example>

<calloutlist>
@@ -273,9 +444,9 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
exactly which image you want. By default it will match the OS and
architecture of the host the command is run on.
<programlisting>
$ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting>
$ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting>
This argument is required.
</para>
</callout>
@@ -333,13 +504,13 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-exportImage'>
<title>Docker export</title>
<programlisting>
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;
exportImage {
fromImage = someLayeredImage;
fromImageName = null;
fromImageTag = null;

name = someLayeredImage.name;
}
name = someLayeredImage.name;
}
</programlisting>
</example>

@@ -369,19 +540,19 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
<example xml:id='ex-dockerTools-shadowSetup'>
<title>Shadow base files</title>
<programlisting>
buildImage {
name = "shadow-basic";

runAsRoot = ''
#!${stdenv.shell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
</programlisting>
buildImage {
name = "shadow-basic";

runAsRoot = ''
#!${stdenv.shell}
${shadowSetup}
groupadd -r redis
useradd -r -g redis redis
mkdir /data
chown redis:redis /data
'';
}
</programlisting>
</example>

<para>
4 changes: 4 additions & 0 deletions doc/languages-frameworks/vim.section.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ Adding custom .vimrc lines can be done using the following code:

```
vim_configurable.customize {
# `name` specifies the name of the executable and package
name = "vim-with-plugins";
vimrcConfig.customRC = ''
@@ -30,6 +31,8 @@ vim_configurable.customize {
}
```

This configuration is used when vim is invoked with the command specified as name, in this case `vim-with-plugins`.

For Neovim the `configure` argument can be overridden to achieve the same:

```
@@ -82,6 +85,7 @@ The resulting package can be added to `packageOverrides` in `~/.nixpkgs/config.n
{
packageOverrides = pkgs: with pkgs; {
myVim = vim_configurable.customize {
# `name` specifies the name of the executable and package
name = "vim-with-plugins";
# add here code from the example section
};
26 changes: 24 additions & 2 deletions doc/stdenv.xml
Original file line number Diff line number Diff line change
@@ -372,7 +372,7 @@ let f(h, h + 1, i) = i + h
They are programs/libraries used at build time that furthermore produce
programs/libraries also used at build time. If the dependency doesn't
care about the target platform (i.e. isn't a compiler or similar tool),
put it in <varname>nativeBuildInputs</varname>instead. The most common
put it in <varname>nativeBuildInputs</varname> instead. The most common
use for this <literal>buildPackages.stdenv.cc</literal>, the default C
compiler for this role. That example crops up more than one might think
in old commonly used C libraries.
@@ -2100,7 +2100,7 @@ someVar=$(stripHash $name)

<para>
In order to alleviate this burden, the <firstterm>setup
hook></firstterm>mechanism was written, where any package can include a
hook</firstterm> mechanism was written, where any package can include a
shell script that [by convention rather than enforcement by Nix], any
downstream reverse-dependency will source as part of its build process. That
allows the downstream dependency to merely specify its dependencies, and
@@ -2445,6 +2445,28 @@ addEnvHooks "$hostOffset" myBashFunction
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
breakpointHook
</term>
<listitem>
<para>
This hook will make a build pause instead of stopping when a failure
happen. It prevents nix to cleanup the build environment immediatly and
allows the user to attach to a build environment using the
<command>cntr</command> command. On build error it will print the
instruction that are neccessary for <command>cntr</command>. Installing
cntr and running the command will provide shell access to the build
sandbox of failed build. At <filename>/var/lib/cntr</filename> the
sandbox filesystem is mounted. All commands and files of the system are
still accessible within the shell. To execute commands from the sandbox
use the cntr exec subcommand. Note that <command>cntr</command> also
needs to be executed on the machine that is doing the build, which might
be not the case when remote builders are enabled.
<command>cntr</command> is only supported on linux based platforms.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
Loading