summaryrefslogtreecommitdiffstats
path: root/tv/4lib/default.nix
blob: 7e6b2ab173b84a1b0c57b308d91c6e37d18d85f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, pkgs, ... }:

lib // rec {

  git = import ./git.nix {
    inherit lib pkgs;
  };

  # "7.4.335" -> "74"
  majmin = with lib; x : concatStrings (take 2 (splitString "." x));

  # TODO deprecate shell-escape for lass
  shell-escape = lib.shell.escape;
}