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: e7d57853b036
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: 0eb13162f187
Choose a head ref

Commits on May 17, 2018

  1. Copy the full SHA
    14cbd4d View commit details

Commits on Jul 17, 2018

  1. nixos/switch-to-configuration: Never stop system.slice

    Problem: Restarting (stopping) system.slice would not only stop X11 but
    also most system units/services. We obviously don't want this happening
    to users when they switch from 18.03 to 18.09 or nixos-unstable.
    
    Reason: The following change in systemd:
    systemd/systemd@d8e5a93
    
    The commit adds system.slice to the perpetual units, which means
    removing the unit file and adding it to the source code. This is done so
    that system.slice can't be stopped anymore but in our case it ironically
    would cause this script to stop system.slice because the unit file was
    removed (and an older systemd version is still running).
    
    Related issue: NixOS/nixpkgs#39791
    primeos committed Jul 17, 2018
    Copy the full SHA
    7098b0f View commit details

Commits on Jul 21, 2018

  1. Copy the full SHA
    182b7f6 View commit details

Commits on Jul 22, 2018

  1. Take me (viric) out of most maintenance

    Since years I'm not maintaining anything of the list below other
    than some updates when I needed them for some reason. Other people
    is doing that maintenance on my behalf so I better take me out but
    for very few packages. Finally!
    viric committed Jul 22, 2018
    Copy the full SHA
    66d7126 View commit details
  2. Openssl in coreutils makes *sum programs much faster.

    sha256sum, md5sum, etc.
    viric committed Jul 22, 2018
    Copy the full SHA
    36701d4 View commit details

Commits on Jul 25, 2018

  1. elixir: init 1.7.0

    LnL7 committed Jul 25, 2018
    Copy the full SHA
    911b7b2 View commit details

Commits on Jul 26, 2018

  1. iwd: 0.3 -> 0.4

    dywedir committed Jul 26, 2018
    Copy the full SHA
    67ef197 View commit details
  2. plasma.kwin: Adds libdrm depdency

    Libdrm is required to enable the DRM backend that is used by Wayland.
    bkchr committed Jul 26, 2018
    Copy the full SHA
    af44ab8 View commit details
  3. plasma-workspace: Improve the NixOS patch set

    We changed some if condition that is not required to be changed.
    bkchr committed Jul 26, 2018
    Copy the full SHA
    6e5d977 View commit details

Commits on Jul 27, 2018

  1. Copy the full SHA
    2640774 View commit details
  2. Copy the full SHA
    28b2c8b View commit details
  3. Copy the full SHA
    993937d View commit details
  4. altcoins.mist: 0.10.0 -> 0.11.1

    * Add gtk2 as dependency, see #43297
    * Don't include version number in mist executable name
    jbboehr committed Jul 27, 2018
    Copy the full SHA
    c835845 View commit details
  5. fzf: fix invalid symlink on vim-plugins

    The fzf vim plugin wasn't working because it was making a symlink to a
    directory with the full source code. This directory isn't present
    anymore since the commit e95f17e wich
    removes it because it isn't so useful for the go packages.
    
    I fixed it by manually copying the plugin/ directory into the out
    derivation, which is the only part of the source that contains the vim
    plugin.
    cript0nauta committed Jul 27, 2018
    Copy the full SHA
    fcb4e32 View commit details
  6. Copy the full SHA
    6607211 View commit details
  7. Copy the full SHA
    cb20776 View commit details
  8. Copy the full SHA
    aa86f70 View commit details
  9. Copy the full SHA
    08db286 View commit details
  10. Copy the full SHA
    b8980e4 View commit details
  11. Copy the full SHA
    64c6ff3 View commit details
  12. Copy the full SHA
    c58b11d View commit details
  13. Copy the full SHA
    cacf092 View commit details
  14. elk: 6.2.4 -> 6.3.2

    * The ELK stack is upgraded to 6.3.2.
    
    * `elasticsearch6`, `logstash6` and `kibana6` now come with X-Pack which is
      a suite of additional features. These are however licensed under the unfree
      "Elastic License".
    
    * Fortunately they also provide OSS versions which are now packaged
      under: `elasticsearch6-oss`, `logstash6-oss` and `kibana6-oss`.
      Note that the naming of the attributes is consistent with upstream.
    
    * The test `nix-build nixos/tests/elk.nix -A ELK-6` will test the OSS
      version by default. You can also run the test on the unfree ELK using:
      `NIXPKGS_ALLOW_UNFREE=1 nix-build nixos/tests/elk.nix -A ELK-6 --arg enableUnfree true`
    basvandijk committed Jul 27, 2018
    Copy the full SHA
    ebcdb82 View commit details
  15. llvm-packages: fix manpages with python-boot and cleanup

    On darwin llvmPackages is built using python-boot to avoid dependencies
    in the stdenv, but we can't and shouldn't use that when building the
    manpages since it depends on python packages.
    LnL7 committed Jul 27, 2018
    Copy the full SHA
    3ec81ae View commit details
  16. llvm-packages: expose manpages in all-packages.nix

    Only for the default version, we probably shouldn't be exposing
    most attributes all versions.
    LnL7 committed Jul 27, 2018
    Copy the full SHA
    2100f46 View commit details
  17. llvm-manpages: fix build

    LnL7 committed Jul 27, 2018
    Copy the full SHA
    2e09219 View commit details
  18. Merge pull request #44038 from LumiGuide/elk-6.3.0

    elk: 6.2.4 -> 6.3.2
    basvandijk authored Jul 27, 2018
    Copy the full SHA
    72f3a5c View commit details
  19. Copy the full SHA
    368cca9 View commit details
  20. Copy the full SHA
    08bf0b7 View commit details
  21. Merge pull request #44164 from LnL7/llvm-man-output

    llvm-packages: fix manpages on darwin
    Ericson2314 authored Jul 27, 2018
    Copy the full SHA
    574871e View commit details
  22. aliases: add callPackage_i686

    This was removed in PR #42874.
    matthewbauer committed Jul 27, 2018
    Copy the full SHA
    d14dedf View commit details
  23. st: fix patches passing

    matthewbauer committed Jul 27, 2018
    Copy the full SHA
    0e70703 View commit details
  24. fortune: remove gcc from closure

    Fixup is only run on $out/bin not $out/games. Luckily fortune is
    relocatable so just moving it to $out/bin works & reduces closure size.
    matthewbauer committed Jul 27, 2018
    Copy the full SHA
    53bf234 View commit details

Commits on Jul 28, 2018

  1. Merge pull request #40625 from romildo/fix.xkeyboard-config

    xkeyboard-config: enable xkb rules symlink
    infinisil authored Jul 28, 2018
    Copy the full SHA
    5edb09c View commit details
  2. android-file-transfer: init at 3.4

    xaverdh authored and ryantm committed Jul 28, 2018
    Copy the full SHA
    6613fea View commit details
  3. Merge pull request #44154 from sh4r3m4n/fzf-fix-2

    fzf: fix invalid symlink on vim-plugins
    infinisil authored Jul 28, 2018
    Copy the full SHA
    f460703 View commit details
  4. Merge pull request #41908 from nicknovitski/dockertools-darwin

    fix dockertools.pullImage on darwin
    copumpkin authored Jul 28, 2018
    Copy the full SHA
    fe036ea View commit details
  5. coqPackages.category-theory: revert "Add equations as a buildInput"

    This reverts commit 08bf0b7, which broke
    Nixpkgs evaluation.
    
    Ping @jwiegley.
    peti committed Jul 28, 2018
    Copy the full SHA
    6d6522d View commit details
  6. Merge pull request #41892 from catern/exlib

    add pykerberos, requests-kerberos, exchangelib
    FRidh authored Jul 28, 2018
    Copy the full SHA
    17a09eb View commit details
  7. Merge pull request #44152 from georgewhewell/add-sabyenc

    pythonPackages.sabyenc: init at 2.3.3
    FRidh authored Jul 28, 2018
    Copy the full SHA
    5cd5e74 View commit details
  8. Merge pull request #43888 from Ekleog/synapse-0.33.0

    matrix-synapse: 0.31.2 -> 0.33.0
    andir authored Jul 28, 2018
    Copy the full SHA
    782342c View commit details
  9. vim-configurable: fix python support

    Removed --enable-python since that doesn't seem to do anything.
    LnL7 committed Jul 28, 2018
    Copy the full SHA
    5b211b6 View commit details
  10. Merge pull request #44167 from LnL7/vim-configurable-python

    vim-configurable: fix python support
    LnL7 authored Jul 28, 2018
    Copy the full SHA
    13c693e View commit details
  11. Copy the full SHA
    5a2ee49 View commit details
  12. Copy the full SHA
    f2ae2c9 View commit details
  13. Copy the full SHA
    5a9645c View commit details
  14. Copy the full SHA
    0c4daae View commit details
  15. Copy the full SHA
    b6d92b8 View commit details
  16. Merge pull request #44111 from LnL7/elixir-1.7.0

    elixir: init 1.7.0
    LnL7 authored Jul 28, 2018
    Copy the full SHA
    0fa2cbf View commit details
  17. Copy the full SHA
    f54b387 View commit details
Showing with 725 additions and 310 deletions.
  1. +22 −2 doc/functions.xml
  2. +6 −0 lib/licenses.nix
  3. +6 −4 lib/systems/parse.nix
  4. +1 −1 maintainers/maintainer-list.nix
  5. +29 −13 nixos/modules/services/search/elasticsearch.nix
  6. +18 −0 nixos/modules/system/activation/switch-to-configuration.pl
  7. +13 −6 nixos/tests/elk.nix
  8. +8 −7 pkgs/applications/altcoins/mist.nix
  9. +1 −1 pkgs/applications/audio/mikmod/default.nix
  10. +2 −5 pkgs/applications/editors/vim/configurable.nix
  11. +1 −1 pkgs/applications/gis/qgis/default.nix
  12. +1 −1 pkgs/applications/graphics/giv/default.nix
  13. +1 −1 pkgs/applications/graphics/hugin/default.nix
  14. +1 −1 pkgs/applications/graphics/paraview/default.nix
  15. +1 −1 pkgs/applications/graphics/pinta/default.nix
  16. +1 −1 pkgs/applications/graphics/rawtherapee/default.nix
  17. +1 −1 pkgs/applications/graphics/sane/xsane.nix
  18. +1 −1 pkgs/applications/graphics/smartdeblur/default.nix
  19. +1 −1 pkgs/applications/misc/calibre/default.nix
  20. +1 −1 pkgs/applications/misc/dmenu/default.nix
  21. +4 −4 pkgs/applications/misc/doomseeker/default.nix
  22. +47 −0 pkgs/applications/misc/doomseeker/qt_build_fix.patch
  23. +1 −1 pkgs/applications/misc/eaglemode/default.nix
  24. +1 −1 pkgs/applications/misc/merkaartor/default.nix
  25. +1 −1 pkgs/applications/misc/mupdf/default.nix
  26. +1 −1 pkgs/applications/misc/navipowm/default.nix
  27. +1 −1 pkgs/applications/misc/navit/default.nix
  28. +1 −1 pkgs/applications/misc/ocropus/default.nix
  29. +3 −4 pkgs/applications/misc/st/default.nix
  30. +1 −1 pkgs/applications/misc/truecrypt/default.nix
  31. +1 −1 pkgs/applications/misc/xterm/default.nix
  32. +1 −1 pkgs/applications/networking/browsers/links2/default.nix
  33. +1 −1 pkgs/applications/networking/instant-messengers/qtox/default.nix
  34. +1 −1 pkgs/applications/networking/instant-messengers/toxic/default.nix
  35. +1 −1 pkgs/applications/networking/mumble/default.nix
  36. +1 −1 pkgs/applications/networking/p2p/gnunet/default.nix
  37. +1 −1 pkgs/applications/networking/p2p/gnunet/git.nix
  38. +1 −1 pkgs/applications/networking/p2p/qbittorrent/default.nix
  39. +1 −1 pkgs/applications/networking/pjsip/default.nix
  40. +1 −1 pkgs/applications/networking/znc/default.nix
  41. +1 −1 pkgs/applications/office/homebank/default.nix
  42. +1 −1 pkgs/applications/office/libreoffice/default.nix
  43. +1 −1 pkgs/applications/office/libreoffice/still.nix
  44. +1 −1 pkgs/applications/science/electronics/gtkwave/default.nix
  45. +1 −1 pkgs/applications/science/electronics/ngspice/default.nix
  46. +1 −1 pkgs/applications/video/avidemux/default.nix
  47. +1 −1 pkgs/applications/video/avxsynth/default.nix
  48. +1 −1 pkgs/applications/virtualization/qemu/default.nix
  49. +1 −1 pkgs/applications/window-managers/tabbed/default.nix
  50. +1 −1 pkgs/applications/window-managers/vwm/default.nix
  51. +1 −3 pkgs/build-support/bintools-wrapper/default.nix
  52. +1 −3 pkgs/build-support/cc-wrapper/default.nix
  53. +4 −3 pkgs/build-support/docker/default.nix
  54. +2 −2 pkgs/desktops/plasma-5/kwin/default.nix
  55. +3 −3 pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch
  56. +17 −12 pkgs/development/beam-modules/default.nix
  57. +1 −1 pkgs/development/compilers/gcc/4.8/default.nix
  58. +1 −1 pkgs/development/compilers/gcc/4.9/default.nix
  59. +1 −1 pkgs/development/compilers/gcc/5/default.nix
  60. +1 −1 pkgs/development/compilers/gcc/6/default.nix
  61. +2 −2 pkgs/development/compilers/gcc/8/default.nix
  62. +1 −1 pkgs/development/compilers/llvm/3.4/llvm.nix
  63. +1 −1 pkgs/development/compilers/llvm/3.5/llvm.nix
  64. +1 −1 pkgs/development/compilers/llvm/3.7/llvm.nix
  65. +1 −1 pkgs/development/compilers/llvm/3.8/llvm.nix
  66. +1 −1 pkgs/development/compilers/llvm/3.9/llvm.nix
  67. +17 −14 pkgs/development/compilers/llvm/4/default.nix
  68. +2 −2 pkgs/development/compilers/llvm/4/llvm.nix
  69. +16 −13 pkgs/development/compilers/llvm/5/default.nix
  70. +2 −2 pkgs/development/compilers/llvm/5/llvm.nix
  71. +16 −13 pkgs/development/compilers/llvm/6/default.nix
  72. +1 −1 pkgs/development/compilers/llvm/6/llvm.nix
  73. +1 −1 pkgs/development/compilers/mono/generic-cmake.nix
  74. +1 −1 pkgs/development/compilers/mono/generic.nix
  75. +5 −4 pkgs/development/compilers/purescript/psc-package/default.nix
  76. +6 −6 pkgs/development/coq-modules/category-theory/default.nix
  77. +7 −0 pkgs/development/interpreters/elixir/1.7.nix
  78. +1 −1 pkgs/development/interpreters/elixir/generic-builder.nix
  79. +1 −1 pkgs/development/interpreters/octave/default.nix
  80. +2 −0 pkgs/development/interpreters/python/cpython/2.7/boot.nix
  81. +1 −1 pkgs/development/libraries/filter-audio/default.nix
  82. +1 −1 pkgs/development/libraries/libchop/default.nix
  83. +1 −1 pkgs/development/libraries/libsodium/default.nix
  84. +1 −1 pkgs/development/libraries/libtoxcore/new-api.nix
  85. +1 −1 pkgs/development/libraries/openct/default.nix
  86. +1 −1 pkgs/development/libraries/opencv/3.x.nix
  87. +1 −1 pkgs/development/libraries/opencv/default.nix
  88. +1 −1 pkgs/development/libraries/ucommon/default.nix
  89. +1 −1 pkgs/development/libraries/vtk/default.nix
  90. +5 −1 pkgs/development/ocaml-modules/estring/default.nix
  91. +2 −1 pkgs/development/ocaml-modules/janestreet/default.nix
  92. +23 −10 pkgs/development/ocaml-modules/sqlexpr/default.nix
  93. +15 −0 pkgs/development/ocaml-modules/sqlexpr/ppx.nix
  94. +32 −0 pkgs/development/python-modules/exchangelib/default.nix
  95. +18 −0 pkgs/development/python-modules/exchangelib/skip_failing_test.patch
  96. +22 −0 pkgs/development/python-modules/pykerberos/default.nix
  97. +27 −0 pkgs/development/python-modules/requests-kerberos/default.nix
  98. +9 −0 pkgs/development/python-modules/requests-kerberos/fix_setup.patch
  99. +22 −0 pkgs/development/python-modules/sabyenc/default.nix
  100. +1 −1 pkgs/development/tools/cdecl/default.nix
  101. +1 −1 pkgs/development/tools/misc/cgdb/default.nix
  102. +41 −6 pkgs/development/tools/misc/kibana/6.x.nix
  103. +1 −1 pkgs/development/tools/misc/openocd/default.nix
  104. +3 −3 pkgs/development/tools/misc/universal-ctags/default.nix
  105. +3 −3 pkgs/development/tools/rust/cbindgen/default.nix
  106. +3 −3 pkgs/development/tools/skopeo/default.nix
  107. +1 −1 pkgs/games/asc/default.nix
  108. +1 −1 pkgs/games/dxx-rebirth/default.nix
  109. +1 −1 pkgs/games/rigsofrods/default.nix
  110. +1 −1 pkgs/games/speed-dreams/default.nix
  111. +1 −1 pkgs/games/xmoto/default.nix
  112. +1 −1 pkgs/misc/logging/beats/6.x.nix
  113. +1 −0 pkgs/misc/themes/kde2/default.nix
  114. +1 −1 pkgs/os-specific/linux/batman-adv/batctl.nix
  115. +1 −1 pkgs/os-specific/linux/batman-adv/default.nix
  116. +1 −1 pkgs/os-specific/linux/busybox/default.nix
  117. +1 −1 pkgs/os-specific/linux/cryptsetup/default.nix
  118. +1 −1 pkgs/os-specific/linux/firmware/raspberrypi/default.nix
  119. +1 −1 pkgs/os-specific/linux/firmware/raspberrypi/tools.nix
  120. +4 −4 pkgs/os-specific/linux/iwd/default.nix
  121. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  122. +2 −2 pkgs/os-specific/linux/kernel/linux-4.17.nix
  123. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  124. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  125. +1 −1 pkgs/os-specific/linux/v4l-utils/default.nix
  126. +1 −1 pkgs/servers/bird/default.nix
  127. +1 −1 pkgs/servers/dns/bind/default.nix
  128. +1 −1 pkgs/servers/mail/dovecot/default.nix
  129. +4 −4 pkgs/servers/matrix-synapse/default.nix
  130. +1 −1 pkgs/servers/sabnzbd/default.nix
  131. +30 −6 pkgs/servers/search/elasticsearch/6.x.nix
  132. +1 −1 pkgs/servers/sip/freeswitch/default.nix
  133. +1 −1 pkgs/servers/sip/sipwitch/default.nix
  134. +1 −0 pkgs/servers/x11/xorg/default.nix
  135. +3 −1 pkgs/shells/zsh/zsh-command-time/default.nix
  136. +2 −11 pkgs/stdenv/darwin/default.nix
  137. +1 −1 pkgs/tools/backup/dar/default.nix
  138. +1 −1 pkgs/tools/backup/duplicity/default.nix
  139. +27 −0 pkgs/tools/filesystems/android-file-transfer/default.nix
  140. +1 −1 pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix
  141. +1 −1 pkgs/tools/graphics/jhead/default.nix
  142. +1 −0 pkgs/tools/graphics/twilight/default.nix
  143. +7 −6 pkgs/tools/misc/fortune/default.nix
  144. +2 −2 pkgs/tools/misc/fzf/default.nix
  145. +15 −4 pkgs/tools/misc/logstash/6.x.nix
  146. +1 −1 pkgs/tools/misc/mktorrent/default.nix
  147. +1 −1 pkgs/tools/misc/pv/default.nix
  148. +1 −1 pkgs/tools/misc/remind/default.nix
  149. +1 −1 pkgs/tools/networking/aircrack-ng/default.nix
  150. +1 −1 pkgs/tools/networking/inadyn/default.nix
  151. +1 −1 pkgs/tools/networking/isync/default.nix
  152. +1 −1 pkgs/tools/networking/nuttcp/default.nix
  153. +1 −1 pkgs/tools/networking/nylon/default.nix
  154. +1 −1 pkgs/tools/security/ccid/default.nix
  155. +1 −1 pkgs/tools/security/opensc/default.nix
  156. +1 −1 pkgs/tools/security/pcsclite/default.nix
  157. +1 −1 pkgs/tools/security/pcsctools/default.nix
  158. +1 −1 pkgs/tools/text/dos2unix/default.nix
  159. +1 −1 pkgs/tools/text/kdiff3/default.nix
  160. +1 −1 pkgs/tools/typesetting/htmldoc/default.nix
  161. +1 −1 pkgs/tools/typesetting/pdftk/default.nix
  162. +1 −1 pkgs/tools/video/rtmpdump/default.nix
  163. +1 −0 pkgs/top-level/aliases.nix
  164. +17 −4 pkgs/top-level/all-packages.nix
  165. +1 −1 pkgs/top-level/beam-packages.nix
  166. +2 −0 pkgs/top-level/ocaml-packages.nix
  167. +8 −0 pkgs/top-level/python-packages.nix
24 changes: 22 additions & 2 deletions doc/functions.xml
Original file line number Diff line number Diff line change
@@ -649,6 +649,8 @@ merge:"diff3"
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>
@@ -664,9 +666,15 @@ merge:"diff3"
<callout arearefs='ex-dockerTools-pullImage-2'>
<para>
<varname>imageDigest</varname> specifies the digest of the image to be
downloaded. Skopeo can be used to get the digest of an image
downloaded. Skopeo can be used to get the digest of an image, with its
<varname>inspect</varname> subcommand. Since a given <varname>imageName</varname>
may transparently refer to a manifest list of images which support
multiple architectures and/or operating systems, supply the `--override-os`
and `--override-arch` arguments to specify exactly which image you
want. By default it will match the OS and architecture of the host the
command is run on.
<programlisting>
$ skopeo inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'
$ 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.
@@ -686,6 +694,18 @@ merge:"diff3"
This argument is required.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-5'>
<para>
<varname>os</varname>, if specified, is the operating system of the fetched image.
By default it's <literal>linux</literal>.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-6'>
<para>
<varname>arch</varname>, if specified, is the cpu architecture of the fetched image.
By default it's <literal>x86_64</literal>.
</para>
</callout>
</calloutlist>
</section>

6 changes: 6 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -231,6 +231,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Eiffel Forum License v2.0";
};

elastic = {
fullName = "ELASTIC LICENSE";
url = https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt;
free = false;
};

epl10 = spdx {
spdxId = "EPL-1.0";
fullName = "Eclipse Public License 1.0";
10 changes: 6 additions & 4 deletions lib/systems/parse.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
with lib.lists;
with lib.types;
with lib.attrsets;
with lib.strings;
with (import ./inspect.nix { inherit lib; }).predicates;

let
@@ -179,9 +180,6 @@ rec {
} // { # aliases
# 'darwin' is the kernel for all of them. We choose macOS by default.
darwin = kernels.macos;
# TODO(@Ericson2314): Handle these Darwin version suffixes more generally.
darwin10 = kernels.macos;
darwin14 = kernels.macos;
watchos = kernels.ios;
tvos = kernels.ios;
win32 = kernels.windows;
@@ -269,6 +267,8 @@ rec {
then { cpu = elemAt l 0; kernel = elemAt l 1; abi = elemAt l 2; }
else if (elemAt l 2 == "mingw32") # autotools breaks on -gnu for window
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "windows"; abi = "gnu"; }
else if hasPrefix "netbsd" (elemAt l 2)
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; }
else throw "Target specification with 3 components is ambiguous";
"4" = { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; abi = elemAt l 3; };
}.${toString (length l)}
@@ -295,7 +295,9 @@ rec {
else if isDarwin parsed then vendors.apple
else if isWindows parsed then vendors.pc
else vendors.unknown;
kernel = getKernel args.kernel;
kernel = if hasPrefix "darwin" args.kernel then getKernel "darwin"
else if hasPrefix "netbsd" args.kernel then getKernel "netbsd"
else getKernel args.kernel;
abi =
/**/ if args ? abi then getAbi args.abi
else if isLinux parsed then
2 changes: 1 addition & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1486,7 +1486,7 @@
name = "Robin Gloster";
};
gnidorah = {
email = "yourbestfriend@opmbx.org";
email = "gnidorah@yandex.com";
github = "gnidorah";
name = "Alex Ivanov";
};
42 changes: 29 additions & 13 deletions nixos/modules/services/search/elasticsearch.nix
Original file line number Diff line number Diff line change
@@ -25,18 +25,17 @@ let
${cfg.extraConf}
'';

configDir = pkgs.buildEnv {
name = "elasticsearch-config";
paths = [
(pkgs.writeTextDir "elasticsearch.yml" esConfig)
(if es5 then (pkgs.writeTextDir "log4j2.properties" cfg.logging)
else (pkgs.writeTextDir "logging.yml" cfg.logging))
];
postBuild = concatStringsSep "\n" (concatLists [
# Elasticsearch 5.x won't start when the scripts directory does not exist
(optional es5 "${pkgs.coreutils}/bin/mkdir -p $out/scripts")
(optional es6 "ln -s ${cfg.package}/config/jvm.options $out/jvm.options")
]);
configDir = cfg.dataDir + "/config";

elasticsearchYml = pkgs.writeTextFile {
name = "elasticsearch.yml";
text = esConfig;
};

loggingConfigFilename = if es5 then "log4j2.properties" else "logging.yml";
loggingConfigFile = pkgs.writeTextFile {
name = loggingConfigFilename;
text = cfg.logging;
};

esPlugins = pkgs.buildEnv {
@@ -193,7 +192,24 @@ in {
ln -sfT ${esPlugins}/plugins ${cfg.dataDir}/plugins
ln -sfT ${cfg.package}/lib ${cfg.dataDir}/lib
ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules
if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi
# elasticsearch needs to create the elasticsearch.keystore in the config directory
# so this directory needs to be writable.
mkdir -m 0700 -p ${configDir}
# Note that we copy config files from the nix store instead of symbolically linking them
# because otherwise X-Pack Security will raise the following exception:
# java.security.AccessControlException:
# access denied ("java.io.FilePermission" "/var/lib/elasticsearch/config/elasticsearch.yml" "read")
cp ${elasticsearchYml} ${configDir}/elasticsearch.yml
# Make sure the logging configuration for old elasticsearch versions is removed:
rm -f ${if es5 then "${configDir}/logging.yml" else "${configDir}/log4j2.properties"}
cp ${loggingConfigFile} ${configDir}/${loggingConfigFilename}
${optionalString es5 "mkdir -p ${configDir}/scripts"}
${optionalString es6 "cp ${cfg.package}/config/jvm.options ${configDir}/jvm.options"}
if [ "$(id -u)" = 0 ]; then chown -R elasticsearch:elasticsearch ${cfg.dataDir}; fi
'';
};

18 changes: 18 additions & 0 deletions nixos/modules/system/activation/switch-to-configuration.pl
Original file line number Diff line number Diff line change
@@ -166,6 +166,24 @@ sub fingerprintUnit {

if (-e $prevUnitFile && ($state->{state} eq "active" || $state->{state} eq "activating")) {
if (! -e $newUnitFile || abs_path($newUnitFile) eq "/dev/null") {
# Ignore (i.e. never stop) these units:
if ($unit eq "system.slice") {
# TODO: This can be removed a few months after 18.09 is out
# (i.e. after everyone switched away from 18.03).
# Problem: Restarting (stopping) system.slice would not only
# stop X11 but also most system units/services. We obviously
# don't want this happening to users when they switch from 18.03
# to 18.09 or nixos-unstable.
# Reason: The following change in systemd:
# https://github.com/systemd/systemd/commit/d8e5a9338278d6602a0c552f01f298771a384798
# The commit adds system.slice to the perpetual units, which
# means removing the unit file and adding it to the source code.
# This is done so that system.slice can't be stopped anymore but
# in our case it ironically would cause this script to stop
# system.slice because the unit was removed (and an older
# systemd version is still running).
next;
}
my $unitInfo = parseUnit($prevUnitFile);
$unitsToStop{$unit} = 1 if boolIsTrue($unitInfo->{'X-StopOnRemoval'} // "yes");
}
19 changes: 13 additions & 6 deletions nixos/tests/elk.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ system ? builtins.currentSystem }:
{ system ? builtins.currentSystem, enableUnfree ? false }:
with import ../lib/testing.nix { inherit system; };
with pkgs.lib;
let
@@ -99,9 +99,16 @@ in mapAttrs mkElkTest {
logstash = pkgs.logstash5;
kibana = pkgs.kibana5;
};
"ELK-6" = {
elasticsearch = pkgs.elasticsearch6;
logstash = pkgs.logstash6;
kibana = pkgs.kibana6;
};
"ELK-6" =
if enableUnfree
then {
elasticsearch = pkgs.elasticsearch6;
logstash = pkgs.logstash6;
kibana = pkgs.kibana6;
}
else {
elasticsearch = pkgs.elasticsearch6-oss;
logstash = pkgs.logstash6-oss;
kibana = pkgs.kibana6-oss;
};
}
15 changes: 8 additions & 7 deletions pkgs/applications/altcoins/mist.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, makeWrapper, fetchurl, unzip, atomEnv, makeDesktopItem, buildFHSUserEnv }:
{ stdenv, makeWrapper, fetchurl, unzip, atomEnv, makeDesktopItem, buildFHSUserEnv, gtk2 }:

let
version = "0.10.0";
name = "mist-${version}";
version = "0.11.1";
name = "mist";

throwSystem = throw "Unsupported system: ${stdenv.system}";

@@ -31,11 +31,11 @@ let
src = {
i686-linux = fetchurl {
url = "https://github.com/ethereum/mist/releases/download/v${version}/Mist-linux32-${urlVersion}.zip";
sha256 = "01hvxlm9w522pwvsjdy18gsrapkfjr7d1jjl4bqjjysxnjaaj2lk";
sha256 = "1ffzp9aa0g6w3d5pzp69fljk3sd51cbqdgxa1x16vj106sqm0gj7";
};
x86_64-linux = fetchurl {
url = "https://github.com/ethereum/mist/releases/download/v${version}/Mist-linux64-${urlVersion}.zip";
sha256 = "01k17j7fdfhxfd26njdsiwap0xnka2536k9ydk32czd8db7ya9zi";
sha256 = "0yx4x72l8gk68yh9saki48zgqx8k92xnkm79dc651wdpd5c25cz3";
};
}.${stdenv.system} or throwSystem;

@@ -50,13 +50,14 @@ let
ln -s ${desktopItem}/share/applications/* $out/share/applications
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${atomEnv.libPath}:$out/lib/mist" \
--set-rpath "${atomEnv.libPath}:${gtk2}/lib:$out/lib/mist" \
$out/lib/mist/mist
'';
});
in
buildFHSUserEnv {
inherit name meta;
name = "mist";
inherit meta;

targetPkgs = pkgs: with pkgs; [
mist
2 changes: 1 addition & 1 deletion pkgs/applications/audio/mikmod/default.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
description = "Tracker music player for the terminal";
homepage = http://mikmod.shlomifish.org/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ viric ];
maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; linux;
};
}
7 changes: 2 additions & 5 deletions pkgs/applications/editors/vim/configurable.nix
Original file line number Diff line number Diff line change
@@ -112,12 +112,9 @@ in stdenv.mkDerivation rec {
"--enable-luainterp"
]
++ stdenv.lib.optionals pythonSupport [
"--enable-python${if isPython3 then "3" else ""}"
]
++ stdenv.lib.optionals (pythonSupport && stdenv.isDarwin) [ # Why only for Darwin?
"--enable-python${if isPython3 then "3" else ""}interp=yes" # Duplicate?
"--enable-python${if isPython3 then "3" else ""}interp=yes"
"--with-python${if isPython3 then "3" else ""}-config-dir=${python}/lib"
"--disable-python${if isPython3 then "" else "3"}interp"
"--disable-python${if (!isPython3) then "3" else ""}interp"
]
++ stdenv.lib.optional nlsSupport "--enable-nls"
++ stdenv.lib.optional perlSupport "--enable-perlinterp"
2 changes: 1 addition & 1 deletion pkgs/applications/gis/qgis/default.nix
Original file line number Diff line number Diff line change
@@ -77,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 mpickering];
maintainers = with stdenv.lib.maintainers; [mpickering];
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/giv/default.nix
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
description = "Cross platform image and hierarchical vector viewer based";
homepage = http://giv.sourceforge.net/giv/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric ];
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/hugin/default.nix
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
homepage = http://hugin.sourceforge.net/;
description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric hrdinka ];
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/paraview/default.nix
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
homepage = http://www.paraview.org/;
description = "3D Data analysis and visualization application";
license = stdenv.lib.licenses.free;
maintainers = with stdenv.lib.maintainers; [viric guibert];
maintainers = with stdenv.lib.maintainers; [guibert];
platforms = with stdenv.lib.platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/pinta/default.nix
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ buildDotnetPackage rec {
homepage = http://www.pinta-project.com/;
description = "Drawing/editing program modeled after Paint.NET";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ viric ];
maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/rawtherapee/default.nix
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
description = "RAW converter and digital photo processing software";
homepage = http://www.rawtherapee.com/;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ viric jcumming mahe the-kenny ];
maintainers = with stdenv.lib.maintainers; [ jcumming mahe the-kenny ];
platforms = with stdenv.lib.platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/sane/xsane.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
homepage = http://www.sane-project.org/;
description = "Graphical scanning frontend for sane";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric peti];
maintainers = with stdenv.lib.maintainers; [peti];
platforms = with stdenv.lib.platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/smartdeblur/default.nix
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/Y-Vladimir/SmartDeblur;
description = "Tool for restoring blurry and defocused images";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ viric ];
maintainers = with stdenv.lib.maintainers; [ ];
platforms = with stdenv.lib.platforms; linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
@@ -162,7 +162,7 @@ stdenv.mkDerivation rec {
description = "Comprehensive e-book software";
homepage = https://calibre-ebook.com;
license = with licenses; if unrarSupport then unfreeRedistributable else gpl3;
maintainers = with maintainers; [ viric domenkozar pSub AndersonTorres ];
maintainers = with maintainers; [ domenkozar pSub AndersonTorres ];
platforms = platforms.linux;
inherit version;
};
2 changes: 1 addition & 1 deletion pkgs/applications/misc/dmenu/default.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
description = "A generic, highly customizable, and efficient menu for the X Window System";
homepage = https://tools.suckless.org/dmenu;
license = licenses.mit;
maintainers = with maintainers; [ viric pSub ];
maintainers = with maintainers; [ pSub ];
platforms = platforms.all;
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/misc/doomseeker/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

stdenv.mkDerivation rec {
name = "doomseeker-${version}";
version = "2018-03-03";
version = "2018-03-05";

src = fetchFromBitbucket {
owner = "Doomseeker";
repo = "doomseeker";
rev = "072110a8fe0643c4a72461e7768560813bb0a62b";
sha256 = "1w4g5f7yifqk2d054dqrmy8qj4n5hxdan7n59845m1xh2f2r8i0p";
rev = "c2c7f37b1afb";
sha256 = "17fna3a604miqsvply3klnmypps4ifz8axgd3pj96z46ybxs8akw";
};

patches = [ ./fix_paths.patch ];
patches = [ ./fix_paths.patch ./qt_build_fix.patch ];

buildInputs = [ qtbase qtmultimedia zlib bzip2 ];

Loading