From 2647605a32f36033ea567a2831dbe332978fd95b Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 16 Feb 2019 15:39:17 +0100 Subject: lib.warnOldVersion: init --- lib/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/default.nix') diff --git a/lib/default.nix b/lib/default.nix index 347830e..75086f8 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -145,6 +145,11 @@ let in filter (x: x != []) ([acc.chunk] ++ acc.chunks); + warnOldVersion = oldName: newName: + if compareVersions oldName newName != -1 then + trace "Upstream `${oldName}' gets overridden by `${newName}'." newName + else + newName; }; in -- cgit v1.2.3 From fe08236da659ff27eda98c6170fabbf981455c80 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Mar 2015 10:36:12 +0100 Subject: lib.xml: init --- lib/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/default.nix') diff --git a/lib/default.nix b/lib/default.nix index 75086f8..8ba55b5 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -9,6 +9,7 @@ let krops = import ../submodules/krops/lib; shell = import ./shell.nix { inherit lib; }; types = nixpkgs-lib.types // import ./types.nix { inherit lib; }; + xml = import ./xml.nix { inherit lib; }; eq = x: y: x == y; ne = x: y: x != y; -- cgit v1.2.3