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: 21635748a818
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bcf59bbfcb6c
Choose a head ref

Commits on Oct 13, 2019

  1. openmpt123: 0.4.1 -> 0.4.9 (security?)

    addressing CVE-2019-17113
    risicle committed Oct 13, 2019
    Copy the full SHA
    0086b03 View commit details

Commits on Oct 16, 2019

  1. Copy the full SHA
    c43c6cb View commit details
  2. Copy the full SHA
    df4170f View commit details
  3. Copy the full SHA
    5366676 View commit details

Commits on Oct 20, 2019

  1. gir-rs: init at 2019-10-16

    Ekleog committed Oct 20, 2019
    Copy the full SHA
    0cc5248 View commit details

Commits on Oct 22, 2019

  1. gtk3: add devdoc

    jtojnar committed Oct 22, 2019
    1
    Copy the full SHA
    f9fdcb4 View commit details
  2. libgdiplus: 6.0.2 -> 6.0.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libgdiplus/versions
    r-ryantm committed Oct 22, 2019
    Copy the full SHA
    fa7b361 View commit details
  3. deepin.deepin-wm: remove

    Upstream has deprecated this package. And it's currently broken.
    worldofpeace committed Oct 22, 2019
    Copy the full SHA
    05ebf34 View commit details
  4. deepin.deepin-metacity: remove

    Also obsolete.
    worldofpeace committed Oct 22, 2019
    Copy the full SHA
    a18702f View commit details
  5. deepin.deepin-mutter: remove

    Also obsolete.
    worldofpeace committed Oct 22, 2019
    Copy the full SHA
    d797361 View commit details
  6. Copy the full SHA
    69e90bd View commit details
  7. Copy the full SHA
    11a0602 View commit details

Commits on Oct 25, 2019

  1. Copy the full SHA
    b83908f View commit details

Commits on Oct 26, 2019

  1. caddy: disable telemetry

    Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
    marsam and fpletz committed Oct 26, 2019
    Copy the full SHA
    b53710e View commit details
  2. file: add patch for CVE-2019-18218

    upstream patch https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84.patch
    doesn't apply directly, debian have a version which has been adapted for
    5.37.
    risicle committed Oct 26, 2019
    Copy the full SHA
    99273fc View commit details
  3. Copy the full SHA
    a260b9a View commit details
  4. pythonPackages.python-language-server: 0.28.3 -> 0.29.1

    Fixes a failing test due to a pylint update.
    matthuszagh committed Oct 26, 2019
    Copy the full SHA
    b754310 View commit details
  5. minecraft: 2.1.5965 -> 2.1.7658

    Jonathan Ringer committed Oct 26, 2019
    Copy the full SHA
    eaa53f7 View commit details

Commits on Oct 27, 2019

  1. Copy the full SHA
    698dfed View commit details
  2. Copy the full SHA
    f124b7a View commit details
  3. stop using hardeningDisable = [ "fortify" ]; for Go packages

    it seems that the issue #25959 is not present anymore
    prusnak committed Oct 27, 2019
    Copy the full SHA
    afd38ea View commit details
  4. Copy the full SHA
    2ded9c2 View commit details
  5. fbterm: fix cross-build

    lheckemann committed Oct 27, 2019
    Copy the full SHA
    7943967 View commit details
  6. atlassian-jira: 8.4.2 -> 8.5.0

    ciil committed Oct 27, 2019
    Copy the full SHA
    3eff8b1 View commit details
  7. gtk3: add devdoc (#71648)

    gtk3: add devdoc
    jtojnar authored Oct 27, 2019
    Copy the full SHA
    47054f3 View commit details
  8. Merge pull request #72097 from jtojnar/glib-debug

    glib: enable separate debug info
    worldofpeace authored Oct 27, 2019
    Copy the full SHA
    ec65ad7 View commit details
  9. tev: init at 1.13

    primeos committed Oct 27, 2019
    Copy the full SHA
    2e6c509 View commit details
  10. libgdiplus: fix darwin build

    marsam committed Oct 27, 2019
    Copy the full SHA
    c502cfe View commit details

Commits on Oct 28, 2019

  1. Copy the full SHA
    58311d9 View commit details
  2. dvc: init at 0.24.3

    CMCDragonkai committed Oct 28, 2019
    Copy the full SHA
    3c3ac19 View commit details
  3. Copy the full SHA
    a2d83bf View commit details
  4. ripgrep-all: 0.9.2 -> 0.9.3

    marsam committed Oct 28, 2019
    Copy the full SHA
    5493034 View commit details
  5. Copy the full SHA
    460e2d2 View commit details
  6. Merge pull request #72101 from NixOS/staging-next

    Staging next
    FRidh authored Oct 28, 2019
    Copy the full SHA
    ba66b51 View commit details
  7. Merge pull request #71666 from r-ryantm/auto-update/libgdiplus

    libgdiplus: 6.0.2 -> 6.0.4
    marsam authored Oct 28, 2019
    Copy the full SHA
    bf4926d View commit details
  8. pythonPackages.qscintilla-qt5: fix build

    bene1618 authored and Jon committed Oct 28, 2019
    Copy the full SHA
    b27bdf4 View commit details
  9. Merge pull request #72080 from Infinisil/znapzend-improvements

    Znapzend improvements
    lheckemann authored Oct 28, 2019
    Copy the full SHA
    e7a6123 View commit details
  10. Merge pull request #63697 from marsam/caddy-disable-telemetry

    caddy: disable telemetry
    fpletz authored Oct 28, 2019
    Copy the full SHA
    ad6f400 View commit details
  11. Merge pull request #72107 from lheckemann/fbterm-cross

    fbterm: fix cross-build
    lheckemann authored Oct 28, 2019
    Copy the full SHA
    5d20246 View commit details
  12. nixos/acme: fix staging endpoint url

    fixes #72067
    fpletz committed Oct 28, 2019
    Copy the full SHA
    5d22f7a View commit details
  13. Merge pull request #71080 from risicle/ris-openmpt123-0.4.9

    openmpt123: 0.4.1 -> 0.4.9, fixing CVE-2019-17113
    Christian Kauhaus authored Oct 28, 2019
    Copy the full SHA
    641b853 View commit details
  14. Copy the full SHA
    ea1af69 View commit details
  15. Merge pull request #72109 from ciil/jira-update

    atlassian-jira: 8.4.2 -> 8.5.0
    fpletz authored Oct 28, 2019
    Copy the full SHA
    9836f91 View commit details
  16. Merge pull request #72149 from marsam/update-ripgrep-all

    ripgrep-all: 0.9.2 -> 0.9.3
    Ma27 authored Oct 28, 2019
    Copy the full SHA
    9d37be2 View commit details
  17. pythonPackages.pylint: add setuptools

    Previously it was missing a runtime dependency on setuptools:
    
        [kier@saelli:~/checkouts/nixpkgs]$ $(nix-build -A python27Packages.pylint --no-out-link)/bin/pylint
        Traceback (most recent call last):
          File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/bin/.pylint-wrapped", line 6, in <module>
            from pylint import run_pylint
          File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__init__.py", line 11, in <module>
            from .__pkginfo__ import version as __version__
          File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__pkginfo__.py", line 25, in <module>
            from pkg_resources import parse_version
        ImportError: No module named pkg_resources
    
    With this change, the same command now correctly prints pylint's help text.
    
    This only applies to Python 2.
    kierdavis authored and FRidh committed Oct 28, 2019
    Copy the full SHA
    443f1a4 View commit details
  18. Merge pull request #72025 from risicle/ris-file-CVE-2019-18218

    file: add patch for CVE-2019-18218
    Christian Kauhaus authored Oct 28, 2019
    Copy the full SHA
    9d87889 View commit details
  19. Copy the full SHA
    22b2ccf View commit details
  20. Merge pull request #72156 from Mic92/pass-import

    passExtensions.pass-import: 2.3 -> 2.6
    fpletz authored Oct 28, 2019
    Copy the full SHA
    d0d5884 View commit details
  21. Merge pull request #72140 from alunduil/add-zfs-replication-to-module…

    …-list
    
    nixos/zfs: add autoReplication to module list
    infinisil authored Oct 28, 2019
    Copy the full SHA
    13b893f View commit details
  22. opensc: CVE-2019-15945

    (cherry picked from commit e425800)
    mmahut committed Oct 28, 2019
    Copy the full SHA
    e807b32 View commit details
Showing with 2,301 additions and 2,268 deletions.
  1. +1 −1 .github/CONTRIBUTING.md
  2. +1 −1 .github/PULL_REQUEST_TEMPLATE.md
  3. +1 −0 nixos/modules/module-list.nix
  4. +1 −1 nixos/modules/security/acme.nix
  5. +28 −0 nixos/modules/services/backup/znapzend.nix
  6. +7 −1 nixos/modules/services/misc/gitlab.nix
  7. +1 −1 nixos/modules/services/printing/cupsd.nix
  8. +1 −1 nixos/modules/system/boot/networkd.nix
  9. +2 −2 pkgs/applications/audio/lollypop/default.nix
  10. +2 −2 pkgs/applications/audio/openmpt123/default.nix
  11. +0 −3 pkgs/applications/blockchains/go-ethereum.nix
  12. +2 −2 pkgs/applications/graphics/drawio/default.nix
  13. +53 −0 pkgs/applications/graphics/tev/default.nix
  14. +3 −3 pkgs/applications/networking/mailreaders/neomutt/default.nix
  15. +65 −0 pkgs/applications/version-management/dvc/default.nix
  16. +21 −0 pkgs/applications/version-management/dvc/dvc-daemon.patch
  17. +7 −7 pkgs/applications/version-management/gitlab/data.json
  18. +2 −2 pkgs/applications/version-management/gitlab/gitaly/default.nix
  19. +2 −29 pkgs/applications/version-management/gitlab/gitaly/deps.nix
  20. +0 −12 pkgs/applications/version-management/gitlab/gitlab-shell/Gemfile
  21. +0 −109 pkgs/applications/version-management/gitlab/gitlab-shell/Gemfile.lock
  22. +12 −52 pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
  23. +262 −64 pkgs/applications/version-management/gitlab/gitlab-shell/deps.nix
  24. +0 −451 pkgs/applications/version-management/gitlab/gitlab-shell/gemset.nix
  25. +0 −42 pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations-go.patch
  26. +0 −27 pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations-ruby.patch
  27. +57 −0 pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch
  28. +3 −4 pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
  29. +11 −0 pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch
  30. +8 −8 pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
  31. +29 −29 pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
  32. +40 −40 pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
  33. +0 −5 pkgs/applications/version-management/gitlab/update.py
  34. +784 −848 pkgs/applications/version-management/gitlab/yarnPkgs.nix
  35. +5 −5 pkgs/applications/video/obs-studio/linuxbrowser.nix
  36. +0 −2 pkgs/applications/virtualization/containerd/default.nix
  37. +0 −5 pkgs/applications/virtualization/docker/default.nix
  38. +38 −12 pkgs/applications/virtualization/firecracker/default.nix
  39. +0 −2 pkgs/applications/virtualization/podman/default.nix
  40. +56 −0 pkgs/desktops/deepin/dde-kwin/0001-dde-kwin.pc-make-paths-relative.patch
  41. +140 −0 pkgs/desktops/deepin/dde-kwin/default.nix
  42. +16 −0 pkgs/desktops/deepin/dde-kwin/fix-paths.patch
  43. +0 −65 pkgs/desktops/deepin/deepin-metacity/default.nix
  44. +0 −41 pkgs/desktops/deepin/deepin-mutter/deepin-mutter.plugins-dir.patch
  45. +0 −79 pkgs/desktops/deepin/deepin-mutter/default.nix
  46. +0 −75 pkgs/desktops/deepin/deepin-wm/default.nix
  47. +1 −5 pkgs/desktops/deepin/default.nix
  48. +10 −5 pkgs/development/libraries/dbus/default.nix
  49. +3 −1 pkgs/development/libraries/glib/default.nix
  50. +79 −24 pkgs/development/libraries/gnome-online-accounts/default.nix
  51. +9 −2 pkgs/development/libraries/gtk/3.x.nix
  52. +10 −6 pkgs/development/libraries/libcef/default.nix
  53. +4 −2 pkgs/development/libraries/libgdiplus/default.nix
  54. +31 −0 pkgs/development/libraries/libnats-c/default.nix
  55. +4 −4 pkgs/development/libraries/liburing/default.nix
  56. +18 −3 pkgs/development/libraries/libusb1/default.nix
  57. +2 −2 pkgs/development/libraries/nsss/default.nix
  58. +1 −1 pkgs/development/libraries/polkit/default.nix
  59. +2 −2 pkgs/development/libraries/skalibs/default.nix
  60. +2 −2 pkgs/development/libraries/utmps/default.nix
  61. +14 −1 pkgs/development/libraries/vte/default.nix
  62. +12 −10 pkgs/development/ocaml-modules/ctypes/default.nix
  63. +9 −13 pkgs/development/ocaml-modules/integers/default.nix
  64. +2 −1 pkgs/development/perl-modules/Po4a/default.nix
  65. +2 −2 pkgs/development/python-modules/acoustics/default.nix
  66. +21 −0 pkgs/development/python-modules/html2text/2018.nix
  67. +15 −8 pkgs/development/python-modules/html2text/default.nix
  68. +16 −3 pkgs/development/python-modules/isort/default.nix
  69. +2 −2 pkgs/development/python-modules/pylint/1.9.nix
  70. +4 −4 pkgs/development/python-modules/python-language-server/default.nix
  71. +2 −1 pkgs/development/python-modules/qscintilla-qt5/default.nix
  72. +8 −9 pkgs/development/ruby-modules/solargraph/Gemfile.lock
  73. +16 −26 pkgs/development/ruby-modules/solargraph/gemset.nix
  74. +23 −0 pkgs/development/tools/gir/default.nix
  75. +4 −2 pkgs/games/minecraft/default.nix
  76. +25 −4 pkgs/misc/cups/default.nix
  77. +3 −1 pkgs/os-specific/linux/fbterm/default.nix
  78. +12 −0 pkgs/os-specific/linux/fbterm/select.patch
  79. +2 −2 pkgs/os-specific/linux/s6-linux-utils/default.nix
  80. +2 −2 pkgs/servers/atlassian/jira.nix
  81. +9 −3 pkgs/servers/caddy/default.nix
  82. +0 −5 pkgs/servers/livepeer/default.nix
  83. +5 −5 pkgs/servers/minio/default.nix
  84. +7 −8 pkgs/servers/{gnatsd → nats-server}/default.nix
  85. +7 −9 pkgs/servers/nats-streaming-server/default.nix
  86. +8 −1 pkgs/servers/sql/mariadb/connector-c/default.nix
  87. +0 −3 pkgs/servers/trezord/default.nix
  88. +2 −2 pkgs/shells/xonsh/default.nix
  89. +35 −0 pkgs/tools/X11/xob/default.nix
  90. +3 −3 pkgs/tools/misc/clipman/default.nix
  91. +2 −2 pkgs/tools/misc/execline/default.nix
  92. +9 −1 pkgs/tools/misc/file/default.nix
  93. +2 −2 pkgs/tools/misc/s6-portable-utils/default.nix
  94. +41 −0 pkgs/tools/misc/vector/default.nix
  95. +4 −4 pkgs/tools/misc/watchexec/default.nix
  96. +32 −0 pkgs/tools/misc/wob/default.nix
  97. +0 −2 pkgs/tools/networking/flannel/default.nix
  98. +2 −2 pkgs/tools/networking/s6-dns/default.nix
  99. +2 −2 pkgs/tools/networking/s6-networking/default.nix
  100. +3 −3 pkgs/tools/package-management/nfpm/default.nix
  101. +3 −3 pkgs/tools/package-management/reuse/default.nix
  102. +10 −0 pkgs/tools/security/opensc/default.nix
  103. +23 −6 pkgs/tools/security/pass/extensions/import.nix
  104. +20 −8 pkgs/tools/security/tpm2-tools/default.nix
  105. +2 −2 pkgs/tools/system/s6-rc/default.nix
  106. +2 −2 pkgs/tools/system/s6/default.nix
  107. +3 −3 pkgs/tools/text/ripgrep-all/default.nix
  108. +5 −1 pkgs/top-level/aliases.nix
  109. +26 −1 pkgs/top-level/all-packages.nix
  110. +2 −1 pkgs/top-level/python-packages.nix
  111. +1 −1 pkgs/top-level/stage.nix
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -51,4 +51,4 @@ For package version upgrades and such a one-line commit message is usually suffi

## Reviewing contributions

See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#sec-reviewing-contributions).
See the nixpkgs manual for more details on how to [Review contributions](https://nixos.org/nixpkgs/manual/#chap-reviewing-contributions).
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you aren't a committer, we would appreciate reviews of other PRs, especially simple ones like package updates. Just testing the relevant package/service and leaving a comment saying what you tested, how you tested it and whether it worked would be great. List of open PRs: <https://github.com/NixOS/nixpkgs/pulls>, for more about reviewing contributions: <https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#sec-reviewing-contributions>. Reviewing isn't mandatory, but it would help out a lot and reduce the average time-to-merge for all of us. Thanks a lot if you do! -->
<!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you aren't a committer, we would appreciate reviews of other PRs, especially simple ones like package updates. Just testing the relevant package/service and leaving a comment saying what you tested, how you tested it and whether it worked would be great. List of open PRs: <https://github.com/NixOS/nixpkgs/pulls>, for more about reviewing contributions: <https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#chap-reviewing-contributions>. Reviewing isn't mandatory, but it would help out a lot and reduce the average time-to-merge for all of us. Thanks a lot if you do! -->
###### Motivation for this change


1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -227,6 +227,7 @@
./services/backup/rsnapshot.nix
./services/backup/tarsnap.nix
./services/backup/tsm.nix
./services/backup/zfs-replication.nix
./services/backup/znapzend.nix
./services/cluster/hadoop/default.nix
./services/cluster/kubernetes/addons/dns.nix
2 changes: 1 addition & 1 deletion nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -198,7 +198,7 @@ in
++ optionals (data.email != null) [ "--email" data.email ]
++ concatMap (p: [ "-f" p ]) data.plugins
++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)
++ optionals (!cfg.production) ["--server" "https://acme-staging.api.letsencrypt.org/directory"];
++ optionals (!cfg.production) ["--server" "https://acme-staging-v02.api.letsencrypt.org/directory"];
acmeService = {
description = "Renew ACME Certificate for ${cert}";
after = [ "network.target" "network-online.target" ];
28 changes: 28 additions & 0 deletions nixos/modules/services/backup/znapzend.nix
Original file line number Diff line number Diff line change
@@ -34,6 +34,8 @@ let
description = "string of the form number{b|k|M|G}";
};

enabledFeatures = concatLists (mapAttrsToList (name: enabled: optional enabled name) cfg.features);

# Type for a string that must contain certain other strings (the list parameter).
# Note that these would need regex escaping.
stringContainingStrings = list: let
@@ -354,6 +356,22 @@ in
'';
default = false;
};

features.recvu = mkEnableOption ''
recvu feature which uses <literal>-u</literal> on the receiving end to keep the destination
filesystem unmounted.
'';
features.compressed = mkEnableOption ''
compressed feature which adds the options <literal>-Lce</literal> to
the <command>zfs send</command> command. When this is enabled, make
sure that both the sending and receiving pool have the same relevant
features enabled. Using <literal>-c</literal> will skip unneccessary
decompress-compress stages, <literal>-L</literal> is for large block
support and -e is for embedded data support. see
<citerefentry><refentrytitle>znapzend</refentrytitle><manvolnum>1</manvolnum></citerefentry>
and <citerefentry><refentrytitle>zfs</refentrytitle><manvolnum>8</manvolnum></citerefentry>
for more info.
'';
};
};

@@ -381,12 +399,22 @@ in
'';

serviceConfig = {
# znapzendzetup --import apparently tries to connect to the backup
# host 3 times with a timeout of 30 seconds, leading to a startup
# delay of >90s when the host is down, which is just above the default
# service timeout of 90 seconds. Increase the timeout so it doesn't
# make the service fail in that case.
TimeoutStartSec = 180;
# Needs to have write access to ZFS
User = "root";
ExecStart = let
args = concatStringsSep " " [
"--logto=${cfg.logTo}"
"--loglevel=${cfg.logLevel}"
(optionalString cfg.noDestroy "--nodestroy")
(optionalString cfg.autoCreation "--autoCreation")
(optionalString (enabledFeatures != [])
"--features=${concatStringsSep "," enabledFeatures}")
]; in "${pkgs.znapzend}/bin/znapzend ${args}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
Restart = "on-failure";
8 changes: 7 additions & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
@@ -608,6 +608,8 @@ in {
# objects owners and extensions; for now we tack on what's needed
# here.
systemd.services.postgresql.postStart = mkAfter (optionalString databaseActuallyCreateLocally ''
set -eu
$PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${cfg.databaseName}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${cfg.databaseName}" OWNER "${cfg.databaseUsername}"'
current_owner=$($PSQL -tAc "SELECT pg_catalog.pg_get_userbyid(datdba) FROM pg_catalog.pg_database WHERE datname = '${cfg.databaseName}'")
if [[ "$current_owner" != "${cfg.databaseUsername}" ]]; then
@@ -739,7 +741,6 @@ in {
gitlab-workhorse
];
serviceConfig = {
PermissionsStartOnly = true; # preStart must be run as root
Type = "simple";
User = cfg.user;
Group = cfg.group;
@@ -781,13 +782,18 @@ in {
ExecStartPre = let
preStartFullPrivileges = ''
shopt -s dotglob nullglob
set -eu
chown --no-dereference '${cfg.user}':'${cfg.group}' '${cfg.statePath}'/*
chown --no-dereference '${cfg.user}':'${cfg.group}' '${cfg.statePath}'/config/*
'';
preStart = ''
set -eu
cp -f ${cfg.packages.gitlab}/share/gitlab/VERSION ${cfg.statePath}/VERSION
rm -rf ${cfg.statePath}/db/*
rm -rf ${cfg.statePath}/config/initializers/*
rm -f ${cfg.statePath}/lib
cp -rf --no-preserve=mode ${cfg.packages.gitlab}/share/gitlab/config.dist/* ${cfg.statePath}/config
cp -rf --no-preserve=mode ${cfg.packages.gitlab}/share/gitlab/db/* ${cfg.statePath}/db
2 changes: 1 addition & 1 deletion nixos/modules/services/printing/cupsd.nix
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ let
# part of CUPS itself, e.g. the SMB backend is part of Samba. Since
# we can't update ${cups.out}/lib/cups itself, we create a symlink tree
# here and add the additional programs. The ServerBin directive in
# cupsd.conf tells cupsd to use this tree.
# cups-files.conf tells cupsd to use this tree.
bindir = pkgs.buildEnv {
name = "cups-progs";
paths =
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ let
# Note: For DHCP the values both, none, v4, v6 are deprecated
(assertValueOneOf "DHCP" ["yes" "no" "ipv4" "ipv6" "both" "none" "v4" "v6"])
(assertValueOneOf "DHCPServer" boolValues)
(assertValueOneOf "LinkLocalAddressing" ["yes" "no" "ipv4" "ipv6"])
(assertValueOneOf "LinkLocalAddressing" ["yes" "no" "ipv4" "ipv6" "ipv4-fallback" "fallback"])
(assertValueOneOf "IPv4LLRoute" boolValues)
(assertValueOneOf "LLMNR" ["yes" "resolve" "no"])
(assertValueOneOf "MulticastDNS" ["yes" "resolve" "no"])
4 changes: 2 additions & 2 deletions pkgs/applications/audio/lollypop/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@

python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
version = "1.2.1";
version = "1.2.2";

format = "other";
doCheck = false;
@@ -28,7 +28,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
sha256 = "0wmgs28ph9959lr6zhd2j7z2c3kpl64rng6s1xgzyhsgrcyvv4cd";
sha256 = "02dgp3b10yaw0yqzdzd15msjgxayvjkg9m652is0d7rwgjq1pk6v";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/audio/openmpt123/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,14 @@
, usePulseAudio ? config.pulseaudio or false, libpulseaudio }:

let
version = "0.4.1";
version = "0.4.9";
in stdenv.mkDerivation {
pname = "openmpt123";
inherit version;

src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
sha256 = "1k1m1adjh4s2q9lxgkf836k5243akxrzq1hsdjhrkg4idd3pxzp4";
sha256 = "02kjwwh9d9i4rnfzqzr18pvcklc46yrs9mvdmjqx7kxg3c28hkqm";
};

enableParallelBuilding = true;
3 changes: 0 additions & 3 deletions pkgs/applications/blockchains/go-ethereum.nix
Original file line number Diff line number Diff line change
@@ -10,9 +10,6 @@ buildGoPackage rec {
propagatedBuildInputs =
stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];

# Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 )
hardeningDisable = [ "fortify" ];

src = fetchFromGitHub {
owner = "ethereum";
repo = pname;
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/drawio/default.nix
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@

stdenv.mkDerivation rec {
pname = "drawio";
version = "12.1.0";
version = "12.1.7";

src = fetchurl {
url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/draw.io-x86_64-${version}.rpm";
sha256 = "02gwhnbl9fzgf1z8c9bkm3rxzyncp7v57yqc322r85vg0wxir3f8";
sha256 = "1vac0cz99yjlz7b186wyy4wk4sxkvlirpjmh3vw65xaxamn8spn3";
};

nativeBuildInputs = [
53 changes: 53 additions & 0 deletions pkgs/applications/graphics/tev/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ stdenv, fetchFromGitHub
, cmake, wrapGAppsHook
, libX11, xorg, libzip, glfw, gnome3
}:

stdenv.mkDerivation rec {
pname = "tev";
version = "1.13";

src = fetchFromGitHub {
owner = "Tom94";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "0c8md6yv1q449aszs05xfby6a2aiw8pac7x0zs169i5mpqrrbfa9";
};

nativeBuildInputs = [ cmake wrapGAppsHook ];
buildInputs = [ libX11 libzip glfw ]
++ (with xorg; [ libXrandr libXinerama libXcursor libXi libXxf86vm ]);

dontWrapGApps = true; # We also need zenity (see below)

postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "/usr/" "''${out}/"
'';

postInstall = ''
wrapProgram $out/bin/tev \
"''${gappsWrapperArgs[@]}" \
--prefix PATH ":" "${gnome3.zenity}/bin"
'';

meta = with stdenv.lib; {
description = "A high dynamic range (HDR) image comparison tool";
longDescription = ''
A high dynamic range (HDR) image comparison tool for graphics people. tev
allows viewing images through various tonemapping operators and inspecting
the values of individual pixels. Often, it is important to find exact
differences between pairs of images. For this purpose, tev allows rapidly
switching between opened images and visualizing various error metrics (L1,
L2, and relative versions thereof). To avoid clutter, opened images and
their layers can be filtered by keywords.
While the predominantly supported file format is OpenEXR certain other
types of images can also be loaded.
'';
inherit (src.meta) homepage;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/networking/mailreaders/neomutt/default.nix
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@
}:

stdenv.mkDerivation rec {
version = "20180716";
version = "2019-10-25";
pname = "neomutt";

src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = "neomutt-${version}";
sha256 = "0im2kkahkr04q04irvcimfawxi531ld6wrsa92r2m7l10gmijkl8";
rev = version;
sha256 = "0hy6rxgm3acjqxpf4ss7391kps4g06fbjhbpgv1jdrj1y9kv0rm1";
};

buildInputs = [
65 changes: 65 additions & 0 deletions pkgs/applications/version-management/dvc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{ lib
, python3Packages
, fetchFromGitHub
, enableGoogle ? false
, enableAWS ? false
, enableAzure ? false
, enableSSH ? false
}:

with python3Packages;
buildPythonApplication rec {
pname = "dvc";
version = "0.24.3";

# PyPi only has wheel
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc";
rev = version;
sha256 = "1wqq4i23hppilp20fx5a5nj93xwf3wwwr2f8aasvn6jkv2l22vpl";
};

propagatedBuildInputs = [
ply
configparser
zc_lockfile
future
colorama
configobj
networkx
pyyaml
GitPython
setuptools
nanotime
pyasn1
schema
jsonpath_rw
requests
grandalf
asciimatics
distro
appdirs
]
++ lib.optional enableGoogle google_cloud_storage
++ lib.optional enableAWS boto3
++ lib.optional enableAzure azure-storage-blob
++ lib.optional enableSSH paramiko;

# tests require access to real cloud services
# nix build tests have to be isolated and run locally
doCheck = false;

patches = [ ./dvc-daemon.patch ];

postPatch = ''
substituteInPlace dvc/daemon.py --subst-var-by dvc "$out/bin/dcv"
'';

meta = with lib; {
description = "Version Control System for Machine Learning Projects";
license = licenses.asl20;
homepage = https://dvc.org;
maintainers = with maintainers; [ cmcdragonkai ];
};
}
21 changes: 21 additions & 0 deletions pkgs/applications/version-management/dvc/dvc-daemon.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/dvc/daemon.py b/dvc/daemon.py
index 1d67a37..7ce6fde 100644
--- a/dvc/daemon.py
+++ b/dvc/daemon.py
@@ -67,14 +67,8 @@ def daemon(args):
Args:
args (list): list of arguments to append to `dvc daemon` command.
"""
- cmd = [sys.executable]
- if not is_binary():
- cmd += ['-m', 'dvc']
- cmd += ['daemon', '-q'] + args
-
- env = fix_env()
- file_path = os.path.abspath(inspect.stack()[0][1])
- env['PYTHONPATH'] = os.path.dirname(os.path.dirname(file_path))
+ cmd = [ "@dvc@" , "daemon", "-q"] + args
+ env = None

logger.debug("Trying to spawn '{}' with env '{}'".format(cmd, env))

14 changes: 7 additions & 7 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "12.3.5",
"repo_hash": "12ywspgnbwm232vmzbqhkqmwmcrb9pvihsayzmw0cxvhlfwq6995",
"version": "12.4.0",
"repo_hash": "0z2jykjv9sa4akq2qd4bl5ngqk3gpy2xfhxmcbd4d61w6l2jw00f",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v12.3.5-ee",
"rev": "v12.4.0-ee",
"passthru": {
"GITALY_SERVER_VERSION": "1.65.1",
"GITLAB_PAGES_VERSION": "1.9.0",
"GITLAB_SHELL_VERSION": "10.0.0",
"GITLAB_WORKHORSE_VERSION": "8.10.0"
"GITALY_SERVER_VERSION": "1.67.0",
"GITLAB_PAGES_VERSION": "1.11.0",
"GITLAB_SHELL_VERSION": "10.2.0",
"GITLAB_WORKHORSE_VERSION": "8.14.0"
}
}
Original file line number Diff line number Diff line change
@@ -17,14 +17,14 @@ let
};
};
in buildGoPackage rec {
version = "1.65.1";
version = "1.67.0";
pname = "gitaly";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
sha256 = "1a39i723na2xk4363a7v48ba23vi04qpg0119dw09g13m0k5hjc3";
sha256 = "1mj2l15hnxwqmyc8xn79d6qpmpqbqw2ishalr8qvn83nzdsbk8l3";
};

goPackagePath = "gitlab.com/gitlab-org/gitaly";
Loading