Skip to content

Commit

Permalink
Re-introduce (marked as obsolete) mkStrict function, to allow old nix…
Browse files Browse the repository at this point in the history
…ops deployments to keep working.
  • Loading branch information
rbvermaa committed May 5, 2014
1 parent 66997bb commit 90a7711
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 90a7711

Please sign in to comment.