Author: shlevy
Date: Sat Jul 23 18:15:55 2011
New Revision: 27910
URL: https://svn.nixos.org/websvn/nix/?rev=27910&sc=1

Log:
splashutils is already let-bound to kernelPackages.splashutils, so let's take 
advantage of it.

Modified:
   nixos/trunk/modules/tasks/tty-backgrounds.nix

Modified: nixos/trunk/modules/tasks/tty-backgrounds.nix
==============================================================================
--- nixos/trunk/modules/tasks/tty-backgrounds.nix       Sat Jul 23 01:30:36 
2011        (r27909)
+++ nixos/trunk/modules/tasks/tty-backgrounds.nix       Sat Jul 23 18:15:55 
2011        (r27910)
@@ -83,7 +83,7 @@
   ###### implementation
 
   config = mkIf config.services.ttyBackgrounds.enable (
-  mkAssert (kernelPackages.splashutils != null) "
+  mkAssert (splashutils != null) "
     The kernelPackages does not provide splashutils, as required by 
ttyBackgrounds.
     Either provide kernelPackages with splashutils, or disable ttyBackgrounds.
   " {
_______________________________________________
nix-commits mailing list
nix-comm...@cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to