aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-07-12 14:14:27 +0200
committertv <tv@krebsco.de>2018-07-12 14:14:27 +0200
commite8505f71ff4741156fc3ce05542dd3aa70798214 (patch)
tree1cf48da78e771a839765a566e7bbf38e32d9951f /pkgs
parent9677846bf5770f17dcc87a3fa9855343dc9248ca (diff)
lib: add isLocalTarget
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 496b8d3..d9bea4b 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -1,11 +1,5 @@
let
- lib = import ../../lib // {
- isLocalTarget = let
- origin = lib.mkTarget "";
- in target:
- target.host == origin.host &&
- target.user == origin.user;
- };
+ lib = import ../../lib;
in
{ nix, openssh, populate, writeDash, writeJSON }: let