summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/4lib/default.nix5
-rw-r--r--lib/default.nix4
2 files changed, 4 insertions, 5 deletions
diff --git a/krebs/4lib/default.nix b/krebs/4lib/default.nix
index b95564f74..3f224edd1 100644
--- a/krebs/4lib/default.nix
+++ b/krebs/4lib/default.nix
@@ -8,11 +8,6 @@ with lib;
let out = lib // rec {
- eq = x: y: x == y;
- ne = x: y: x != y;
-
- mod = x: y: x - y * (x / y);
-
guard = spec@{ type, value, ... }:
assert isOptionType type;
if type.check value
diff --git a/lib/default.nix b/lib/default.nix
index 6c607f13b..1f5010853 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -1,6 +1,10 @@
let
lib = import <nixpkgs/lib> // builtins // {
shell = import ./shell.nix { inherit lib; };
+
+ eq = x: y: x == y;
+ ne = x: y: x != y;
+ mod = x: y: x - y * (x / y);
};
in