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

Commits on Jan 14, 2020

  1. Copy the full SHA
    1c61343 View commit details
  2. Copy the full SHA
    1dc1420 View commit details

Commits on Jan 30, 2020

  1. Copy the full SHA
    29bc261 View commit details
  2. Copy the full SHA
    24bd88c View commit details

Commits on Feb 15, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    4594022 View commit details

Commits on Feb 19, 2020

  1. parity: 2.5.11 -> 2.7.2

    Per comment in the upstream release notes, the `beta` track is no longer
    maintained, and parity only has `stable` releases, so this deletes the beta
    expression entirely.
    https://github.com/paritytech/parity-ethereum/releases
    
    This also updates to the new fetchCargoTarball implementation as part of #79975
    bhipple committed Feb 19, 2020
    Copy the full SHA
    9912763 View commit details

Commits on Feb 21, 2020

  1. openssl_1_0_2: mark as insecure; fixes #77503 (kinda)

    No vulnerabilities are know so far (to me), but still I'd go this way.
    Especially for 20.03 it seems better to deprecate it before official
    release happens.
    
    Current casualties:
    $ ./maintainers/scripts/rebuild-amount.sh --print HEAD HEAD^
    Estimating rebuild amount by counting changed Hydra jobs.
         87 x86_64-darwin
        161 x86_64-linux
    vcunat committed Feb 21, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    7cda282 View commit details

Commits on Feb 23, 2020

  1. ghq: 0.12.6 -> 1.1.0

    cohei committed Feb 23, 2020
    Copy the full SHA
    b974f05 View commit details

Commits on Feb 24, 2020

  1. mopidy-iris: 3.44.0 -> 3.45.1

    Tomahna committed Feb 24, 2020
    Copy the full SHA
    40b2619 View commit details

Commits on Feb 25, 2020

  1. dua: 2.1.11 -> 2.3.1

    dywedir committed Feb 25, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    dywedir Vlad M.
    Copy the full SHA
    7340dd1 View commit details
  2. build-lua-package: dont patchShebangs folder

    It can be source of trouble for some read-only folders (libluv for
    instance) and slow down install.
    teto committed Feb 25, 2020
    6
    Copy the full SHA
    7aee5b8 View commit details
  3. metastore: init at 1.1.2

    haskelious committed Feb 25, 2020
    Copy the full SHA
    fca772a View commit details

Commits on Feb 26, 2020

  1. Copy the full SHA
    6eeb434 View commit details
  2. Copy the full SHA
    006aeb5 View commit details
  3. gitAndTools.git-interactive-rebase-tool: upgrade cargo fetcher and ca…

    …rgoSha256
    
    Infra upgrade as part of #79975; no functional change expected.
    bhipple committed Feb 26, 2020
    Copy the full SHA
    71137f9 View commit details
  4. calls: 0.1.1 -> 0.1.2

    r-ryantm committed Feb 26, 2020
    Copy the full SHA
    590f568 View commit details
  5. arrow-cpp: 0.15.1 -> 0.16.0

    This switches to explicitly enabling dependency lookups for
    optional features (they were not picked up before).
    It also enables building of the Parquet command line tools.
    tobim committed Feb 26, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    5ddadce View commit details
  6. Copy the full SHA
    65461ea View commit details

Commits on Feb 27, 2020

  1. Copy the full SHA
    3f34c53 View commit details
  2. tlp: 1.2.2 -> 1.3.1

    lovesegfault committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    lovesegfault Bernardo Meurer
    Copy the full SHA
    471944b View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    lovesegfault Bernardo Meurer
    Copy the full SHA
    07cc033 View commit details
  4. cocoapods: 1.8.4 -> 1.9.0

    lilyball committed Feb 27, 2020
    Copy the full SHA
    915a3aa View commit details
  5. Copy the full SHA
    c0af0c4 View commit details
  6. talloc: fix build on darwin

    marsam committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    014c95b View commit details
  7. Merge staging into staging-next

    FRidh committed Feb 27, 2020
    Copy the full SHA
    f5d9e35 View commit details
  8. vaultenv: 0.8.0 -> 0.13.0

    manveru committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    manveru Michael Fellinger
    Copy the full SHA
    07fc3ce View commit details
  9. Merge pull request #81067 from teto/lua_fix

    - introduce a default checkPhase for lua (disabled by default)
    - dont apply patchShebangs on the whole lua package; hopefulyl it doesnt break stuff
    teto authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7f821b3 View commit details
  10. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    57f2ea5 View commit details
  11. Merge pull request #81155 from zowoq/wireshark

    wireshark: 3.2.1 -> 3.2.2
    Ma27 authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    250daba View commit details
  12. Merge pull request #81163 from lilyball/cocoapods

    cocoapods: 1.8.4 -> 1.9.0
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4e1e3ed View commit details
  13. Merge pull request #77685 from bcdarwin/python3-ignite

    python3Packages.ignite: init at 0.2.1
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dfad6d1 View commit details
  14. Merge pull request #81134 from bcdarwin/python3-nitime

    python3Packages.nitime: init at 0.8.1
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    607a03c View commit details
  15. Merge pull request #78924 from bcdarwin/update-biocaml

    ocamlPackages.biocaml: 0.10.0 -> 0.10.1
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7e50a2f View commit details
  16. Merge pull request #81089 from bhipple/u/rust-cargo-gitAndTools.git-i…

    …nteractive-rebase-tool
    
    gitAndTools.git-interactive-rebase-tool: upgrade cargo fetcher and cargoSha256
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    afa6c6a View commit details
  17. Merge pull request #80160 from bhipple/u/parity

    parity: 2.5.11 -> 2.7.2
    marsam authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7b56996 View commit details
  18. Merge pull request #80955 from Tomahna/mopidy-iris

    mopidy-iris: 3.44.0 -> 3.45.1
    madjar authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    edd5ddf View commit details
  19. Merge pull request #80887 from cohei/update-ghq

    ghq: 0.12.6 -> 1.1.0
    madjar authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d25ac92 View commit details
  20. dart: 2.0.0 -> 2.7.1 (stable) + 2.0.0 -> 2.8.0-dev.10.0 (dev)

    - dart stable: make it default
    - add aarch64 (arm64) packages
    - set myself as maintainer
    GRBurst committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    1204e44 View commit details
  21. Copy the full SHA
    ef5847b View commit details
  22. Merge pull request #78475 from GRBurst/dart

    dart: 2.0.0 -> 2.7.1 (stable) + 2.0.0 -> 2.8.0-dev.10.0 (dev)
    worldofpeace authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    14474ff View commit details
  23. Copy the full SHA
    ca58f58 View commit details
  24. Copy the full SHA
    f14b3aa View commit details
  25. Copy the full SHA
    f70dbff View commit details
  26. Copy the full SHA
    f06174d View commit details
  27. Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    d3e3cc1 View commit details
  28. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    6c14807 View commit details
  29. Copy the full SHA
    6a6bf70 View commit details
  30. Merge pull request #80727 from Valodim/sphinxsearch-master

     sphinxsearch: Add support for MySQL & xmlpipe2
    jtojnar authored Feb 27, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1a4ab0e View commit details
  31. Copy the full SHA
    35feac3 View commit details
  32. xapian: 1.4.14 -> 1.4.15

    r-ryantm authored and marsam committed Feb 27, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    2e074b6 View commit details
Showing with 1,331 additions and 727 deletions.
  1. +58 −84 nixos/modules/services/hardware/tlp.nix
  2. +19 −7 nixos/modules/services/x11/desktop-managers/plasma5.nix
  3. +2 −2 pkgs/applications/audio/mopidy/iris.nix
  4. +3 −3 pkgs/applications/audio/picard/default.nix
  5. +0 −6 pkgs/applications/blockchains/parity/beta.nix
  6. +46 −6 pkgs/applications/blockchains/parity/default.nix
  7. +0 −47 pkgs/applications/blockchains/parity/parity.nix
  8. +1 −4 pkgs/applications/gis/whitebox-tools/default.nix
  9. +2 −2 pkgs/applications/graphics/gimp/default.nix
  10. +3 −5 pkgs/applications/graphics/gimp/remove-cc-reference.patch
  11. +3 −3 pkgs/applications/networking/calls/default.nix
  12. +5 −5 pkgs/applications/networking/cluster/kompose/default.nix
  13. +3 −3 pkgs/applications/networking/sniffers/wireshark/default.nix
  14. +41 −0 pkgs/applications/science/logic/mcy/default.nix
  15. +24 −12 pkgs/applications/science/logic/symbiyosys/default.nix
  16. +8 −15 pkgs/applications/version-management/git-and-tools/ghq/default.nix
  17. +1 −4 pkgs/applications/version-management/git-and-tools/git-interactive-rebase-tool/default.nix
  18. +1 −4 pkgs/applications/window-managers/i3/status-rust.nix
  19. +40 −30 pkgs/development/interpreters/dart/default.nix
  20. +15 −7 pkgs/development/interpreters/lua-5/build-lua-package.nix
  21. +2 −2 pkgs/development/interpreters/rakudo/default.nix
  22. +5 −5 pkgs/development/interpreters/rakudo/moarvm.nix
  23. +2 −2 pkgs/development/interpreters/rakudo/nqp.nix
  24. +2 −2 pkgs/development/interpreters/rakudo/zef.nix
  25. +36 −18 pkgs/development/libraries/arrow-cpp/default.nix
  26. +8 −8 pkgs/development/libraries/arrow-cpp/jemalloc-disable-shared.patch
  27. +2 −2 pkgs/development/libraries/dnnl/default.nix
  28. +0 −8 pkgs/development/libraries/libsecret/default.nix
  29. +4 −2 pkgs/development/libraries/openssl/default.nix
  30. +1 −1 pkgs/development/libraries/talloc/default.nix
  31. +2 −2 pkgs/development/libraries/xapian/default.nix
  32. +2 −2 pkgs/development/libraries/xapian/skip-flaky-darwin-test.patch
  33. +5 −5 pkgs/development/lua-modules/overrides.nix
  34. +4 −4 pkgs/development/mobile/cocoapods/Gemfile-beta.lock
  35. +19 −12 pkgs/development/mobile/cocoapods/Gemfile.lock
  36. +6 −6 pkgs/development/mobile/cocoapods/gemset-beta.nix
  37. +53 −19 pkgs/development/mobile/cocoapods/gemset.nix
  38. +3 −3 pkgs/development/ocaml-modules/biocaml/default.nix
  39. +2 −2 pkgs/development/ocaml-modules/cfstream/default.nix
  40. +12 −12 pkgs/development/ocaml-modules/cfstream/git_commit.patch
  41. +2 −2 pkgs/development/ocaml-modules/javalib/default.nix
  42. +12 −7 pkgs/development/ocaml-modules/sawja/default.nix
  43. +41 −0 pkgs/development/python-modules/breezy/default.nix
  44. +38 −0 pkgs/development/python-modules/ignite/default.nix
  45. +47 −0 pkgs/development/python-modules/launchpadlib/default.nix
  46. +36 −0 pkgs/development/python-modules/lazr-restfulclient/default.nix
  47. +27 −0 pkgs/development/python-modules/lazr-uri/default.nix
  48. +36 −0 pkgs/development/python-modules/nitime/default.nix
  49. +2 −2 pkgs/development/python-modules/pyarrow/default.nix
  50. +29 −0 pkgs/development/python-modules/pynvml/default.nix
  51. +26 −0 pkgs/development/python-modules/pytest-lazy-fixture/default.nix
  52. +28 −0 pkgs/development/python-modules/wadllib/default.nix
  53. +1 −4 pkgs/development/tools/clog-cli/default.nix
  54. +5 −6 pkgs/development/tools/haskell/vaultenv/default.nix
  55. +4 −7 pkgs/development/tools/misc/stlink/default.nix
  56. +4 −3 pkgs/development/tools/misc/ycmd/default.nix
  57. +23 −9 pkgs/development/tools/rust/cargo-make/Cargo.lock
  58. +6 −7 pkgs/development/tools/rust/cargo-make/default.nix
  59. +124 −91 pkgs/misc/vim-plugins/generated.nix
  60. +3 −0 pkgs/misc/vim-plugins/vim-plugin-names
  61. +24 −0 pkgs/os-specific/linux/metastore/default.nix
  62. +3 −3 pkgs/os-specific/linux/zenmonitor/default.nix
  63. +30 −12 pkgs/servers/search/sphinxsearch/default.nix
  64. +3 −3 pkgs/tools/X11/xcwd/default.nix
  65. +1 −4 pkgs/tools/graphics/oxipng/default.nix
  66. +1 −4 pkgs/tools/graphics/shotgun/default.nix
  67. +1 −4 pkgs/tools/graphics/svgcleaner/default.nix
  68. +3 −3 pkgs/tools/misc/clipman/default.nix
  69. +9 −5 pkgs/tools/misc/dua/default.nix
  70. +2 −5 pkgs/tools/misc/fd/default.nix
  71. +1 −4 pkgs/tools/misc/ffsend/default.nix
  72. +1 −4 pkgs/tools/misc/fselect/default.nix
  73. +3 −3 pkgs/tools/misc/fsmon/default.nix
  74. +2 −2 pkgs/tools/misc/fx_cast/default.nix
  75. +1 −4 pkgs/tools/misc/hexyl/default.nix
  76. +1 −4 pkgs/tools/misc/journaldriver/default.nix
  77. +1 −4 pkgs/tools/misc/kak-lsp/default.nix
  78. +1 −4 pkgs/tools/misc/loop/default.nix
  79. +1 −4 pkgs/tools/misc/lsd/default.nix
  80. +1 −4 pkgs/tools/misc/mcfly/default.nix
  81. +1 −4 pkgs/tools/misc/pazi/default.nix
  82. +1 −4 pkgs/tools/misc/powerline-rs/default.nix
  83. +1 −4 pkgs/tools/misc/shadowenv/default.nix
  84. +1 −4 pkgs/tools/misc/shell-hist/default.nix
  85. +3 −7 pkgs/tools/misc/termplay/default.nix
  86. +102 −57 pkgs/tools/misc/tlp/default.nix
  87. +46 −0 pkgs/tools/misc/tlp/patches/fix-makefile-sed.patch
  88. +95 −0 pkgs/tools/misc/tlp/patches/tlp-sleep-service.patch
  89. +1 −4 pkgs/tools/misc/uutils-coreutils/default.nix
  90. +1 −4 pkgs/tools/misc/vivid/default.nix
  91. +1 −4 pkgs/tools/misc/void/default.nix
  92. +1 −4 pkgs/tools/misc/watchexec/default.nix
  93. +1 −4 pkgs/tools/misc/websocat/default.nix
  94. +7 −10 pkgs/tools/misc/{xv → xxv}/default.nix
  95. +1 −4 pkgs/tools/networking/bandwhich/default.nix
  96. +1 −4 pkgs/tools/networking/shadowsocks-rust/default.nix
  97. +1 −4 pkgs/tools/networking/tdns-cli/default.nix
  98. +1 −4 pkgs/tools/networking/tox-node/default.nix
  99. +4 −4 pkgs/tools/package-management/cargo-deps/default.nix
  100. +1 −4 pkgs/tools/security/rage/default.nix
  101. +1 −4 pkgs/tools/text/diffr/default.nix
  102. +1 −0 pkgs/top-level/aliases.nix
  103. +11 −5 pkgs/top-level/all-packages.nix
  104. +18 −0 pkgs/top-level/python-packages.nix
142 changes: 58 additions & 84 deletions nixos/modules/services/hardware/tlp.nix
Original file line number Diff line number Diff line change
@@ -1,39 +1,26 @@
{ config, lib, pkgs, ... }:

with lib;

let

cfg = config.services.tlp;

enableRDW = config.networking.networkmanager.enable;

tlp = pkgs.tlp.override {
inherit enableRDW;
};

# XXX: We can't use writeTextFile + readFile here because it triggers
# TLP build to get the .drv (even on --dry-run).
confFile = pkgs.runCommand "tlp"
{ config = cfg.extraConfig;
passAsFile = [ "config" ];
preferLocalBuild = true;
}
''
cat ${tlp}/etc/default/tlp > $out
cat $configPath >> $out
'';

cfg = config.services.tlp;
enableRDW = config.networking.networkmanager.enable;
tlp = pkgs.tlp.override { inherit enableRDW; };
# TODO: Use this for having proper parameters in the future
mkTlpConfig = tlpConfig: generators.toKeyValue {
mkKeyValue = generators.mkKeyValueDefault {
mkValueString = val:
if isInt val then toString val
else if isString val then val
else if true == val then "1"
else if false == val then "0"
else if isList val then "\"" + (concatStringsSep " " val) + "\""
else err "invalid value provided to mkTlpConfig:" (toString val);
} "=";
} tlpConfig;
in

{

###### interface

options = {

services.tlp = {

enable = mkOption {
type = types.bool;
default = false;
@@ -45,77 +32,64 @@ in
default = "";
description = "Additional configuration variables for TLP";
};

};

};


###### implementation

config = mkIf cfg.enable {
boot.kernelModules = [ "msr" ];

powerManagement.scsiLinkPolicy = null;
powerManagement.cpuFreqGovernor = null;
powerManagement.cpufreq.max = null;
powerManagement.cpufreq.min = null;
environment.etc = {
"tlp.conf".text = cfg.extraConfig;
} // optionalAttrs enableRDW {
"NetworkManager/dispatcher.d/99tlp-rdw-nm".source =
"${tlp}/etc/NetworkManager/dispatcher.d/99tlp-rdw-nm";
};

systemd.sockets.systemd-rfkill.enable = false;
environment.systemPackages = [ tlp ];

systemd.services = {
"systemd-rfkill@".enable = false;
systemd-rfkill.enable = false;
# FIXME: When the config is parametrized we need to move these into a
# conditional on the relevant options being enabled.
powerManagement = {
scsiLinkPolicy = null;
cpuFreqGovernor = null;
cpufreq.max = null;
cpufreq.min = null;
};

tlp = {
description = "TLP system startup/shutdown";
services.udev.packages = [ tlp ];

after = [ "multi-user.target" ];
systemd = {
packages = [ tlp ];
# XXX: These must always be disabled/masked according to [1].
#
# [1]: https://github.com/linrunner/TLP/blob/a9ada09e0821f275ce5f93dc80a4d81a7ff62ae4/tlp-stat.in#L319
sockets.systemd-rfkill.enable = false;
services.systemd-rfkill.enable = false;

services.tlp = {
# XXX: The service should reload whenever the configuration changes,
# otherwise newly set power options remain inactive until reboot (or
# manual unit restart.)
restartTriggers = [ config.environment.etc."tlp.conf".source ];
# XXX: When using systemd.packages (which we do above) the [Install]
# section of systemd units does not work (citation needed) so we manually
# enforce it here.
wantedBy = [ "multi-user.target" ];
before = [ "shutdown.target" ];
restartTriggers = [ confFile ];

serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${tlp}/bin/tlp init start";
ExecStop = "${tlp}/bin/tlp init stop";
};
};

tlp-sleep = {
description = "TLP suspend/resume";

wantedBy = [ "sleep.target" ];
services.tlp-sleep = {
# XXX: When using systemd.packages (which we do above) the [Install]
# section of systemd units does not work (citation needed) so we manually
# enforce it here.
before = [ "sleep.target" ];

unitConfig = {
StopWhenUnneeded = true;
};

serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${tlp}/bin/tlp suspend";
ExecStop = "${tlp}/bin/tlp resume";
};
wantedBy = [ "sleep.target" ];
# XXX: `tlp suspend` requires /var/lib/tlp to exist in order to save
# some stuff in there. There is no way, that I know of, to do this in
# the package itself, so we do it here instead making sure the unit
# won't fail due to the save dir not existing.
serviceConfig.StateDirectory = "tlp";
};
};

services.udev.packages = [ tlp ];

environment.etc =
{
"default/tlp".source = confFile;
} // optionalAttrs enableRDW {
"NetworkManager/dispatcher.d/99tlp-rdw-nm" = {
source = "${tlp}/etc/NetworkManager/dispatcher.d/99tlp-rdw-nm";
};
};

environment.systemPackages = [ tlp ];

boot.kernelModules = [ "msr" ];

};

}
26 changes: 19 additions & 7 deletions nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -52,6 +52,8 @@ let
'';

activationScript = ''
${set_XDG_CONFIG_HOME}
# The KDE icon cache is supposed to update itself automatically, but it uses
# the timestamp on the icon theme directory as a trigger. This doesn't work
# on NixOS because the timestamp never changes. As a workaround, delete the
@@ -62,7 +64,7 @@ let
# xdg-desktop-settings generates this empty file but
# it makes kbuildsyscoca5 fail silently. To fix this
# remove that menu if it exists.
rm -fv ''${XDG_CONFIG_HOME:?}/menus/applications-merged/xdg-desktop-menu-dummy.menu
rm -fv ''${XDG_CONFIG_HOME}/menus/applications-merged/xdg-desktop-menu-dummy.menu
# Qt writes a weird ‘libraryPath’ line to
# ~/.config/Trolltech.conf that causes the KDE plugin
@@ -71,7 +73,7 @@ let
# disastrous, so here we nuke references to the Nix store
# in Trolltech.conf. A better solution would be to stop
# Qt from doing this wackiness in the first place.
trolltech_conf="''${XDG_CONFIG_HOME:?}/Trolltech.conf"
trolltech_conf="''${XDG_CONFIG_HOME}/Trolltech.conf"
if [ -e "$trolltech_conf" ]; then
${sed} -i "$trolltech_conf" -e '/nix\\store\|nix\/store/ d'
fi
@@ -84,10 +86,20 @@ let
${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5
'';

set_XDG_CONFIG_HOME = ''
# Set the default XDG_CONFIG_HOME if it is unset.
# Per the XDG Base Directory Specification:
# https://specifications.freedesktop.org/basedir-spec/latest
# 1. Never export this variable! If it is unset, then child processes are
# expected to set the default themselves.
# 2. Contaminate / if $HOME is unset; do not check if $HOME is set.
XDG_CONFIG_HOME=''${XDG_CONFIG_HOME:-$HOME/.config}
'';

startplasma =
''
export XDG_CONFIG_HOME="''${XDG_CONFIG_HOME:-$HOME/.config}"
mkdir -p "''${XDG_CONFIG_HOME:?}"
${set_XDG_CONFIG_HOME}
mkdir -p "''${XDG_CONFIG_HOME}"
''
+ optionalString pulseaudio.enable ''
@@ -100,10 +112,10 @@ let
${activationScript}
# Create default configurations if Plasma has never been started.
kdeglobals="''${XDG_CONFIG_HOME:?}/kdeglobals"
kdeglobals="''${XDG_CONFIG_HOME}/kdeglobals"
if ! [ -f "$kdeglobals" ]
then
kcminputrc="''${XDG_CONFIG_HOME:?}/kcminputrc"
kcminputrc="''${XDG_CONFIG_HOME}/kcminputrc"
if ! [ -f "$kcminputrc" ]
then
cat ${kcminputrc} >"$kcminputrc"
@@ -115,7 +127,7 @@ let
cat ${gtkrc2} >"$gtkrc2"
fi
gtk3_settings="''${XDG_CONFIG_HOME:?}/gtk-3.0/settings.ini"
gtk3_settings="''${XDG_CONFIG_HOME}/gtk-3.0/settings.ini"
if ! [ -f "$gtk3_settings" ]
then
mkdir -p "$(dirname "$gtk3_settings")"
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mopidy/iris.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

python3Packages.buildPythonApplication rec {
pname = "Mopidy-Iris";
version = "3.44.0";
version = "3.45.1";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0gap0cyw6sfb4487i1x220rr9fbsz6xyw68l15ar0vfll0zv0760";
sha256 = "02jmylz76wlwxlv8drndprb7r9l8kqqgjkp17mjx5ngnl545pc2w";
};

propagatedBuildInputs = [
6 changes: 3 additions & 3 deletions pkgs/applications/audio/picard/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ let
pythonPackages = python3Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
version = "2.3";
version = "2.3.1";

src = fetchFromGitHub {
owner = "metabrainz";
repo = pname;
rev = "release-${version}";
sha256 = "0msdnp6wh97lnm3m084jsvbp95h5d35y5fm71j64cgf4g39zp5ds";
sha256 = "0xalg4dvaqb396h4s6gzxnplgv1lcvsczmmrlhyrj0kfj10amhsj";
};

nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ];
@@ -33,7 +33,7 @@ in pythonPackages.buildPythonApplication rec {
'';

meta = with stdenv.lib; {
homepage = http://musicbrainz.org/doc/MusicBrainz_Picard;
homepage = "https://picard.musicbrainz.org/";
description = "The official MusicBrainz tagger";
maintainers = with maintainers; [ ehmry ];
license = licenses.gpl2;
6 changes: 0 additions & 6 deletions pkgs/applications/blockchains/parity/beta.nix

This file was deleted.

52 changes: 46 additions & 6 deletions pkgs/applications/blockchains/parity/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,46 @@
let
version = "2.5.11";
sha256 = "1x2p559g2f30520v3kn46n737l5s1kwrn962dv73s6mb6n1lhs55";
cargoSha256 = "16nf6y0hyffwdhxn1w4ms4zycs5lkzir8sj6c2lgsabig057hb6z";
in
import ./parity.nix { inherit version sha256 cargoSha256; }
{ lib
, fetchFromGitHub
, rustPlatform
, cmake
, llvmPackages
, openssl
, pkg-config
, systemd
}:

rustPlatform.buildRustPackage rec {
pname = "parity";
version = "2.7.2";

src = fetchFromGitHub {
owner = "paritytech";
repo = "parity-ethereum";
rev = "v${version}";
sha256 = "09cvqk0h9c26famh3f1nc3g74cd0zk6klys977yr1f13bgqmzx0x";
};

cargoSha256 = "1fdymy8hvn137i5y4flyhlxwjxkd2cd6gq81i1429gk7j3h085ig";

LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
nativeBuildInputs = [
cmake
llvmPackages.clang
llvmPackages.libclang
pkg-config
];

buildInputs = [ openssl systemd ];

cargoBuildFlags = [ "--features final" ];

# test result: FAILED. 88 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
doCheck = false;

meta = with lib; {
description = "Fast, light, robust Ethereum implementation";
homepage = "http://parity.io";
license = licenses.gpl3;
maintainers = with maintainers; [ akru xrelkd ];
platforms = platforms.linux;
};
}
47 changes: 0 additions & 47 deletions pkgs/applications/blockchains/parity/parity.nix

This file was deleted.

Loading