From 90a7711e0867248a8a543e6ce892b51967861b75 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 5 May 2014 12:29:38 +0200 Subject: [PATCH] Re-introduce (marked as obsolete) mkStrict function, to allow old nixops deployments to keep working. --- lib/modules.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules.nix b/lib/modules.nix index 017c9255246f..633b6fc05b26 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -319,6 +319,8 @@ rec { mkForce = mkOverride 50; mkVMOverride = mkOverride 10; # used by ‘nixos-rebuild build-vm’ + mkStrict = builtins.trace "`mkStrict' is obsolete; use `mkOverride 0' instead." (mkOverride 0); + mkFixStrictness = id; # obsolete, no-op mkOrder = priority: content: