summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-02 03:29:42 +0100
committertv <tv@krebsco.de>2016-02-02 03:29:42 +0100
commit1b67c62f15e1c92aa1ccdf392fcdfe85488e3f48 (patch)
tree6342c115307c61bb47d86386883cdf98cbb39f0c /krebs
parent8e219cd0a2446e8f141e0f2403413a9bd3f0b061 (diff)
make populate: define and pass lib to krebs/v2
Diffstat (limited to 'krebs')
-rw-r--r--krebs/v2/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/krebs/v2/default.nix b/krebs/v2/default.nix
index 78e990d1c..ac1c13e72 100644
--- a/krebs/v2/default.nix
+++ b/krebs/v2/default.nix
@@ -1,13 +1,10 @@
-{ source
+{ lib
+, source
, target-user ? "root"
, target-host
, target-path ? "/var/src"
}:
-with import <nixpkgs/lib>;
-with import ~/stockholm/krebs/4lib {
- lib = import <nixpkgs/lib>;
-};
-with builtins;
+with lib;
let
out = {
inherit populate;