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: c15e6fd3fd9f
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: 3ca1571d89c6
Choose a head ref

Commits on Jun 27, 2018

  1. Copy the full SHA
    2371f85 View commit details
  2. Copy the full SHA
    9e61c28 View commit details

Commits on Jun 28, 2018

  1. manual: rename users.extraUsers to users.users

    Is called like this since 14321ae, but
    docs were still using the old option in some cases.
    
    Reported-By: Cedric Shahabi <cedric.shahabi@gmail.com>
    flokli committed Jun 28, 2018
    Copy the full SHA
    6cabce9 View commit details
  2. manual: rename user added to networkmanager from "youruser" to "alice"

    to be consistent with the rest of the manual
    
    Reported-By: Cedric Shahabi <cedric.shahabi@gmail.com>
    flokli committed Jun 28, 2018
    Copy the full SHA
    329983f View commit details

Commits on Jun 29, 2018

  1. khal: pin python-dateutil==2.6.1

    Robert Schütz committed Jun 29, 2018
    Copy the full SHA
    12cf9f7 View commit details
  2. radicale: pin python-dateutil==2.6.1

    Robert Schütz committed Jun 29, 2018
    Copy the full SHA
    184f8cc View commit details
  3. papis: pin python-dateutil==2.6.1

    Robert Schütz committed Jun 29, 2018
    Copy the full SHA
    27d17b1 View commit details
  4. python.pkgs.pytest-httpbin: disable tests

    Tests are not included in the PyPI tarball.
    Robert Schütz committed Jun 29, 2018
    Copy the full SHA
    9ebfa7b View commit details
  5. python.pkgs.pendulum: fix propagatedBuildInputs

    Robert Schütz committed Jun 29, 2018
    Copy the full SHA
    aa11e10 View commit details
  6. poppler_utils: 0.65.0 -> 0.66.0 (#42460)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/poppler-utils/versions.
    
    These checks were done:
    
    - built on NixOS
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdftoppm passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdftocairo passed the binary check.
    - Warning: no invocation of /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfdetach had a zero exit code or showed the expected version
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdffonts passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfimages passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfinfo passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfsig passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdftops passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdftotext passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdftohtml passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfseparate passed the binary check.
    - /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0/bin/pdfunite passed the binary check.
    - 11 of 12 passed binary check by having a zero exit code.
    - 0 of 12 passed binary check by having the new version present in output.
    - found 0.66.0 with grep in /nix/store/cgsca7brl8gxnlc1xaxdsyizbdlmha2q-poppler-utils-0.66.0
    - directory tree listing: https://gist.github.com/af4034ac452cfd8a440300c9bfc12e28
    - du listing: https://gist.github.com/776d2f71e00585d9b456fd950c335614
    r-ryantm authored and xeji committed Jun 29, 2018
    Copy the full SHA
    cf8da73 View commit details
  7. wolfssl: 3.15.0 -> 3.15.3 (#42670)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/wolfssl/versions.
    
    These checks were done:
    
    - built on NixOS
    
    - 0 of 0 passed binary check by having a zero exit code.
    - 0 of 0 passed binary check by having the new version present in output.
    - found 3.15.3 in filename of file in /nix/store/64hjsmi2gzinf6qn0dfs16c3zzi4rfpx-wolfssl-3.15.3
    - directory tree listing: https://gist.github.com/f48303498f02ef2dc587368e1b17a323
    - du listing: https://gist.github.com/db2ab599e28e35132df0568d69c7f4c8
    r-ryantm authored and xeji committed Jun 29, 2018
    Copy the full SHA
    c9362d5 View commit details
  8. openafs_1_8: init at 1.8.0 (#41889)

    - Introduce new "server" output holding the server binaries
     - Adapt tsmbac.patch to new build environment
     - Adapt openafs nixos server module accordingly
     - Update upstream CellServDB: 2017-03-14 -> 2018-05-14
     - Introduce package attributes to refer to the openafs packages to use for
       server, programs and kernel module
    spacefrogg authored and xeji committed Jun 29, 2018
    Copy the full SHA
    37c9992 View commit details
  9. f2fs-tools: 1.9.0 -> 1.10.0 (#42751)

    tadfisher authored and xeji committed Jun 29, 2018
    Copy the full SHA
    1ebc85b View commit details
  10. Merge pull request #42782 from dotlambda/dateutil-2.7-fixes

    Fix packages broken by python-dateutil bump
    xeji authored Jun 29, 2018
    Copy the full SHA
    ad112ca View commit details
  11. Merge pull request #42746 from flokli/manual-fixes-users-users

    Manual fixes: users.extraUsers -> users.users
    xeji authored Jun 29, 2018
    Copy the full SHA
    82550f5 View commit details
  12. Copy the full SHA
    85497a3 View commit details
  13. chirp: 20180611 -> 20180614 (#42525)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/chirp-daily/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no invocation of /nix/store/gfgi7c2ps023ga27vx6s38y4gkgx1c54-chirp-daily-20180614/bin/.chirpw-wrapped had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/gfgi7c2ps023ga27vx6s38y4gkgx1c54-chirp-daily-20180614/bin/chirpw had a zero exit code or showed the expected version
    - 0 of 2 passed binary check by having a zero exit code.
    - 0 of 2 passed binary check by having the new version present in output.
    - found 20180614 with grep in /nix/store/gfgi7c2ps023ga27vx6s38y4gkgx1c54-chirp-daily-20180614
    - directory tree listing: https://gist.github.com/5a739e8fa0584360afb3f692d19e3771
    - du listing: https://gist.github.com/e530a387cd61ae6e0b944b372041bd3d
    r-ryantm authored and xeji committed Jun 29, 2018
    Copy the full SHA
    827d3d3 View commit details
  14. Merge pull request #42678 from Moredread/rtmidi/rtaudio/parallelBuild

     Enable parallel building for rtaudio and rtmidi
    xeji authored Jun 29, 2018
    Copy the full SHA
    9137f83 View commit details

Commits on Jun 30, 2018

  1. treewide: http -> https

    ryantm committed Jun 30, 2018
    Copy the full SHA
    1d54dc6 View commit details
  2. Copy the full SHA
    236d92a View commit details
  3. Copy the full SHA
    6589358 View commit details
  4. gnuradio: fix hash for 3.7.13.3

    Luke Adams committed Jun 30, 2018
    Copy the full SHA
    c328738 View commit details
  5. kmymoney: Fix build with Qt 5.11

    It's a really small fix that even could have been done via sed, but I'm
    using the upstream patch instead so that once a new upstream release
    comes along we don't forget to drop the patch.
    
    The patch is from the upstream commit at:
    
    https://cgit.kde.org/kmymoney.git/commit/?id=e5198a902996b27bf9abde0ad24af82d55ab5dc1
    
    Signed-off-by: aszlig <aszlig@nix.build>
    aszlig committed Jun 30, 2018
    Copy the full SHA
    99d7805 View commit details
  6. gnuradio: undo ninja (revert to unix make)

    * ninja generator fails to create response file
    See https://gitlab.kitware.com/cmake/cmake/issues/17877
    Luke Adams committed Jun 30, 2018
    Copy the full SHA
    408bc4b View commit details
  7. Merge pull request #42800 from lukeadams/gr-v2

    gnuradio: fix issues with last pr
    matthewbauer authored Jun 30, 2018
    Copy the full SHA
    d1f691e View commit details
  8. Merge pull request #42796 from ryantm/repology-problems2

    treewide: http -> https
    matthewbauer authored Jun 30, 2018
    Copy the full SHA
    cf31962 View commit details
  9. Merge pull request #42797 from jtojnar/tracker-update

    gnome3.tracker update
    jtojnar authored Jun 30, 2018
    Copy the full SHA
    3ca1571 View commit details
Showing with 431 additions and 106 deletions.
  1. +1 −1 doc/languages-frameworks/python.section.md
  2. +1 −1 nixos/doc/manual/administration/imperative-containers.xml
  3. +1 −1 nixos/doc/manual/configuration/network-manager.xml
  4. +1 −1 nixos/doc/manual/configuration/ssh.xml
  5. +1 −1 nixos/doc/manual/installation/changing-config.xml
  6. +1 −1 nixos/doc/manual/installation/installing-from-other-distro.xml
  7. +19 −7 nixos/modules/services/network-filesystems/openafs/client.nix
  8. +8 −3 nixos/modules/services/network-filesystems/openafs/lib.nix
  9. +21 −13 nixos/modules/services/network-filesystems/openafs/server.nix
  10. +2 −2 pkgs/applications/misc/chirp/default.nix
  11. +3 −3 pkgs/applications/misc/gnuradio/default.nix
  12. +20 −5 pkgs/applications/misc/khal/default.nix
  13. +8 −0 pkgs/applications/office/kmymoney/default.nix
  14. +1 −1 pkgs/applications/science/astronomy/gravit/default.nix
  15. +3 −26 pkgs/desktops/gnome-3/core/tracker-miners/default.nix
  16. +2 −2 pkgs/desktops/gnome-3/core/tracker/default.nix
  17. +1 −1 pkgs/development/compilers/polyml/5.6.nix
  18. +1 −1 pkgs/development/compilers/polyml/default.nix
  19. +1 −1 pkgs/development/compilers/scala/2.11.nix
  20. +2 −0 pkgs/development/libraries/audio/rtaudio/default.nix
  21. +2 −0 pkgs/development/libraries/audio/rtmidi/default.nix
  22. +2 −2 pkgs/development/libraries/poppler/default.nix
  23. +2 −2 pkgs/development/libraries/wolfssl/default.nix
  24. +1 −1 pkgs/development/python-modules/langcodes/default.nix
  25. +2 −2 pkgs/development/python-modules/lxml/default.nix
  26. +4 −3 pkgs/development/python-modules/pendulum/default.nix
  27. +1 −1 pkgs/development/python-modules/pymc3/default.nix
  28. +3 −0 pkgs/development/python-modules/pytest-httpbin/default.nix
  29. +1 −1 pkgs/development/python-modules/python3-openid/default.nix
  30. +1 −1 pkgs/development/tools/misc/epm/default.nix
  31. 0 pkgs/servers/openafs/{ → 1.6}/default.nix
  32. 0 pkgs/servers/openafs/{ → 1.6}/module.nix
  33. 0 pkgs/servers/openafs/{ → 1.6}/srcs.nix
  34. 0 pkgs/servers/openafs/{ → 1.6}/tsmbac.patch
  35. +30 −0 pkgs/servers/openafs/1.8/bosserver.patch
  36. +97 −0 pkgs/servers/openafs/1.8/default.nix
  37. +60 −0 pkgs/servers/openafs/1.8/module.nix
  38. +14 −0 pkgs/servers/openafs/1.8/srcs.nix
  39. +62 −0 pkgs/servers/openafs/1.8/tsmbac.patch
  40. +18 −3 pkgs/servers/radicale/default.nix
  41. +1 −1 pkgs/servers/sabnzbd/default.nix
  42. +1 −1 pkgs/shells/zsh/oh-my-zsh/default.nix
  43. +4 −4 pkgs/tools/admin/lego/default.nix
  44. +2 −2 pkgs/tools/filesystems/f2fs-tools/default.nix
  45. +20 −8 pkgs/tools/misc/papis/default.nix
  46. +1 −1 pkgs/tools/security/volatility/default.nix
  47. +4 −2 pkgs/top-level/all-packages.nix
2 changes: 1 addition & 1 deletion doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
@@ -328,7 +328,7 @@ when building the bindings and are therefore added as `buildInputs`.
meta = {
description = "Pythonic binding for the libxml2 and libxslt libraries";
homepage = http://lxml.de;
homepage = https://lxml.de;
license = licenses.bsd3;
maintainers = with maintainers; [ sjourdois ];
};
2 changes: 1 addition & 1 deletion nixos/doc/manual/administration/imperative-containers.xml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
<screen>
# nixos-container create foo --config '
<xref linkend="opt-services.openssh.enable"/> = true;
<link linkend="opt-users.users._name__.openssh.authorizedKeys.keys">users.extraUsers.root.openssh.authorizedKeys.keys</link> = ["ssh-dss AAAAB3N…"];
<link linkend="opt-users.users._name__.openssh.authorizedKeys.keys">users.users.root.openssh.authorizedKeys.keys</link> = ["ssh-dss AAAAB3N…"];
'
</screen>
</para>
2 changes: 1 addition & 1 deletion nixos/doc/manual/configuration/network-manager.xml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
All users that should have permission to change network settings must belong
to the <code>networkmanager</code> group:
<programlisting>
<link linkend="opt-users.users._name__.extraGroups">users.extraUsers.youruser.extraGroups</link> = [ "networkmanager" ];
<link linkend="opt-users.users._name__.extraGroups">users.users.alice.extraGroups</link> = [ "networkmanager" ];
</programlisting>
</para>

2 changes: 1 addition & 1 deletion nixos/doc/manual/configuration/ssh.xml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
follows:
<!-- FIXME: this might not work if the user is unmanaged. -->
<programlisting>
<link linkend="opt-users.users._name__.openssh.authorizedKeys.keys">users.extraUsers.alice.openssh.authorizedKeys.keys</link> =
<link linkend="opt-users.users._name__.openssh.authorizedKeys.keys">users.users.alice.openssh.authorizedKeys.keys</link> =
[ "ssh-dss AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ];
</programlisting>
</para>
2 changes: 1 addition & 1 deletion nixos/doc/manual/installation/changing-config.xml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ $ ./result/bin/run-*-vm
<literal>mutableUsers = false</literal>. Another way is to temporarily add
the following to your configuration:
<screen>
<link linkend="opt-users.users._name__.initialHashedPassword">users.extraUsers.your-user.initialHashedPassword</link> = "test";
<link linkend="opt-users.users._name__.initialHashedPassword">users.users.your-user.initialHashedPassword</link> = "test";
</screen>
<emphasis>Important:</emphasis> delete the $hostname.qcow2 file if you have
started the virtual machine at least once without the right users, otherwise
Original file line number Diff line number Diff line change
@@ -211,7 +211,7 @@ $ sudo groupdel nixbld</screen>
use <literal>sudo</literal>)
</para>
<programlisting>
<link linkend="opt-users.users._name__.initialHashedPassword">users.extraUsers.root.initialHashedPassword</link> = "";
<link linkend="opt-users.users._name__.initialHashedPassword">users.users.root.initialHashedPassword</link> = "";
</programlisting>
</listitem>
<listitem>
26 changes: 19 additions & 7 deletions nixos/modules/services/network-filesystems/openafs/client.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{ config, pkgs, lib, ... }:
{ config, lib, pkgs, ... }:

with import ./lib.nix { inherit lib; };
# openafsMod, openafsBin, mkCellServDB
with import ./lib.nix { inherit config lib pkgs; };

let
inherit (lib) getBin mkOption mkIf optionalString singleton types;

cfg = config.services.openafsClient;

cellServDB = pkgs.fetchurl {
url = http://dl.central.org/dl/cellservdb/CellServDB.2017-03-14;
sha256 = "1197z6c5xrijgf66rhaymnm5cvyg2yiy1i20y4ah4mrzmjx0m7sc";
url = http://dl.central.org/dl/cellservdb/CellServDB.2018-05-14;
sha256 = "1wmjn6mmyy2r8p10nlbdzs4nrqxy8a9pjyrdciy5nmppg4053rk2";
};

clientServDB = pkgs.writeText "client-cellServDB-${cfg.cellName}" (mkCellServDB cfg.cellName cfg.cellServDB);
@@ -21,8 +22,6 @@ let
echo "${cfg.mountPoint}:${cfg.cache.directory}:${toString cfg.cache.blocks}" > $out/cacheinfo
'';

openafsMod = config.boot.kernelPackages.openafs;
openafsBin = lib.getBin pkgs.openafs;
in
{
###### interface
@@ -147,6 +146,19 @@ in
'';
};

packages = {
module = mkOption {
default = config.boot.kernelPackages.openafs;
type = types.package;
description = "OpenAFS kernel module package. MUST match the userland package!";
};
programs = mkOption {
default = getBin pkgs.openafs;
type = types.package;
description = "OpenAFS programs package. MUST match the kernel module package!";
};
};

sparse = mkOption {
default = true;
type = types.bool;
@@ -180,7 +192,7 @@ in
}
];

environment.systemPackages = [ pkgs.openafs ];
environment.systemPackages = [ openafsBin ];

environment.etc = {
clientCellServDB = {
11 changes: 8 additions & 3 deletions nixos/modules/services/network-filesystems/openafs/lib.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{ lib, ...}:
{ config, lib, pkgs, ...}:

let
inherit (lib) concatStringsSep mkOption types;
inherit (lib) concatStringsSep getBin mkOption types;

in rec {

mkCellServDB = cellName: db: ''
>${cellName}
'' + (concatStringsSep "\n" (map (dbm: if (dbm.ip != "" && dbm.dnsname != "") then dbm.ip + " #" + dbm.dnsname else "")
db));
db))
+ "\n";

# CellServDB configuration type
cellServDBConfig = {
@@ -25,4 +26,8 @@ in rec {
description = "DNS full-qualified domain name of a database server";
};
};

openafsMod = config.services.openafsClient.packages.module;
openafsBin = config.services.openafsClient.packages.programs;
openafsSrv = config.services.openafsServer.package;
}
34 changes: 21 additions & 13 deletions nixos/modules/services/network-filesystems/openafs/server.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ config, pkgs, lib, ... }:
{ config, lib, pkgs, ... }:

with import ./lib.nix { inherit lib; };
# openafsBin, openafsSrv, mkCellServDB
with import ./lib.nix { inherit config lib pkgs; };

let
inherit (lib) concatStringsSep intersperse mapAttrsToList mkForce mkIf mkMerge mkOption optionalString types;
@@ -11,21 +12,21 @@ let
checkbintime 3 0 5 0 0
'' + (optionalString cfg.roles.database.enable ''
bnode simple vlserver 1
parm ${openafsBin}/libexec/openafs/vlserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} ${cfg.roles.database.vlserverArgs}
parm ${openafsSrv}/libexec/openafs/vlserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} ${cfg.roles.database.vlserverArgs}
end
bnode simple ptserver 1
parm ${openafsBin}/libexec/openafs/ptserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} ${cfg.roles.database.ptserverArgs}
parm ${openafsSrv}/libexec/openafs/ptserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} ${cfg.roles.database.ptserverArgs}
end
'') + (optionalString cfg.roles.fileserver.enable ''
bnode dafs dafs 1
parm ${openafsBin}/libexec/openafs/dafileserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} -udpsize ${udpSizeStr} ${cfg.roles.fileserver.fileserverArgs}
parm ${openafsBin}/libexec/openafs/davolserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} -udpsize ${udpSizeStr} ${cfg.roles.fileserver.volserverArgs}
parm ${openafsBin}/libexec/openafs/salvageserver ${cfg.roles.fileserver.salvageserverArgs}
parm ${openafsBin}/libexec/openafs/dasalvager ${cfg.roles.fileserver.salvagerArgs}
parm ${openafsSrv}/libexec/openafs/dafileserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} -udpsize ${udpSizeStr} ${cfg.roles.fileserver.fileserverArgs}
parm ${openafsSrv}/libexec/openafs/davolserver ${optionalString cfg.dottedPrincipals "-allow-dotted-principals"} -udpsize ${udpSizeStr} ${cfg.roles.fileserver.volserverArgs}
parm ${openafsSrv}/libexec/openafs/salvageserver ${cfg.roles.fileserver.salvageserverArgs}
parm ${openafsSrv}/libexec/openafs/dasalvager ${cfg.roles.fileserver.salvagerArgs}
end
'') + (optionalString (cfg.roles.database.enable && cfg.roles.backup.enable) ''
bnode simple buserver 1
parm ${openafsBin}/libexec/openafs/buserver ${cfg.roles.backup.buserverArgs} ${optionalString (cfg.roles.backup.cellServDB != []) "-cellservdb /etc/openafs/backup/"}
parm ${openafsSrv}/libexec/openafs/buserver ${cfg.roles.backup.buserverArgs} ${optionalString (cfg.roles.backup.cellServDB != []) "-cellservdb /etc/openafs/backup/"}
end
''));

@@ -39,8 +40,6 @@ let

udpSizeStr = toString cfg.udpPacketSize;

openafsBin = lib.getBin pkgs.openafs;

in {

options = {
@@ -79,6 +78,12 @@ in {
description = "Definition of all cell-local database server machines.";
};

package = mkOption {
default = pkgs.openafs.server or pkgs.openafs;
type = types.package;
description = "OpenAFS package for the server binaries";
};

roles = {
fileserver = {
enable = mkOption {
@@ -213,7 +218,7 @@ in {
}
];

environment.systemPackages = [ pkgs.openafs ];
environment.systemPackages = [ openafsBin ];

environment.etc = {
bosConfig = {
@@ -244,7 +249,10 @@ in {
after = [ "syslog.target" "network.target" ];
wantedBy = [ "multi-user.target" ];
restartIfChanged = false;
unitConfig.ConditionPathExists = [ "/etc/openafs/server/rxkad.keytab" ];
unitConfig.ConditionPathExists = [
"|/etc/openafs/server/rxkad.keytab"
"|/etc/openafs/server/KeyFileExt"
];
preStart = ''
mkdir -m 0755 -p /var/openafs
${optionalString (netInfo != null) "cp ${netInfo} /var/openafs/netInfo"}
4 changes: 2 additions & 2 deletions pkgs/applications/misc/chirp/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

stdenv.mkDerivation rec {
name = "chirp-daily-${version}";
version = "20180611";
version = "20180614";

src = fetchurl {
url = "https://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
sha256 = "1569gnbs4jb53n58wdkdjrxx9nrayljn5v0wqacn5zfr87s16zxf";
sha256 = "011bxd418hrl88rhp6lhja68b2kvnm1b845v41g9qfsagvfmbv3g";
};

nativeBuildInputs = [ makeWrapper ];
6 changes: 3 additions & 3 deletions pkgs/applications/misc/gnuradio/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, writeText, makeWrapper
# Dependencies documented @ https://gnuradio.org/doc/doxygen/build_guide.html
# => core dependencies
, ninja, cmake, pkgconfig, git, boost, cppunit, fftw
, cmake, pkgconfig, git, boost, cppunit, fftw
# => python wrappers
# May be able to upgrade to swig3
, python, swig2, numpy, scipy, matplotlib
@@ -32,12 +32,12 @@ stdenv.mkDerivation rec {
owner = "gnuradio";
repo = "gnuradio";
rev = "v${version}";
sha256 = "0fqxn1k41xqd52i5z528zdhkn52i9z5hl6cc75ggdx9iqxhvb3jj";
sha256 = "1qpa53axqavdv2ykby7rwh7xmhvv964xq1d7rcvbwkry7dngrbib";
fetchSubmodules = true;
};

nativeBuildInputs = [
cmake pkgconfig git makeWrapper cppunit orc ninja
cmake pkgconfig git makeWrapper cppunit orc
];

buildInputs = [
25 changes: 20 additions & 5 deletions pkgs/applications/misc/khal/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
{ stdenv, pkgs, python3Packages }:
{ stdenv, pkgs, python3 }:

with python3Packages;
let
python = python3.override {
packageOverrides = self: super: {

buildPythonApplication rec {
# https://github.com/pimutils/khal/issues/780
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
version = "2.6.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
};
});

};
};

in with python.pkgs; buildPythonApplication rec {
pname = "khal";
version = "0.9.9";

@@ -29,10 +43,11 @@ buildPythonApplication rec {
pkginfo
freezegun
];
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
checkInputs = [ pytest ];

checkPhase = ''
# py.test
py.test
'';

meta = with stdenv.lib; {
8 changes: 8 additions & 0 deletions pkgs/applications/office/kmymoney/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv, lib, fetchurl, doxygen, extra-cmake-modules, graphviz, kdoctools
, fetchpatch

, akonadi, alkimia, aqbanking, gmp, gwenhywfar, kactivities, karchive
, kcmutils, kcontacts, kdewebkit, kdiagram, kholidays, kidentitymanagement
@@ -20,6 +21,13 @@ stdenv.mkDerivation rec {
sha256 = "1c9apnvc07y17pzy4vygry1dai5ass2z7j354lrcppa85b18yvnx";
};

# Fix build with Qt 5.11.
patches = lib.singleton (fetchpatch {
url = "https://cgit.kde.org/kmymoney.git/patch/?id="
+ "e5198a902996b27bf9abde0ad24af82d55ab5dc1";
sha256 = "1h2f1xznf7343s26fh94x8n2ci0pijk5j86f24lvghawsw848316";
});

# Hidden dependency that wasn't included in CMakeLists.txt:
NIX_CFLAGS_COMPILE = "-I${kitemmodels.dev}/include/KF5";

2 changes: 1 addition & 1 deletion pkgs/applications/science/astronomy/gravit/default.nix
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;

meta = {
homepage = http://gravit.slowchop.com;
homepage = https://gravit.slowchop.com;
description = "Beautiful OpenGL-based gravity simulator";
license = stdenv.lib.licenses.gpl2;

29 changes: 3 additions & 26 deletions pkgs/desktops/gnome-3/core/tracker-miners/default.nix
Original file line number Diff line number Diff line change
@@ -7,16 +7,13 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "tracker-miners";
version = "2.0.4";
version = "2.0.5";

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

# https://github.com/NixOS/nixpkgs/issues/39547
LIBRARY_PATH = stdenv.lib.makeLibraryPath [ giflib ];

nativeBuildInputs = [
intltool
itstool
@@ -71,31 +68,11 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit (gnome3) tracker;
})
# https://bugzilla.gnome.org/show_bug.cgi?id=795573
(fetchurl {
url = https://bugzilla.gnome.org/attachment.cgi?id=371422;
sha256 = "1rzwzrc7q73k42s1j1iw52chy10w6y3xksfrzg2l42nn9wk7n281";
})
# https://bugzilla.gnome.org/show_bug.cgi?id=795574
(fetchurl {
url = https://bugzilla.gnome.org/attachment.cgi?id=371423;
sha256 = "0b2ck8z4b2yrgwg4v9jsac5n8h3a91qkp90vv17wxcvr4v50fg48";
})
# https://bugzilla.gnome.org/show_bug.cgi?id=795575
(fetchurl {
url = https://bugzilla.gnome.org/attachment.cgi?id=371424;
sha256 = "03i29fabxrpraydh7712vdrc571qmiq0l4axj24gbi6h77xn7mxc";
})
# https://bugzilla.gnome.org/show_bug.cgi?id=795576
(fetchurl {
url = https://bugzilla.gnome.org/attachment.cgi?id=371427;
sha256 = "187flswvzymjfxwfrrhizb1cvs780zm39aa3i2vwa5fbllr7kcpf";
})
# https://bugzilla.gnome.org/show_bug.cgi?id=795577
(fetchurl {
url = https://bugzilla.gnome.org/attachment.cgi?id=371425;
sha256 = "05m629469jr2lm2cjs54n7xwyim2d5rwwvdjxzcwh5qpfjds5phm";
})
];

passthru = {
@@ -114,7 +91,7 @@ stdenv.mkDerivation rec {
postInstall = ''
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
'';

# https://bugzilla.gnome.org/show_bug.cgi?id=796145
postFixup = ''
rm $out/share/tracker/miners/org.freedesktop.Tracker1.Miner.RSS.service
Loading