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: 16a3d75f5e47
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: 991bbef68351
Choose a head ref

Commits on Oct 18, 2019

  1. nixos/cadvisor: don't enable docker

    cadvisor has usecases that don't involve docker, and it's entirely
    unexpected for a monitoring service to enable docker.
    tilpner committed Oct 18, 2019
    Copy the full SHA
    1ae39ff View commit details

Commits on Mar 9, 2020

  1. Copy the full SHA
    c7874f0 View commit details

Commits on Mar 10, 2020

  1. vaultenv: 0.13.0 -> 0.13.1

    r-ryantm committed Mar 10, 2020
    Copy the full SHA
    660c015 View commit details

Commits on Mar 11, 2020

  1. sbcl: 2.0.1 -> 2.0.2

    ysengrimm committed Mar 11, 2020
    Copy the full SHA
    cba60a5 View commit details

Commits on Mar 13, 2020

  1. antibody: 4.2.0 -> 4.3.1

    r-ryantm committed Mar 13, 2020
    Copy the full SHA
    fb08fa0 View commit details
  2. awsweeper: 0.4.1 -> 0.6.0

    r-ryantm committed Mar 13, 2020
    Copy the full SHA
    ceee45c View commit details
  3. Merge pull request #82344 from ysengrimm/update-sbcl

    sbcl: 2.0.1 -> 2.0.2
    7c6f434c authored Mar 13, 2020
    Copy the full SHA
    ae89e0d View commit details
  4. Copy the full SHA
    423a8b9 View commit details
  5. LTS Haskell 15.3

    peti committed Mar 13, 2020
    Copy the full SHA
    beeb24f View commit details
  6. zxcvbn-hs: unmark as broken

    timds authored and peti committed Mar 13, 2020
    Copy the full SHA
    513fa25 View commit details
  7. zxcvbn-dvorak: unmark as broken

    timds authored and peti committed Mar 13, 2020
    Copy the full SHA
    c2dcdea View commit details
  8. cabal2nix: split into a lightweight version and a wrapper

    Current, the `cabal2nix` derivation contains both the executable, and a wrapper
    that adds `nix` and `nix-prefetch-scripts`, which are required for some
    features.
    
    However, when calling `callCabal2nix` to create a derivation from a cabal file
    at evaluation time,
    these features are not actually used, but the huge closure of
    `nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
    still needs to be fetched.
    
    This commit splits cabal2nix into a lightweight version that is a standalone
    static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
    dependencies in the path for full usage of the command line
    utility (`cabal2nix`).
    
    This commit also switches to the default ghc, to reduce the likelyhood of
    building a different ghc when calling `callCabal2nix`.
    madjar authored and peti committed Mar 13, 2020
    Copy the full SHA
    2645e1a View commit details
  9. Remove snap from broken packages list

    imalsogreg authored and peti committed Mar 13, 2020
    Copy the full SHA
    14f213a View commit details
  10. saltine: fix build by disabling tests

    The tests fail to compile because of a missing module but would
    otherwise be fine.
    timds authored and peti committed Mar 13, 2020
    Copy the full SHA
    720d0c7 View commit details
  11. persistent-mysql: fix build

    tests need a running mysql instance, so disable them
    jerith666 authored and peti committed Mar 13, 2020
    Copy the full SHA
    7335de2 View commit details
  12. ats-pkg: Unbreak by disabling tests

    Poscat authored and peti committed Mar 13, 2020
    Copy the full SHA
    d0eb52f View commit details
  13. Unbreak ats-format

    Poscat authored and peti committed Mar 13, 2020
    Copy the full SHA
    ef65c63 View commit details
  14. haskellPackages.EdisonCore: Unbreak

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk authored and peti committed Mar 13, 2020
    Copy the full SHA
    838c7a8 View commit details
  15. Copy the full SHA
    9bcd5ea View commit details
  16. Copy the full SHA
    68dba0d View commit details
  17. hackage-packages.nix: automatic Haskell package set update

    This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
    commercialhaskell/all-cabal-hashes@a155538.
    peti committed Mar 13, 2020
    Copy the full SHA
    eb8d577 View commit details
  18. Copy the full SHA
    d02ac6c View commit details
  19. atlantis: 0.10.1 -> 0.11.1

    r-ryantm authored and alyssais committed Mar 13, 2020
    Copy the full SHA
    afa1dc6 View commit details
  20. trilium: 0.40.3 -> 0.40.5

    kampka authored and alyssais committed Mar 13, 2020
    Copy the full SHA
    fb2b3a3 View commit details
  21. Nextcloud: 18.0.1 -> 18.0.2

    tokudan authored and alyssais committed Mar 13, 2020
    Copy the full SHA
    09dea9e View commit details
  22. python3Packages.hickle: 3.4.5 -> 3.4.6

    bcdarwin authored and alyssais committed Mar 13, 2020
    Copy the full SHA
    b5d0ffc View commit details
  23. Copy the full SHA
    0c35251 View commit details
  24. Copy the full SHA
    5c066f9 View commit details
  25. Copy the full SHA
    69d7cc5 View commit details
  26. ipfs: 0.4.22 -> 0.4.23

    Ma27 committed Mar 13, 2020
    Copy the full SHA
    c882314 View commit details
  27. wikicurses: fix build

    The package doesn't have a testsuite, but fails as the checkPhase is
    missing appropriate locale configuration (usually taken from
    `pkgs.glibcLocales`). Entirely disabling the `checkPhase` for now as
    it's basically a no-op.
    
    ZHF: #80379
    See also https://hydra.nixos.org/build/114125176
    Ma27 committed Mar 13, 2020
    Copy the full SHA
    1505633 View commit details
  28. wikicurses: install man pages

    Ma27 committed Mar 13, 2020
    Copy the full SHA
    04ea9dc View commit details
  29. python37Packages.jupyterlab: 1.2.6 -> 2.0.0

    r-ryantm authored and Jon committed Mar 13, 2020
    Copy the full SHA
    820a690 View commit details
  30. pythonPackages.bravado-core: init at 5.16.1

    vanschelven authored and Jon committed Mar 13, 2020
    Copy the full SHA
    8b04f24 View commit details
  31. Merge pull request #82345 from NixOS/haskell-updates

    Update Haskell package set to LTS 15.3 (plus other fixes)
    peti authored Mar 13, 2020
    Copy the full SHA
    2d08e57 View commit details
  32. Merge pull request #82244 from r-ryantm/auto-update/vaultenv

    vaultenv: 0.13.0 -> 0.13.1
    peti authored Mar 13, 2020
    Copy the full SHA
    f5b6ea1 View commit details
  33. afl: Fix afl-qemu build by applying new patches

    These patches are gathered from different sources,
    such as https://patchwork.kernel.org/patch/10862231/ for the
    `gettid` patch.
    Another patch comes from the issue in the AFL repository.
    The ultimate goal is to get these patches upstream as well,
    so we don't keep these general patches only within nixos.
    
    A PR is created against Google/AFL
    google/AFL#79,
    but it might take a while before it's landed, considering the history
    of the project (there are more PRs open).
    
    ZHF: #80379
    
    Fixes issue #82232
    Mindavi authored and Ma27 committed Mar 13, 2020
    Copy the full SHA
    9d212f5 View commit details
  34. mailutils: 3.8 -> 3.9

    lsix authored and alyssais committed Mar 13, 2020
    Copy the full SHA
    506be57 View commit details
  35. Revert Merge #82310: nixos/systemd: apply .link

    ...even when networkd is disabled
    
    This reverts commit ce78f3a, reversing
    changes made to dc34da0.
    
    I'm sorry; Hydra has been unable to evaluate, always returning
    > error: unexpected EOF reading a line
    and I've been unable to reproduce the problem locally.  Bisecting
    pointed to this merge, but I still can't see what exactly was wrong.
    vcunat committed Mar 13, 2020
    Copy the full SHA
    0729b8c View commit details
  36. Copy the full SHA
    e73a9e6 View commit details
  37. Copy the full SHA
    4adfbe6 View commit details
  38. Copy the full SHA
    bdcba83 View commit details
  39. Copy the full SHA
    4ada24a View commit details
  40. Copy the full SHA
    bab3588 View commit details
  41. Copy the full SHA
    4ce4db4 View commit details
  42. OCaml: default to version 4.08

    vbgl committed Mar 13, 2020
    Copy the full SHA
    7b33cbd View commit details
  43. dwarf-therapist: 41.1.3 -> 41.1.5

    Jonathan Ringer committed Mar 13, 2020
    Copy the full SHA
    29f7f30 View commit details
  44. dwarf-fortress: 0.47.02 -> 0.47.04

    Jonathan Ringer committed Mar 13, 2020
    Copy the full SHA
    c9f216d View commit details
  45. Copy the full SHA
    de36c3b View commit details
  46. antibody: set version

    marsam committed Mar 13, 2020
    Copy the full SHA
    25b7ba9 View commit details
Showing with 1,975 additions and 1,866 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +0 −8 nixos/doc/manual/release-notes/rl-2003.xml
  3. +0 −1 nixos/modules/services/monitoring/cadvisor.nix
  4. +8 −9 nixos/modules/services/networking/zerotierone.nix
  5. +31 −44 nixos/modules/system/boot/networkd.nix
  6. +18 −42 nixos/tests/networking.nix
  7. +48 −0 pkgs/applications/audio/ams/default.nix
  8. +3 −3 pkgs/applications/misc/blender/default.nix
  9. +10 −0 pkgs/applications/misc/wikicurses/default.nix
  10. +2 −2 pkgs/applications/networking/browsers/chromium/plugins.nix
  11. +5 −5 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
  12. +3 −3 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
  13. +4 −4 pkgs/applications/networking/cluster/atlantis/default.nix
  14. +7 −3 pkgs/applications/networking/ipfs/default.nix
  15. +245 −245 pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix
  16. +2 −2 pkgs/applications/networking/mailreaders/thunderbird/default.nix
  17. +0 −1 pkgs/applications/networking/mumble/default.nix
  18. +0 −457 pkgs/applications/networking/mumble/mumble-jack-support.patch
  19. +3 −1 pkgs/applications/networking/sync/unison/default.nix
  20. +3 −3 pkgs/applications/office/trilium/default.nix
  21. +3 −2 pkgs/applications/science/logic/lean/default.nix
  22. +3 −22 pkgs/applications/virtualization/virtualbox/default.nix
  23. +21 −0 pkgs/applications/virtualization/virtualbox/extra_symbols.patch
  24. +3 −61 pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
  25. +26 −26 pkgs/applications/virtualization/virtualbox/hardened.patch
  26. +38 −0 pkgs/development/compilers/binaryen/0001-Get-rid-of-git-dependency.patch
  27. +10 −5 pkgs/development/compilers/binaryen/default.nix
  28. +2 −2 pkgs/development/compilers/sbcl/default.nix
  29. +32 −3 pkgs/development/haskell-modules/configuration-common.nix
  30. +37 −42 pkgs/development/haskell-modules/configuration-hackage2nix.yaml
  31. +1,129 −624 pkgs/development/haskell-modules/hackage-packages.nix
  32. +1 −1 pkgs/development/haskell-modules/make-package-set.nix
  33. +0 −125 pkgs/development/haskell-modules/patches/git-annex-fix-build-with-ghc-8.8.x.patch
  34. +9 −1 pkgs/development/libraries/vtk/default.nix
  35. +5 −1 pkgs/development/ocaml-modules/earley/default.nix
  36. +5 −1 pkgs/development/ocaml-modules/earlybird/default.nix
  37. +1 −0 pkgs/development/ocaml-modules/ocf/default.nix
  38. +9 −17 pkgs/development/ocaml-modules/sedlex/2.nix
  39. +1 −0 pkgs/development/ocaml-modules/wasm/default.nix
  40. +2 −2 pkgs/development/python-modules/azure-mgmt-sql/default.nix
  41. +52 −0 pkgs/development/python-modules/bravado-core/default.nix
  42. +8 −3 pkgs/development/python-modules/hickle/default.nix
  43. +2 −2 pkgs/development/python-modules/jupyterlab/default.nix
  44. +2 −2 pkgs/development/tools/haskell/vaultenv/default.nix
  45. +10 −3 pkgs/development/tools/misc/inotify-tools/default.nix
  46. +1 −1 pkgs/games/dwarf-fortress/default.nix
  47. +6 −0 pkgs/games/dwarf-fortress/dfhack/default.nix
  48. +2 −2 pkgs/games/dwarf-fortress/dwarf-therapist/default.nix
  49. +14 −0 pkgs/games/dwarf-fortress/game.json
  50. +5 −0 pkgs/games/dwarf-fortress/twbt/default.nix
  51. +4 −0 pkgs/games/dwarf-fortress/unfuck.nix
  52. +16 −21 pkgs/misc/lilypond/default.nix
  53. +0 −6 pkgs/misc/lilypond/unstable.nix
  54. +2 −2 pkgs/servers/monitoring/cadvisor/default.nix
  55. +2 −2 pkgs/servers/nextcloud/default.nix
  56. +6 −6 pkgs/shells/zsh/antibody/default.nix
  57. +3 −3 pkgs/tools/admin/awsweeper/default.nix
  58. +3 −3 pkgs/tools/admin/procs/default.nix
  59. +2 −2 pkgs/tools/bootloaders/refind/default.nix
  60. +3 −3 pkgs/tools/misc/broot/default.nix
  61. +2 −2 pkgs/tools/networking/mailutils/default.nix
  62. +2 −2 pkgs/tools/networking/wireguard-go/default.nix
  63. +51 −0 pkgs/tools/security/afl/qemu-patches/syscall-glibc2_30.diff
  64. +2 −0 pkgs/tools/security/afl/qemu.nix
  65. +37 −28 pkgs/top-level/all-packages.nix
  66. +1 −5 pkgs/top-level/ocaml-packages.nix
  67. +2 −0 pkgs/top-level/python-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -6701,6 +6701,12 @@
githubId = 848812;
name = "Stephan Jau";
};
sjfloat = {
email = "steve+nixpkgs@jonescape.com";
github = "sjfloat";
githubId = 216167;
name = "Steve Jones";
};
sjmackenzie = {
email = "setori88@gmail.com";
github = "sjmackenzie";
8 changes: 0 additions & 8 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -712,14 +712,6 @@ auth required pam_succeed_if.so uid >= 1000 quiet
For further reference, please read <link xlink:href="https://github.com/NixOS/nixpkgs/pull/68953">#68953</link> or the corresponding <link xlink:href="https://discourse.nixos.org/t/predictable-network-interface-names-in-initrd/4055">discourse thread</link>.
</para>
</listitem>
<listitem>
<para>
The <link linkend="opt-systemd.network.links">systemd.network.links</link> option is now respected
even when <link linkend="opt-systemd.network.enable">systemd-networkd</link> is disabled.
This mirrors the behaviour of systemd - It's udev that parses <literal>.link</literal> files,
not <command>systemd-networkd</command>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
1 change: 0 additions & 1 deletion nixos/modules/services/monitoring/cadvisor.nix
Original file line number Diff line number Diff line change
@@ -135,7 +135,6 @@ in {

serviceConfig.TimeoutStartSec=300;
};
virtualisation.docker.enable = mkDefault true;
})
];
}
17 changes: 8 additions & 9 deletions nixos/modules/services/networking/zerotierone.nix
Original file line number Diff line number Diff line change
@@ -69,14 +69,13 @@ in
environment.systemPackages = [ cfg.package ];

# Prevent systemd from potentially changing the MAC address
systemd.network.links."50-zerotier" = {
matchConfig = {
OriginalName = "zt*";
};
linkConfig = {
AutoNegotiation = false;
MACAddressPolicy = "none";
};
};
environment.etc."systemd/network/50-zerotier.link".text = ''
[Match]
OriginalName=zt*
[Link]
AutoNegotiation=false
MACAddressPolicy=none
'';
};
}
75 changes: 31 additions & 44 deletions nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
@@ -355,14 +355,6 @@ let
};

linkOptions = commonNetworkOptions // {
# overwrite enable option from above
enable = mkOption {
default = true;
type = types.bool;
description = ''
Whether to enable this .link unit. It's handled by udev no matter if <command>systemd-networkd</command> is enabled or not
'';
};

linkConfig = mkOption {
default = {};
@@ -1053,49 +1045,44 @@ in

};

config = mkMerge [
# .link units are honored by udev, no matter if systemd-networkd is enabled or not.
{
systemd.network.units = mapAttrs' (n: v: nameValuePair "${n}.link" (linkToUnit n v)) cfg.links;
environment.etc = unitFiles;
}
config = mkIf config.systemd.network.enable {

(mkIf config.systemd.network.enable {
users.users.systemd-network.group = "systemd-network";

users.users.systemd-network.group = "systemd-network";
systemd.additionalUpstreamSystemUnits = [
"systemd-networkd.service" "systemd-networkd-wait-online.service"
];

systemd.additionalUpstreamSystemUnits = [
"systemd-networkd.service" "systemd-networkd-wait-online.service"
];
systemd.network.units = mapAttrs' (n: v: nameValuePair "${n}.link" (linkToUnit n v)) cfg.links
// mapAttrs' (n: v: nameValuePair "${n}.netdev" (netdevToUnit n v)) cfg.netdevs
// mapAttrs' (n: v: nameValuePair "${n}.network" (networkToUnit n v)) cfg.networks;

systemd.network.units = mapAttrs' (n: v: nameValuePair "${n}.netdev" (netdevToUnit n v)) cfg.netdevs
// mapAttrs' (n: v: nameValuePair "${n}.network" (networkToUnit n v)) cfg.networks;
environment.etc = unitFiles;

systemd.services.systemd-networkd = {
wantedBy = [ "multi-user.target" ];
restartTriggers = attrNames unitFiles;
# prevent race condition with interface renaming (#39069)
requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" ];
};
systemd.services.systemd-networkd = {
wantedBy = [ "multi-user.target" ];
restartTriggers = attrNames unitFiles;
# prevent race condition with interface renaming (#39069)
requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" ];
};

systemd.services.systemd-networkd-wait-online = {
wantedBy = [ "network-online.target" ];
};
systemd.services.systemd-networkd-wait-online = {
wantedBy = [ "network-online.target" ];
};

systemd.services."systemd-network-wait-online@" = {
description = "Wait for Network Interface %I to be Configured";
conflicts = [ "shutdown.target" ];
requisite = [ "systemd-networkd.service" ];
after = [ "systemd-networkd.service" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${config.systemd.package}/lib/systemd/systemd-networkd-wait-online -i %I";
};
systemd.services."systemd-network-wait-online@" = {
description = "Wait for Network Interface %I to be Configured";
conflicts = [ "shutdown.target" ];
requisite = [ "systemd-networkd.service" ];
after = [ "systemd-networkd.service" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${config.systemd.package}/lib/systemd/systemd-networkd-wait-online -i %I";
};
};

services.resolved.enable = mkDefault true;
})
];
services.resolved.enable = mkDefault true;
};
}
60 changes: 18 additions & 42 deletions nixos/tests/networking.nix
Original file line number Diff line number Diff line change
@@ -5,10 +5,11 @@
, networkd }:

with import ../lib/testing-python.nix { inherit system pkgs; };
with pkgs.lib;

let
router = { config, pkgs, lib, ... }:
with lib;
router = { config, pkgs, ... }:
with pkgs.lib;
let
vlanIfs = range 1 (length config.virtualisation.vlans);
in {
@@ -84,7 +85,7 @@ let
static = {
name = "Static";
nodes.router = router;
nodes.client = { pkgs, lib, ... }: with lib; {
nodes.client = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 2 ];
networking = {
useNetworkd = networkd;
@@ -136,7 +137,7 @@ let
dhcpSimple = {
name = "SimpleDHCP";
nodes.router = router;
nodes.client = { pkgs, lib, ... }: with lib; {
nodes.client = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 2 ];
networking = {
useNetworkd = networkd;
@@ -192,7 +193,7 @@ let
dhcpOneIf = {
name = "OneInterfaceDHCP";
nodes.router = router;
nodes.client = { pkgs, lib, ... }: with lib; {
nodes.client = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 2 ];
networking = {
useNetworkd = networkd;
@@ -231,7 +232,7 @@ let
'';
};
bond = let
node = address: { pkgs, lib, ... }: with lib; {
node = address: { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 2 ];
networking = {
useNetworkd = networkd;
@@ -267,7 +268,7 @@ let
'';
};
bridge = let
node = { address, vlan }: { pkgs, lib, ... }: with lib; {
node = { address, vlan }: { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ vlan ];
networking = {
useNetworkd = networkd;
@@ -280,7 +281,7 @@ let
name = "Bridge";
nodes.client1 = node { address = "192.168.1.2"; vlan = 1; };
nodes.client2 = node { address = "192.168.1.3"; vlan = 2; };
nodes.router = { pkgs, lib, ... }: with lib; {
nodes.router = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 2 ];
networking = {
useNetworkd = networkd;
@@ -317,7 +318,7 @@ let
macvlan = {
name = "MACVLAN";
nodes.router = router;
nodes.client = { pkgs, lib, ... }: with lib; {
nodes.client = { pkgs, ... }: with pkgs.lib; {
environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules
virtualisation.vlans = [ 1 ];
networking = {
@@ -371,7 +372,7 @@ let
'';
};
sit = let
node = { address4, remote, address6 }: { pkgs, lib, ... }: with lib; {
node = { address4, remote, address6 }: { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
@@ -413,7 +414,7 @@ let
'';
};
vlan = let
node = address: { pkgs, lib, ... }: with lib; {
node = address: { pkgs, ... }: with pkgs.lib; {
#virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
@@ -526,7 +527,7 @@ let
'';
};
};
nodes.client_with_privacy = { pkgs, lib, ... }: with lib; {
nodes.client_with_privacy = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
@@ -539,7 +540,7 @@ let
};
};
};
nodes.client = { pkgs, lib, ... }: with lib; {
nodes.client = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
@@ -602,9 +603,9 @@ let

testScript = ''
targetIPv4Table = """
10.0.0.0/16 proto static scope link mtu 1500
192.168.1.0/24 proto kernel scope link src 192.168.1.2
192.168.2.0/24 via 192.168.1.1 proto static
10.0.0.0/16 proto static scope link mtu 1500
192.168.1.0/24 proto kernel scope link src 192.168.1.2
192.168.2.0/24 via 192.168.1.1 proto static
""".strip()
targetIPv6Table = """
@@ -654,33 +655,8 @@ let
), "The IPv6 routing table has not been properly cleaned:\n{}".format(ipv6Residue)
'';
};
# even with disabled networkd, systemd.network.links should work
# (as it's handled by udev, not networkd)
link = {
name = "Link";
nodes.client = { pkgs, ... }: {
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
useDHCP = false;
};
systemd.network.links."50-foo" = {
matchConfig = {
Name = "foo";
Driver = "dummy";
};
linkConfig.MTUBytes = "1442";
};
};
testScript = ''
print(client.succeed("ip l add name foo type dummy"))
print(client.succeed("stat /etc/systemd/network/50-foo.link"))
client.succeed("udevadm settle")
assert "mtu 1442" in client.succeed("ip l show dummy0")
'';
};
};

in pkgs.lib.mapAttrs (pkgs.lib.const (attrs: makeTest (attrs // {
in mapAttrs (const (attrs: makeTest (attrs // {
name = "${attrs.name}-Networking-${if networkd then "Networkd" else "Scripted"}";
}))) testCases
48 changes: 48 additions & 0 deletions pkgs/applications/audio/ams/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ stdenv
, fetchgit
, automake
, alsaLib
, ladspaH
, libjack2
, fftw
, zita-alsa-pcmi
, qt5
, pkg-config
, autoreconfHook
}:

stdenv.mkDerivation rec {
name = "ams";
version = "unstable-2019-04-27";

src = fetchgit {
url = "https://git.code.sf.net/p/alsamodular/ams.git";
sha256 = "0qdyz5llpa94f3qx1xi1mz97vl5jyrj1mqff28p5g9i5rxbbk8z9";
rev = "3250bbcfea331c4fcb9845305eebded80054973d";
};

nativeBuildInputs = [
autoreconfHook
pkg-config
qt5.wrapQtAppsHook
];

buildInputs = [
alsaLib
ladspaH
libjack2
fftw
zita-alsa-pcmi
] ++ (with qt5; [
qtbase
qttools
]);

meta = with stdenv.lib; {
description = "Realtime modular synthesizer for ALSA";
homepage = "http://alsamodular.sourceforge.net";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ sjfloat ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/misc/blender/default.nix
Original file line number Diff line number Diff line change
@@ -17,11 +17,11 @@ let python = python3Packages.python; in

stdenv.mkDerivation rec {
pname = "blender";
version = "2.82";
version = "2.82a";

src = fetchurl {
url = "https://download.blender.org/source/${pname}-${version}.tar.xz";
sha256 = "0rgw8nilvn6k6r7p28y2l1rwpami1cc8xz473jaahn7wa4ndyah0";
sha256 = "18zbdgas6qf2kmvvlimxgnq7y9kj7hdxcgixrs6fj50x40q01q2d";
};

patches = lib.optional stdenv.isDarwin ./darwin.patch;
@@ -137,7 +137,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "3D Creation/Animation/Publishing System";
homepage = https://www.blender.org;
homepage = "https://www.blender.org";
# They comment two licenses: GPLv2 and Blender License, but they
# say: "We've decided to cancel the BL offering for an indefinite period."
license = licenses.gpl2Plus;
Loading