summaryrefslogtreecommitdiffstats
path: root/lib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 995e3dbcd..26653d96d 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -1,16 +1,16 @@
-{ pkgs, ... }:
+{ lib, ... }:
with builtins;
let
- inherit (pkgs.lib) stringAsChars;
+ inherit (lib) stringAsChars;
in
{
# "7.4.335" -> "74"
- majmin = with pkgs.lib; x : concatStrings (take 2 (splitString "." x));
+ majmin = with lib; x : concatStrings (take 2 (splitString "." x));
concat = xs :