Author: NicolasPierron Date: Fri Sep 10 18:03:16 2010 New Revision: 23733 URL: https://svn.nixos.org/websvn/nix/?rev=23733&sc=1
Log: Add additional shortcuts frequently used in NixOS. Modified: nixpkgs/trunk/pkgs/lib/properties.nix Modified: nixpkgs/trunk/pkgs/lib/properties.nix ============================================================================== --- nixpkgs/trunk/pkgs/lib/properties.nix Fri Sep 10 17:35:13 2010 (r23732) +++ nixpkgs/trunk/pkgs/lib/properties.nix Fri Sep 10 18:03:16 2010 (r23733) @@ -309,7 +309,10 @@ # Sugar to override the default value of the option by making a new # default value based on the configuration. - mkDefaultValue = content: mkOverride 1000 content; + mkDefaultValue = mkOverride 1000; + mkDefault = mkOverride 1000; + mkForce = mkOverride 50; + mkStrict = mkOverride 0; # Make the template traversal in function of the property traversal. If # the template define a non-empty attribute set, then the property is _______________________________________________ nix-commits mailing list [email protected] http://mail.cs.uu.nl/mailman/listinfo/nix-commits
