summaryrefslogtreecommitdiffstats
path: root/modules/wu
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-18 21:21:54 +0200
committertv <tv@shackspace.de>2015-06-18 21:21:54 +0200
commit94488da95f3161bc791efa7a5c4d74ce2ebfab21 (patch)
treea69e699db645f20ce436d9cc973dffd317459f96 /modules/wu
parent15ede8a3a4e64f80416d70084d463a09286b5040 (diff)
lib/git: add irc-announce
Diffstat (limited to 'modules/wu')
-rw-r--r--modules/wu/default.nix2
-rw-r--r--modules/wu/users.nix5
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/wu/default.nix b/modules/wu/default.nix
index 84a8361af..68475ad5b 100644
--- a/modules/wu/default.nix
+++ b/modules/wu/default.nix
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
let
- lib = import ../../lib { inherit pkgs; };
+ lib = import ../../lib { lib = pkgs.lib; inherit pkgs; };
inherit (lib) majmin;
in
diff --git a/modules/wu/users.nix b/modules/wu/users.nix
index 88f2b658e..4c8631489 100644
--- a/modules/wu/users.nix
+++ b/modules/wu/users.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
let
inherit (builtins) attrValues;
@@ -194,7 +194,8 @@ let
sudoers =
let
inherit (builtins) filter hasAttr;
- inherit (import ../../lib { inherit pkgs; }) concat isSuffixOf removeSuffix setToList;
+ inherit (import ../../lib { inherit lib pkgs; })
+ concat isSuffixOf removeSuffix setToList;
hasMaster = { group ? "", ... }:
isSuffixOf "-sub" group;