summaryrefslogtreecommitdiffstats
path: root/modules/wu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-06-18 21:21:54 +0200
committertv <tv@krebsco.de>2015-06-18 21:21:54 +0200
commit09e2e897b5de39eed3d3c58dffeee421c388e36d (patch)
treea69e699db645f20ce436d9cc973dffd317459f96 /modules/wu
parent5f868108b5f2ec270ad36ebe60d6c84467c3b356 (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 84a8361..68475ad 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 88f2b65..4c86314 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;