From 3b99307f9b56da3b76a7bab3bfb6f79c4a5b0535 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 12 Feb 2020 18:45:52 -0600 Subject: [PATCH 1/5] ell: 0.27 -> 0.28 --- pkgs/os-specific/linux/ell/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/ell/default.nix b/pkgs/os-specific/linux/ell/default.nix index 5cbddac82f0..e811dc1bc38 100644 --- a/pkgs/os-specific/linux/ell/default.nix +++ b/pkgs/os-specific/linux/ell/default.nix @@ -7,14 +7,14 @@ stdenv.mkDerivation rec { pname = "ell"; - version = "0.27"; + version = "0.28"; outputs = [ "out" "dev" ]; src = fetchgit { url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git"; rev = version; - sha256 = "0pr9c4h535ggj54zfah9m3wziiwlig7r1hxpfx16s2s11ylrl9gd"; + sha256 = "1am3ghji271364vmf2w5sxskvlhh4r2mwakza7vjjph16cvsv6a7"; }; patches = [ From 5f51a18863e76f53924c1246eda31e0cac7bfe52 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 12 Feb 2020 18:45:59 -0600 Subject: [PATCH 2/5] iwd: 1.4 -> 1.5 --- pkgs/os-specific/linux/iwd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index 8e1bbd374cf..85dc6a1ba0c 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -13,12 +13,12 @@ stdenv.mkDerivation rec { pname = "iwd"; - version = "1.4"; + version = "1.5"; src = fetchgit { url = https://git.kernel.org/pub/scm/network/wireless/iwd.git; rev = version; - sha256 = "13sig2lbiyi4x74ag37gvdqx5w18w6hmq9hc1ir4a1cqqf50v61v"; + sha256 = "09viyfv5j2rl6ly52b2xlc2zbmb6i22dv89jc6823bzdjjimkrg6"; }; nativeBuildInputs = [ From 54f35e4e40c4a42982f20309d70f8279893ea73a Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 12 Feb 2020 18:54:45 -0600 Subject: [PATCH 3/5] iwd: drop systemd dep, not needed when specifying config flags too Only used to guess if systemd-y bits should be installed, which we manually specify already. So drop unneeded dep. --- pkgs/os-specific/linux/iwd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index 85dc6a1ba0c..5c7645921bc 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -8,7 +8,6 @@ , docutils , readline , python3Packages -, systemd }: stdenv.mkDerivation rec { @@ -32,7 +31,6 @@ stdenv.mkDerivation rec { ell python3Packages.python readline - systemd ]; pythonPath = [ From f9b5108d916d7e47872b8001f137afa2b099309d Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 12 Feb 2020 19:08:21 -0600 Subject: [PATCH 4/5] iwd: tests, openssl check dep --- pkgs/os-specific/linux/iwd/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index 5c7645921bc..f6e98b047df 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -7,6 +7,7 @@ , coreutils , docutils , readline +, openssl , python3Packages }: @@ -33,6 +34,8 @@ stdenv.mkDerivation rec { readline ]; + checkInputs = [ openssl ]; + pythonPath = [ python3Packages.dbus-python python3Packages.pygobject3 @@ -53,6 +56,8 @@ stdenv.mkDerivation rec { patchShebangs . ''; + doCheck = true; + postInstall = '' cp -a test/* $out/bin/ mkdir -p $out/share From ac8a92543babf3cc9c500a69d37905d286be261f Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 12 Feb 2020 19:28:34 -0600 Subject: [PATCH 5/5] iwd: drop tmpfiles snippet, services use StateDirectory already Originally added in [1], and iwd added StateDirectory to its services in [2] -- 4 days later. ("StateDirectory wasn't used when tmpfile snippet was added to NixOS") (nevermind git -> release delay) [1] 6e54e9253a28d1fe5c507b76ce45965c31ecab70 [2] upstream iwd git rev: 71ae0bee9c6320dae0083ed8c1700bc8fff1defb --- nixos/modules/services/networking/iwd.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix index 839fa48d9a4..6be67a8b96f 100644 --- a/nixos/modules/services/networking/iwd.nix +++ b/nixos/modules/services/networking/iwd.nix @@ -23,12 +23,7 @@ in { systemd.packages = [ pkgs.iwd ]; systemd.services.iwd.wantedBy = [ "multi-user.target" ]; - - systemd.tmpfiles.rules = [ - "d /var/lib/iwd 0700 root root -" - "d /var/lib/ead 0700 root root -" - ]; }; - meta.maintainers = with lib.maintainers; [ mic92 ]; + meta.maintainers = with lib.maintainers; [ mic92 dtzWill ]; }